Make fft work #1

Merged
goliath merged 3 commits from tyrolyean/shadermeh:master into master 2022-11-09 20:48:05 +01:00

3 Commits

Author SHA1 Message Date
tyrolyean 12396a8bb0
Add more audio shaders
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
2022-07-20 23:45:51 +02:00
tyrolyean 664f8d0305
Make fft work, add sample rate to stabilize waveform
This adds a sliding window buffer approach to the audio sample data as well as
force the user to set the sampling rate of the input data. This was needed to
stabilize fft output to a usable degree. Also the fft output is now in db, which
makes it a lot better to look at.

Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
2022-07-20 23:43:41 +02:00
tyrolyean b2fa322e30
Set c standard to c11
Signed-off-by: tyrolyean <tyrolyean@tyrolyean.net>
2022-07-20 23:43:00 +02:00