Is SetSoundFrequency() now for all OS?

Linux specific forum
User avatar
BasicallyPure
Enthusiast
Enthusiast
Posts: 539
Joined: Thu Mar 24, 2011 12:40 am
Location: Iowa, USA

Is SetSoundFrequency() now for all OS?

Post 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
BasicallyPure
Until you know everything you know nothing, all you have is what you believe.
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post 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
https://www.doerpsoft.org

Boost. Work. Efficiency.
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post by langinagel »

update:
same ole on PB 5.11 beta 3...
https://www.doerpsoft.org

Boost. Work. Efficiency.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post by Fred »

It's not supported on Linux
User avatar
BasicallyPure
Enthusiast
Enthusiast
Posts: 539
Joined: Thu Mar 24, 2011 12:40 am
Location: Iowa, USA

Re: Is SetSoundFrequency() now for all OS?

Post by BasicallyPure »

Fred wrote:It's not supported on Linux
OK, thanks.

BP
BasicallyPure
Until you know everything you know nothing, all you have is what you believe.
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post 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
https://www.doerpsoft.org

Boost. Work. Efficiency.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post by Fred »

Only SetFrequency()
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post 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
https://www.doerpsoft.org

Boost. Work. Efficiency.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post by Fred »

No, it's not related.
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: Is SetSoundFrequency() now for all OS?

Post 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.
https://www.doerpsoft.org

Boost. Work. Efficiency.
Post Reply