Topic: Correct sampling rate when listening to music

I have songs with different Sample Rate in iTunes. Am I doing it right by setting the maximum value in FireFace UFX USB Settings – 192000 Hz?

2 (edited by ramses 2024-08-04 08:59:18)

Re: Correct sampling rate when listening to music

Is this not automatically changed by the driver? If you play songs with different sample rates, is the song always played at the correct speed?
EDIT/Corrected: Check the current sample rate in the display of the UFX at the bottom, right beside "INT".

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub14

Re: Correct sampling rate when listening to music

ramses wrote:

Is this not automatically changed by the driver?

In iTunes – not automatically.

ramses wrote:

If you play songs with different sample rates, is the song always played at the correct speed?

Yep.

ramses wrote:

You can also check this in the State Overview, where the sample rate is shown in the SR column.

Where can I find this?

Re: Correct sampling rate when listening to music

I have to correct myself, I had still ADI-2 DAC in mind from another posting.
You can see the currently selected sample rate in the display of your UFX right beside INT.

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub14

Re: Correct sampling rate when listening to music

https://i.postimg.cc/PJ2mdhGw/Screenshot-2024-08-04-at-10-58-27.png

6 (edited by waedi 2024-08-04 09:38:09)

Re: Correct sampling rate when listening to music

The sample rate setting is irrelevant for playback music.

It is relevant for recording or for syncing external audio gear.

Audio-Midi-Setup and Fireface Settings share the same sample rate always and iTunes adapt to it for playing the music correctly.

Most of the music is made in 44,1kHz, I would select that.


https://i.ibb.co/g7ccypF/samplerate.jpg

M1-Sequoia, Madiface Pro, Digiface USB, Babyface silver and blue

7 (edited by ramses 2024-08-04 10:25:25)

Re: Correct sampling rate when listening to music

waedi wrote:

The sample rate setting is irrelevant for playback music.

Thats not correct. If the sample rate of music content and playback does not match, then you get the same pitch effects compareable to playing vinyl at the wrong speed of your turntable or playing a tape at the wrong speed of your tape deck.

If the selected sample rate of the recording interface does not change during playback of music content with different sample rates then this means that macOS performs internally up- or downsampling of the music content to match the sample rate of the playback hardware. Otherwise you would get pitch effects and that the music plays too fast or to slow.

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub14

Re: Correct sampling rate when listening to music

Yes that is the case, my post was for iTunes Mac.
Mac wants to avoid music fails. It's all Kinderleicht.

M1-Sequoia, Madiface Pro, Digiface USB, Babyface silver and blue

9 (edited by Pertcev 2024-08-04 12:55:11)

Re: Correct sampling rate when listening to music

Thanks, folks. Then, I'll change Sample rate in the UFX to the one that plays in iTunes; cause don't want up- or downsampling.

Mmm... Should I restart iTunes after changing Sample Rate?

Re: Correct sampling rate when listening to music

No need to restart iTunes, you even can change the sample rate during playback

M1-Sequoia, Madiface Pro, Digiface USB, Babyface silver and blue

Re: Correct sampling rate when listening to music

waedi
Thx a lot.

Re: Correct sampling rate when listening to music

You can use the Audio-Midi-Setup window for sample rate changing, the window is small and may be more comfortable on the screen.

M1-Sequoia, Madiface Pro, Digiface USB, Babyface silver and blue

Re: Correct sampling rate when listening to music

waedi wrote:

You can use the Audio-Midi-Setup window for sample rate changing, the window is small and may be more comfortable on the screen.

Copy that.)

Re: Correct sampling rate when listening to music

ramses wrote:
waedi wrote:

The sample rate setting is irrelevant for playback music.

Thats not correct. If the sample rate of music content and playback does not match, then you get the same pitch effects compareable to playing vinyl at the wrong speed of your turntable or playing a tape at the wrong speed of your tape deck.

If the selected sample rate of the recording interface does not change during playback of music content with different sample rates then this means that macOS performs internally up- or downsampling of the music content to match the sample rate of the playback hardware. Otherwise you would get pitch effects and that the music plays too fast or to slow.

Indeed Core Audio does resample (like WDM), so Waedi's statement is correct here..

The sample rate setting doesn't have to be "correct", and higher sample rate settings won't improve the quality.

Regards
Daniel Fuchs
RME

Re: Correct sampling rate when listening to music

RME Support wrote:
ramses wrote:
waedi wrote:

The sample rate setting is irrelevant for playback music.

Thats not correct. If the sample rate of music content and playback does not match, then you get the same pitch effects compareable to playing vinyl at the wrong speed of your turntable or playing a tape at the wrong speed of your tape deck.

If the selected sample rate of the recording interface does not change during playback of music content with different sample rates then this means that macOS performs internally up- or downsampling of the music content to match the sample rate of the playback hardware. Otherwise you would get pitch effects and that the music plays too fast or to slow.

Indeed Core Audio does resample (like WDM), so Waedi's statement is correct here..

The sample rate setting doesn't have to be "correct", and higher sample rate settings won't improve the quality.

He should have added "in macOS". The statement alone without that irritated me.

BR Ramses - UFX III, 12Mic, XTC, ADI-2 Pro FS R BE, RayDAT, X10SRi-F, E5-1680v4, Win10Pro22H2, Cub14

16 (edited by DanRand 2024-08-07 21:17:39)

Re: Correct sampling rate when listening to music

fyi, Apple Music/iTunes uses an AUHAL-type Output plugin/wrapper to interface with audio hardware.


AUHAL Output plugins have a built-in AudioConverter that does sample rate conversion (SRC) if necessary.  The AUHAL plugin that iTunes uses will track any changes to the device's sample rate, default output device etc.


The CoreAudio HAL itself is not involved in any SRC (apart from with Aggregate devices).  Indeed, the HAL has no idea what sample rate the audio files are inside iTunes.  The HAL only knows what the sample rate of the audio device is.

Logic 10.7.2 - macOS Monterey 12.7.5
HDSPe Digiface via ExpressCard Adapter
Fireface UFX III & UCX I