umlaeute / Gem

Graphics Environment for Multimedia (official repository)
https://gem.iem.at
Other
103 stars 30 forks source link

massive additive audio syntesis example #444

Closed ch-nry closed 2 months ago

umlaeute commented 2 months ago

as a side note: you could use FLOAT for the data type (in [gemframebuffer], [pix_snap] and [pix_sig2pix~]). This way, you do not have to do weird tricks to get more than 8bit audio.

ch-nry commented 2 months ago

I never succeed getting more than 8 bit, I will try again and update the pull request

ch-nry commented 2 months ago

pix_pix2sig~: no method for 'type' I still fail getting float value..

umlaeute commented 2 months ago

[pix_pix2sig~] takes the type from the pix (which can be float, if you tell [pix_snap]).

With [pix_sig2pix~] you can set the type for the pix domain

ch-nry commented 2 months ago

test_snap_float.zip

[pix_snap]: type: GL_FLOAT [gemframebuffer]: type: FLOAT [5126]

I change the shader, but still : output is only 8 bits.