How to generate audio sample by sample in real time?
Unsolved
General and Desktop
-
Hi,
I Need to generate audio output sample by sample. For instance to generate a sinewave on left and or right channel of the headphone.
Is that possible?
Is there an example available for this?
When searching for audio, I can find how to play a sound file. But i need to be able to generate the samples my self. In real time. -
Hi,
If using Qt 5, use QAudioOutput::start and write the audio samples you generate in the device.
-
You know the audio format you use, so adapt to that one.
I don't think you can ge that I formation.