-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All audio modulators: input from "mic" is seriously distorted #43
Comments
Noticed a few things:
|
In the modulators pullAudio overloaded virtual method:
m_interpolatorDistance is calculated as the audio rate (48000) divided by the desired sample rate BEFORE integer interpolation. So this does not take into account the integer interpolation. This method is called only when pulling audio from the input source. |
Yes thatś it. A quick test with a baseband sample rate of 100 kS/s and factor hard divided by 2 gives correct audio. The problem is to get the baseband sample rate at channel plogin level. |
Fixed with v3.5.4 |
This applies to all audio modulators that is as of now: AM, NFM, WFM, SSB/DSB
The input from the sound input device (turned on with the "mic" icon button) is very very distorted. It looks like the waveform is modulated (when looking at the enveloppe in AM for example). This may indicate a problem with the interfacing with the QAudioDevice in AudioInput class. The bytes seems not to be put in the correct order.
Using the same mic device and recording to a file played back in the modulator gives a correct audio. So it is not an issue with the mic.
The text was updated successfully, but these errors were encountered: