I am developing my first synthesiser using juce.
I have run into a problem involving Buffers.
I declare a buffer of size = vector size.
When running the built application
it crashes after one run. The output sound file is created. Then
the application crashes.
[code]buffer = new float[def_vsize];
buffer = car.Proc(amp[j],freq[j]);…car.proc = class
However if i skip the buffer line and run sound out as below, the built.exe
runs all the time.
Is there a special way of dealing with these sort of buffers in Juce.
I have a version using buffers of the synthesiser without juce, no user interface,
which works fine.
Thanks in advance