I develop applications for Mac and Windows with Xojo. I add sounds in my project in order to play them. I choose (it’s in French, I don’t know the english words):
It works very well and I never received any problem reported from my users.
Except yesterday, someone wrote me:
Sync2Folders can't stream the audio beeps @96 kHz to firewire audio ( Motu interface @ 96 kHz )
and takes forever...
If I switch audio out on the Mac ( system audio orefs ) from firewire Motu
to Mac headphone out ( also @ 96 kHz )
Sync2Folders works as should...
Must be a problem streaming in 96 kHz to firewire ?
I don’t know what is a Motu interface neither than fireware.
Which sounds format do you use in your applications Mac and Windows?
I openned the Xojo contents folder to see which one it use but I didn’t find any sound.
This tends to indicate the user is having a specific sound output device (like an USB device or so). It appears that device has trouble playing at the frequency of 96 KHz, which also sounds a strange value to me.
Are you just playing the sound with Sound.Play or are you rather using a specific player and changing the sample rate?
Thank you for yours answers. I still don’t understand why he says he has trouble with frequency 96 kHz as when I get info for my sounds with QuickTime or Amadeus Pro it tell me the sounds are 44,1 kHz.
Here are my sounds.zip.
I will write him again.
Edit: Yes I just play the sound with the command MySound.Play.
As my actual version is not notarized (the next will be), I explained him how to modify the sounds inside the package. He has to save them as WAV (same extension as originals sounds). I hope he will answer me if some frequency work.
The problem is completely on the user’s side here if all you are using is Sound.Play. The user should not have to modify the files, nor should you have to provide files in some specific sample rate. The user has to select the right sample rate for output to his hardware in the macOS AudioMIDI Setup application, that’s all.