[PD] Natty SPDIF samplerate 44.1k / 48k problem (OSS) - Problem solved!

Ingo ingo at miamiwave.com
Thu Nov 10 19:40:10 CET 2011


Problem solved!

There is a switch at the soundcard mixer (I'm using "gamix") that is labeled
"PCM Default Playback Switch".

- If "OFF" it will set the soundcard to 48k - always (OSS default).
- When set to "ON" it will follow the software's sample rate.

So, recalling a mixer preset with this switch set to "ON" and changing the
desired sample rate via Pd's audio dialog afterwards does the trick.

Since the sample rate is output at start up of Pd the audio dialog needs to
be set once more after recalling the mixer preset or the audio mixer preset
needs to be loaded before Pd starts.

Ingo


> -----Ursprüngliche Nachricht-----
> Von: pd-list-bounces at iem.at [mailto:pd-list-bounces at iem.at] Im Auftrag von
> Ingo
> Gesendet: Donnerstag, 10. November 2011 17:34
> An: 'IOhannes m zmoelnig'; pd-list at iem.at
> Betreff: Re: [PD] Natty SPDIF samplerate 44.1k / 48k problem (OSS)
> 
> > > On 2011-11-10 13:10, 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).
> >
> > i was going to say: you can change the samplerate of Pd to 48kHz using
> > the Media->Audio menu. it will magically shorten each sample from
> > (1/44.1)ms to (1/48)ms, so you don't need to worry about that.
> >
> > but then, maybe you meant your soundfiles?
> >
> > fgamsdr
> > IOhannes
> 
> Yep, I was talking about the soundfiles. It's a sample player synth.
> Changing the samplerate of Pd will detune all instruments.
> 
> The funny thing is that my older mainboard simply accepted the sample rate
> from Pd. The new one doesn't. So it looks like it needs to be set up
> before
> Pd gets started. This has to be stored within a file somewhere.
> I've read somewhere that OSS defaults to 48k. So it might actually be the
> absence of a configuration file which makes it a bit more difficult to
> find.
> 
> Analogue outs work normally. Although I suspect there is resampling going
> on
> inside the soundcard. It's a realtek. They tend to do stuff like that.
> 
> Ingo




More information about the Pd-list mailing list