[live synthesis] generating sound while playing it

edited September 2017 in Library Questions

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

Sign In or Register to comment.