Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

[live synthesis] generating sound while playing it

$
0
0

In processing I managed to generate sounds based on a float array. The way I do so is by converting the array into a WAV file, then play back the WAV file within processing. However, every time I want to change the sound being played, I have to call the following process:

  • stop playing
  • generate wav
  • play wav

If I create a smooth transition between WAV files it wont sound smooth because it suddenly stops and starts without nicely transitioning from one to another. But how??

The following I can do: have a float array collect all the float arrays changes through time and generate a WAV file afterwards, however... This doesn't allow me to play the float[] whilst creating it because only afterwards I create a WAV.

Please help


Viewing all articles
Browse latest Browse all 2896

Trending Articles