Commit Graph

81 Commits

Author SHA1 Message Date
aa1d44809b Transition makes more sense to new users than hardcut/softcut. Also trying to force appveyor to not break. 2020-07-29 21:46:08 +04:00
cfc1f2b169 Documentation was wrong. Hard cut is default (as it should be IMO). 2020-07-28 23:12:30 +04:00
f3e4d8609a ok let's try discord 2020-07-27 10:17:49 +03:00
758348f25a Beat sensitivity implemented (#348)
* Beat detect sensitivity fix.

* Default: 1.0

* ReadMe beat sensitivity min/max.

* Beat sensitivity from config or settings isn't initialized.

* Smarter position.

* Make PCMScale (vol_history) also impacted by beat_sensitivity.

* Enhance and clarify Hard Cuts and better separate beat sensitivity.

* Forgot one config.

* Consistency with defaults.

* Even more clear about the default for Beat Sensitivity.
2020-05-15 17:49:28 +03:00
a24dcca470 Display status (#347)
* Display some useful stats.

* Document F4 key in README
2020-05-07 23:31:44 +03:00
2eca198f26 format 2020-03-08 10:37:58 +02:00
f9895b15e9 update version, add keybindings to readme 2020-03-08 10:33:47 +02:00
bcc89d8447 readme 2019-11-16 07:37:07 +02:00
9ea9a7cc4e link to coast's 41k preset cleaned up pack 2019-11-12 04:20:23 +11:00
5214d3732f Link to 52k preset megapack 2019-11-10 10:40:05 +11:00
ede05c6596 Revert "Added backers and sponsors on the README"
This reverts commit a9bf984e54.
2019-10-25 18:35:33 -04:00
92225c9d72 Update README.md 2019-10-25 18:20:31 -04:00
d7c388859e Update README.md 2019-10-25 18:18:59 -04:00
293d8164d7 Update README.md (#250) 2019-10-13 14:35:40 +03:00
e8c3a363a3 typo correction in README.me 2019-08-18 07:19:11 -04:00
c65744b468 Update README.md 2019-07-23 09:29:21 +03:00
14f21b10bb Update README.md 2019-07-23 09:27:15 +03:00
216a7f9c7a Update README.md 2019-06-20 20:31:03 +03:00
5423d62bde Update README.md 2019-05-17 12:48:59 -04:00
cb75c39069 Update README.md
Windows link
2019-05-04 21:09:29 +03:00
219a250dcd Added VR/Multiple screen support (#201)
* Supports Multiple pass2 renderings.

My application (Silent Radiance) added projectM visualizers, but I needed support for VR.
So I added Renderer::RenderFrameOnlyPass1 and Renderer::RenderFrameOnlyPass2
This allows an offset in the screen output so the same image can be rendered twice very quickly.
I could have rendered to a buffer externally.

This is  fed into the Raylib VR in my application to add the fisheye effect.

* Added an example of the VR

* Added multiple screen renderings for VR

Added a new way of rendering that allows multiple pass2's to be done: one per screen.
This allows for a second screen output, and VR. In fact I am using this for VR where I need a left and right eye on the same screen.
In order to do this, I sometimes have to set the viewport not starting at the upper left of the screen.

Added renderFrameOnlyPass2 - and an optional pipeline can be passed - this would be a pipeline when there is a transition from one visual to another.  This can be called once per eye.

Finally, renderFrameEndOnSeparatePasses cleans up, does the fps control, statistics, etc.



This alternate rendering is as possible:
Pipeline pipeline;
Pipeline *comboPipeline;
comboPipeline = renderFrameOnlyPass1(&pipeline);

for each eye:
  renderFrameOnlyPass2(comboPipeline,xoffset,yoffset,eye);
  
Then
renderFrameEndOnSeparatePasses(comboPipeline); 
for the accounting and releasing the mutex

* Removed the duplication of code for VR.

* Removed the duplication of code for VR.
2019-04-29 01:11:18 +03:00
db4da3f1e9 Use real input on Win/SDL (#194)
* Remove FAKE_AUDIO define on Windows

* Update documentation for Windows

* Update readme info for Windows, extract building guide to BUILDING.md
2019-04-16 18:28:24 +03:00
87e16c14aa projectM Android native build (#191)
* configure script to build libprojectM with NDK

Allows to cross compile libprojectM library using
Android's toolchain for an arm target.
Tested on Ubuntu.

* Android-NDK: Build .so as well as .a

* Adjust CPPFLAGS to make the .so actually usable

* WIP: crashes in trying to link egl

* Add libEGL to linking flags, so that libprojectM.so depends on libEGL.so

* configure-ndk: set install paths

By setting prefix, libdir and datarootdir it's possible to simply do
$ ./autogen.sh
$ ./configure-ndk
$ make -j`nproc` && make install-strip

to build the library, copy it and headers to the right place, and install
all presets as Android assets for inclusion in the apk.

* Let gradle include libc++_shared.so

No need to include this manually, better to let gradle pull in the
version from the NDK toolchain in use.

* Load jniwrapper

Get boring UnsatisfiedLinkError otherwise.

* Extract and use embedded preset assets

Now ProjectM will cycle through all available presets
based on default settings.

* Add precompiled preset assets

* Don't leak existing instance when creating new one

* A few minor Android build changes: use GLESv3 instead, do not try to build SDL under NDK

* Mark GLESv3 as required.

On some rockchip devices I tested on - only v2 is supported.
projectM fails on glGetSampler calls, since those are not implemented.

* Make Activity full screen

* Android:
 - hook up basic audio
 - start on a random preset
 - switch presets on touch

* Android package rename

* Android: do not story a copy of all presets inside android app

After building the android app's dependecies using NDK,
`make install-strip` copies over the prebuilt libraries
as well as all the presets. Since they are stored in this
git repo, no need to store a copy.

I leave a few test presests in the app, in case someone
wants to try building the app without rebuilding the dependencies.
2019-04-11 16:58:30 +02:00
b7152b2b42 readme note about autogen 2019-03-14 20:56:19 +02:00
bcc372464b AX_HAVE_QT for configuring Qt compilation (#167)
* Testing using AX_HAVE_QT for configuring Qt compilation instead of pkg-config

* cleanup

* get RCC too

* try MOC without CXXFLAGS?

* need qt5-default package

* readme, unfuck pulseaudio compile

* already have ax_have_qt.m4

* fixes to add RCC to ax_have_qt
2019-03-02 21:39:38 +02:00
23d60d21a4 Makefile: qt / jack / pulseaudio (#163)
Major updates to Makefiles, please report any build time issues!
Adding/updating makefiles for Qt, Jack, and Pulseadio implementations



* detect if we have libpulseaudio, libsdl2, and qt5 and if so just enable them automatically without the user having to.

* jack support, travis build with pa/jack/qt

* pass config opts

* test

* test

* test

* don't always enable sdl

* better libsdl2 detection

* hopefully fixed qt/pulse/jack makefiles

* oops

* travis

* fix jack subdir

* jack fixup

* jack makefile

* libsdl 1 for jack

* jack builds yay (qt version)

* testqt

* readme

* let's always build test

* let's always build test

* sdl2 for travis build test

* qt is required for jack/pulse
2019-02-28 15:17:35 +02:00
9d82515a9b xcode cleanup 2019-01-01 13:27:57 +02:00
6eb8bbd172 Added backers and sponsors on the README 2018-12-24 09:13:34 -08:00
735700f5a5 Update brew packages needed for Mac OS X build 2018-12-09 14:07:00 +01:00
dd27a53889 readme, comments 2018-09-30 15:37:45 +03:00
567b6e5cdc bye glew 2018-09-22 11:52:30 +03:00
68844b7d46 Removing GLEW 2018-09-22 11:39:19 +03:00
18ad8f48a2 readme 2018-07-28 13:24:03 +03:00
b301cd8b0c fixing up GL bits and pieces 2018-06-07 10:38:10 +03:00
82c22c36f5 readme update 2018-04-09 08:34:53 -07:00
8962102c20 readme 2018-04-05 21:36:43 -07:00
21c7eb26bb readme update 2018-04-05 21:13:07 -07:00
2df0738cce Cross-platform GL include (#41)
* qt autoconf

* WIP: Qt5 makefile

* go away cmake

* testing bsd define

* readme

* replacing __linux__ with __unix__

* sdl/libGLU

* Revert "WIP: Qt5 makefile"

This reverts commit aaa44566b9.

* Revert "qt autoconf"

This reverts commit a82dae3c54.

* Revert "go away cmake"

This reverts commit 1392d5e658.

* fix amflags for m4 dir

* opengl header

* opengl header

* use one header for dealing with cross-platform GL includes

* include opengl header in dist

* fix _WIN32 (maybe?)
2018-03-12 22:20:19 +02:00
d0f22ad772 maintainer notes 2018-03-12 13:16:08 -07:00
cde9e840ae README tidy 2018-03-07 06:08:57 -08:00
c06e3b6b80 Install presets/fonts/shaders/config (#35)
* install wip

* fix data dir

* test install in travis

* install presets

* fix local install path

* adding header files to SOURCES for dist

* ignore dist pkg

* dist headers, test dist build

* travis test stuff

* include test

* build status

* formatting

* tar fix for long file names from @abramhindle
2018-03-05 14:48:02 +02:00
dc67900a15 Add link and screenshot to Silverjuke, an FOSS jukebox which is also proudly using projectM (#31) 2018-02-16 16:52:43 +02:00
8eaa232dda Use autotools to build (#27)
* remove c3d/build

* autotools start

* ignore

* autoreconf? idk

* linux/osx gcc/clang

* no glut, need glew tho

* fix test matrix

* fix linux conditional includes?

* sdl makefile am

* SDL2 m4/autoconf

* idk more m4 crap

* ignore more junk

* ug

* go away idk

* renderer makefile

* fixing SDL's broken-ass sdl2.m4 lol

* progress

* cmake go away

* full autotools build working yay

* autogen script, readme update

* fix linux ifdefs

* stuff

* fix linux -ldl

* mac sdl dep for travis

* whoops

* brewwww

* no osx gcc

* no test

* kinda working linux library build

* travis apt packages

* ignore old SDL2 for travis

* typo

* autogen for osx build readme
2018-02-09 14:25:54 -08:00
d26135d4cf updates for readmes 2018-02-02 11:30:28 -08:00
63885d5c7d using base dir for path to files 2017-09-22 11:55:07 -07:00
17029ce961 removing cruft, updating readme 2017-09-18 15:29:38 -07:00
b562535c12 ok cleaned up links 2017-07-09 11:44:47 -07:00
9bc1f450d7 linking stuff is annoying 2017-07-09 11:43:12 -07:00
c14576f637 how 2 link issue? 2017-07-09 11:39:55 -07:00
88911c14e9 todo readme 2017-07-09 11:39:23 -07:00