Page 1 of 1

Is SetSoundFrequency() now for all OS?

Posted: Sun Feb 24, 2013 4:52 am
by BasicallyPure
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

Re: Is SetSoundFrequency() now for all OS?

Posted: Fri Mar 15, 2013 7:24 pm
by langinagel
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

Re: Is SetSoundFrequency() now for all OS?

Posted: Fri Mar 15, 2013 8:30 pm
by langinagel
update:
same ole on PB 5.11 beta 3...

Re: Is SetSoundFrequency() now for all OS?

Posted: Sat Mar 16, 2013 12:02 pm
by Fred
It's not supported on Linux

Re: Is SetSoundFrequency() now for all OS?

Posted: Sat Mar 16, 2013 5:27 pm
by BasicallyPure
Fred wrote:It's not supported on Linux
OK, thanks.

BP

Re: Is SetSoundFrequency() now for all OS?

Posted: Tue Mar 19, 2013 11:57 am
by langinagel
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

Re: Is SetSoundFrequency() now for all OS?

Posted: Tue Mar 19, 2013 12:01 pm
by Fred
Only SetFrequency()

Re: Is SetSoundFrequency() now for all OS?

Posted: Wed Mar 20, 2013 12:22 pm
by langinagel
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

Re: Is SetSoundFrequency() now for all OS?

Posted: Wed Mar 20, 2013 12:22 pm
by Fred
No, it's not related.

Re: Is SetSoundFrequency() now for all OS?

Posted: Thu Mar 28, 2013 10:09 pm
by langinagel
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.