Thanks Andrew! - I am actually able to play the sound fine through sound card using the audio_sink block. It was is when I try recording it to a .wav file using the wavfile_sink block that the sounds becomes distorted. I have tired using a resampler and also tried a variety of different sample rate on the wavfile_sink, but none of them sounded normal.
gr-dsd is a vocoder block and its decoding is sort of bursty. Sometimes it seems to only take 4 input packets to equal 1 output, others it is 8 or 11. Any wise, I am wondering I am getting some form of under run. I am not getting 'aUaU' on the screen. Sometimes the sound from audio sink initially sound garbled but then becomes normal, so I wonder if it is an issue of needing to buffer up. I have tried adding in a Forecast, but it didn't help.
Any other tips would be great! - Luke I'm not sure exactly what you are doing, but some sound cards don't support very many rates, windows always re-samples to some rate supported by the card, in linux you get more direct access to sound hardware and so you can send it rates it may not like, you could add a re-sampler/sound manager like pulse to handle all this for you, worked for me with similar issues.
Andrew
|