I just noticed the AnalogOut thingy, and I wonder, what’s the max number of samples that can be sent, and the maximum sample-rate?
AnalogOut…::…Set Method (array[][], Int32, Int32, Int32)
Another question. Could I have multiple threads sending values to the same analog out pin, or, since its blocking, I have to “mix” a bunch of values and send with a smaller buffer?
I was wondering a very simple thing, a timer that would call AnalogOut with, lets say 512 samples, at a determinate period of time. Another thread would mix multiple WAV files into the buffer to be played by the timer.
But, since .NET is not realtime, it could get a delay on calling the timer… in that case, a hardware buffer would be needed, a CODEC that I could fill its buffer in a very irregular way…
Just brainstorming mostly.
Wk