Thanks Roman,
but no - the soundcard supports up to 192k sampling rate and I do get it to playback at 44.1k every once in a while. When I switch PCM on/off a couple of times all the sudden it starts working correctly. I can see it on my RME-HDSP. It shows 48k at startup with no sound and after switching it on an off and resetting the samplerate in Pd a number of times it picks up the correct sample rate. The HDSP shows 44.1k and there is sound. So it does support 44.1k.
The question is: How do I set this samplerate at system startup in Natty? I just read about a way how to do it in OSS4 but I'm still using the older OSS ( OSS 3 ? ) because of the MIDI support.
Ingo
Hi Ingo
On Thu, 2011-11-10 at 13:10 +0100, Ingo wrote:
Hi everybody,
I need some help about sample rate settings.
I would like to use my SPDIF Out with Pd. Unfortunately it looks like
either
the soundcard or the audio system (OSS) starts up with 48,000 Hz while
Pd is
set to use 44,100 Hz (that's necessary because of the samples being at 44.1k).
Does anybody know where or how I can set the PCM sample rate to match
Pd's
sample rate?
None of the soundcard mixers I was checking have an option to set the
sample
rate and I don't know where the OSS files are located.
I don't know about your soundcard, but many (cheap) soundcards only support 48kHz. You probably won't notice it with ALSA, since ALSA is capable of resampling the sound before pushing it to the card, but if you really are using old-school OSS, I think there is no way to resample.
Just in case, you're sound card really only supports 48kHz, would resampling your audio files be an option? At least then you have some control over the resampling quality.
Roman