44100 vs 48000 Hz

Started by Couin,

Couin

Hi :)

A user has a complex setup and have dropouts with its setup @48kHz but fine @44.1 kHz
QuoteMy system is kinda complex, I am running Traktor 4, Whatsapp, JP and 3 sessions of Reaper(DAW) all interconnected via IP.
Therefore my overall settings are all set to the same sampling rate, I am using 48.000.

More often I have experienced problems like that which was mostly caused by different sampling rates or clock drift.
One of my Reaper session is connected to ASIO4ALL which handles all of my VACs.
So I changed the sampling rate from 48.000 to 44.100 and JP is now playing without problems!
Seems like JP has a problem with 48.000.
(Honesty, I have some difficulties to imagine and understand its setup, whitout a shchematic).
JP is my app.
Its Windows is 10.
I BASS_Init @44100, but (I dont retreive the message where I red this), BASS does not matter of 44100 since Vista but take in account the audio device configuration. So if I understand well, even setting 44100 in BASS_Init, it should work @48000, am I right ?

It looks came since I implented mixers/splitters to add microphone input and splitted outputs. I can not reproduce any dropouts she encounter  :(

Can you confirm me that freq in BASS_Init has no importance since Vista ?
And if yes, Is there something that could cause dropouts?

Thanks :)

Ian @ un4seen

Yes, the BASS_Init "freq" parameter will have no effect on real device output (still does on the "No Sound" device) on Windows Vista and above. You can confirm what the actual output rate is with BASS_GetInfo (see the BASS_INFO "freq" value).

Regarding the dropouts, what type of stream(s) are you playing, and is there only one or multiple streams when the problem happens? If multiple, are all affected? You could try setting BASS_SYNC_STALL syncs on all of them (via BASS_ChannelSetSync) and see which (if any) get triggered when the problem happens.

Couin

Hi Ian,

Thanks for answer.
Also, for mixers, I init a No Sound device ( Call BASS_Init(0, 44100, 0, 0, 0) ), and BASS_Mixer_StreamCreate @44100 too.
Will this ressample played files (BASS_StreamCreateFile) to 44100 ?

 
I will ask to my user about dropouts. I thinks she uses mp3/wav files.

Ian @ un4seen

The "No Sound" device's sample rate only applies to its output mix, which is available via a STREAMPROC_DEVICE stream. So it doesn't look like that would affect your case, but a 44100hz mixer will resample its sources to 44100. Perhaps you could try using a 48000 mixer instead and see if that helps?

Couin

Hi Ian,

Thanks :)

I added a dropdown menu to choose the sample rate to apply (for the next start) to "No Sound" device and Mixers.
I will make the exe and send to the user to test.

Just 3 minors questions:
- If I init "No Sound" device @44.1 kHz and Mixers @48 kHz, which samplerate will be really applied to the mixers outputs (sent to soundcards)?
- Is there a max sample rate? I purposed up to 96 kHz. I know there is also 192 kHz (but who really need this, even 96 kHz, for just playing jingles lol), will 96 kHz be applied?
- Is it possible to change the  "No Sound" device and Mixers freq "on the fly", I mean, without having to restart the app? If yes, will this remove all added channel and splitted outputs?


About the "stuff" dll (2.4.17.47), the user reported me that dropouts gone, I asked if she tested @48 kHz or 44.1 (its Virtual Cable configuration), I wait here feedback.

What has been changed between 2.4.17.0 and .47 ? Is this version stable, to provide with my app?