Before 5.10 SetSoundFrequency(), previously called SoundFrequency(), was only for windows.
Now 'help' lists it as for all OS.
When I try to use it with Linux (Ubuntu 12.10 x64) and PB 5.10 I get a 'Linker' error.
Using an earlier version of PB it is simply ignored.
BP
Is SetSoundFrequency() now for all OS?
- BasicallyPure
- Enthusiast

- Posts: 539
- Joined: Thu Mar 24, 2011 12:40 am
- Location: Iowa, USA
Is SetSoundFrequency() now for all OS?
BasicallyPure
Until you know everything you know nothing, all you have is what you believe.
Until you know everything you know nothing, all you have is what you believe.
- langinagel
- Enthusiast

- Posts: 131
- Joined: Fri Jan 28, 2005 11:53 pm
- Location: Germany
- Contact:
Re: Is SetSoundFrequency() now for all OS?
Maybe this is related, maybe not...
I liked to see what I could test about the SetSoundFrequency() command and found no application program in the help.
Bad luck. The program ""Sound.pb" in the example folder seemed to give me first aid.
Now:
Sound.pb compilation went on good in debug mode. But:
Using a .wav-file that was exported from MP3 by Audacity lead to "the debugger program ends abruptly"/ memory error / debugger able to end the program.
Using a .wav-file that was recorded by Audio recorder lead to memory error / debugger not able to end the program.
Result: no way to get forward to the SetSoundFrequency() command.
Ubuntu 12.04, PB 5.10 x86, checkinstall reports ok, Sound works brilliantly with totem.
Greetings
LN
I liked to see what I could test about the SetSoundFrequency() command and found no application program in the help.
Bad luck. The program ""Sound.pb" in the example folder seemed to give me first aid.
Now:
Sound.pb compilation went on good in debug mode. But:
Using a .wav-file that was exported from MP3 by Audacity lead to "the debugger program ends abruptly"/ memory error / debugger able to end the program.
Using a .wav-file that was recorded by Audio recorder lead to memory error / debugger not able to end the program.
Result: no way to get forward to the SetSoundFrequency() command.
Ubuntu 12.04, PB 5.10 x86, checkinstall reports ok, Sound works brilliantly with totem.
Greetings
LN
- langinagel
- Enthusiast

- Posts: 131
- Joined: Fri Jan 28, 2005 11:53 pm
- Location: Germany
- Contact:
Re: Is SetSoundFrequency() now for all OS?
update:
same ole on PB 5.11 beta 3...
same ole on PB 5.11 beta 3...
Re: Is SetSoundFrequency() now for all OS?
It's not supported on Linux
- BasicallyPure
- Enthusiast

- Posts: 539
- Joined: Thu Mar 24, 2011 12:40 am
- Location: Iowa, USA
Re: Is SetSoundFrequency() now for all OS?
OK, thanks.Fred wrote:It's not supported on Linux
BP
BasicallyPure
Until you know everything you know nothing, all you have is what you believe.
Until you know everything you know nothing, all you have is what you believe.
- langinagel
- Enthusiast

- Posts: 131
- Joined: Fri Jan 28, 2005 11:53 pm
- Location: Germany
- Contact:
Re: Is SetSoundFrequency() now for all OS?
Sorry, not clear for me.
Is only SetSoundFrequency() not supported under Linux or
is the Sound library in general not supported under Linux?
Cheers
LN
Is only SetSoundFrequency() not supported under Linux or
is the Sound library in general not supported under Linux?
Cheers
LN
Re: Is SetSoundFrequency() now for all OS?
Only SetFrequency()
- langinagel
- Enthusiast

- Posts: 131
- Joined: Fri Jan 28, 2005 11:53 pm
- Location: Germany
- Contact:
Re: Is SetSoundFrequency() now for all OS?
Ok, thanks.
Then I have check what is wrong with Purebasic on my PC.
One thing: unixodbc has not been installed.
Could that be the reason?
Cheers
LN
Then I have check what is wrong with Purebasic on my PC.
One thing: unixodbc has not been installed.
Could that be the reason?
Cheers
LN
Re: Is SetSoundFrequency() now for all OS?
No, it's not related.
- langinagel
- Enthusiast

- Posts: 131
- Joined: Fri Jan 28, 2005 11:53 pm
- Location: Germany
- Contact:
Re: Is SetSoundFrequency() now for all OS?
Strange...
Now I tested Sound.pb, AudioCD.pb and SoundPlugin.pb. Guess what: no sound at all.
AudioCd worked without problems but also without sound.
The other two have the already described errors.
I use Gnome3 and ALSAMixer...everything works fine but not Purebasic code.
Is this a bug or my PC or just me?
Greetings
LN
*dazed & confuzed*
update:
I have installed via Symantic *ALL* packages that are SDL and -dev. Errors do not show up, but no sound as well.
another update:
a better ripped CD provided a better wav. Now Music is in the air(HOOORAY!!)! But: still no sound with AudioCD.pb running.
Now I tested Sound.pb, AudioCD.pb and SoundPlugin.pb. Guess what: no sound at all.
AudioCd worked without problems but also without sound.
The other two have the already described errors.
I use Gnome3 and ALSAMixer...everything works fine but not Purebasic code.
Is this a bug or my PC or just me?
Greetings
LN
*dazed & confuzed*
update:
I have installed via Symantic *ALL* packages that are SDL and -dev. Errors do not show up, but no sound as well.
another update:
a better ripped CD provided a better wav. Now Music is in the air(HOOORAY!!)! But: still no sound with AudioCD.pb running.
