« Return to Thread: Using a SampleQueueOutputStream with variable rate sample reader.

Re: Using a SampleQueueOutputStream with variable rate sample reader.

by marmadoc :: Rate this Message:

Reply to Author | View in Thread

OK, I found what the problem was: it all still boils down to a timing issue.

marmadoc wrote:
Does anyone know whether it is possible to connect a SampleQueueOutputStream to the sample port of a sample reader having a different frame rate?
Yes, this is possible, and it works.  However, this brings me to my actual problem.

Processing non-real-time is not a problem when all the inputs originate inside the synthEngine, but how should it be handled for example when writing to the said SampleQueueOutputStream from a file.

Reading from the file is slower than the possible processing speed, which results in buffer underruns.

So my question: Is there a way (and if so, how) to control the speed of the synthEngine while processing in non real-time (or at least to let it wait for slower inputs)?

Thanks,
Etienne.



 « Return to Thread: Using a SampleQueueOutputStream with variable rate sample reader.