The new sound lib sounds great (on Mac)! No more scratching and stuttering! I have removed the BASS library from my projects with sound and I use the PB internal sound lib now. But some sounds are played incorrectly, example a beep sound with 11.025 Hz:
infratec wrote: Sat Jan 13, 2024 7:52 pm
You know that your beeb.wav is a square wave
Square waves sounds always 'distorted'.
Try a beep.wav with a sine wave instead.
Btw. I used Audacity to inspect the file. You can also create a sine wave file with it.
It must be a square wav (to "emulate" old computer music, I play it with different frequencies in a sequencer like program, build with PB). If I play the file with VLC or Audacity or with the BASS library I can hear a clean and smoth "beep" sound, but with PB I hear a screeching noise...
PS: Is it the Infratec on Gostritzer Str.? I worked in the same building...
Last edited by Lebostein on Sat Jan 13, 2024 8:07 pm, edited 3 times in total.
The sound file may have been in an invalid format that not all players tolerate. After loading and saving the sound with Audacity in the same format, the problem with PB no longer occurs...
Piero wrote: Sat Jan 13, 2024 11:15 pm
Am I dreaming? A PB programmer wishing he had a Mac? NO WAY!
I need to write programs cross platform for all 3 OSs.
So at work I have also access to some Apples.
But I prefer my daily Granny Smith at the first break