[Implemented] More supported sound types

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

[Implemented] More supported sound types

Post by DriakTravo »

I would like to see more supported sound types than just wav when using LoadSound() PlaySound(). Like MIDI and/or Mp3 would be VERY nice. Is it possible to get streaming OGG?

(Implemented OGG and FLAC sound plugins)
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Midi's can be played at the minute natively using:

Code: Select all

LoadMovie(0, "song.mid")
PlayMovie(0, WindowID())
Also see the 'Midi.pbi' file in the include pack here: http://caosandkin.bei.t-online.de/purebasic/jaPBe/ for 'real' midi functions.

MP3's can be played at the minute natively also using:

Code: Select all

LoadMovie(0, "song.mp3")
PlayMovie(0, WindowID())
--Kale

Image
WolfgangS
Enthusiast
Enthusiast
Posts: 174
Joined: Fri Apr 25, 2003 3:30 pm

Re: More supported sound types

Post by WolfgangS »

Is it possible to get streaming OGG?
If you need streaming OGG and/or MP3 check out the Audiere For Purebasic pack.

http://www.schliess.com/audiere

MFG
WolfgangS
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
LarsG
Enthusiast
Enthusiast
Posts: 713
Joined: Mon Jun 02, 2003 1:06 pm
Location: Norway
Contact:

Post by LarsG »

WolfgangS: I get a constant not found #AUDIERE_FF_AUTODETECT on some of the examples..

-Lars

AMD Athlon XP2400, 512 MB RAM, Hercules 3D Prophet 9600 256MB RAM, WinXP
PIII 800MHz, 320 MB RAM, Nvidia Riva Tnt 2 Mach 64 (32MB), WinXP + Linux
17" iMac, 1.8 GHz G5, 512 MB DDR-RAM, 80 GB HD, 64 MB Geforce FX 5200, SuperDrive, OSX
WolfgangS
Enthusiast
Enthusiast
Posts: 174
Joined: Fri Apr 25, 2003 3:30 pm

Post by WolfgangS »

LarsG wrote:WolfgangS: I get a constant not found #AUDIERE_FF_AUTODETECT on some of the examples..

-Lars
Bug removed. Just get the fixed version ...

Thank you ...
WolfgangS
WolfgangS' projects http://www.schliess.net
Quotation of the month:
<p3hicy>oder ich hol mir so eine geile aus asien
<p3hicy>die ständig poppen will
<p3hicy>'n brötchen pro tag reicht doch
<p3hicy>die essen eh' nich so viel
DriakTravo
Enthusiast
Enthusiast
Posts: 346
Joined: Fri Oct 10, 2003 12:42 am
Location: Tampa,FL,USA
Contact:

Post by DriakTravo »

What I would like is for Mp3s and MIDIs to be supported by LoadSound and PlaySound so I can change frequencys and loop easier.
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

You can also try the PureBasic Fmod Port (viewtopic.php?t=7880). There are 8 examples (dsp, radio streaming, mod player, 3D ...). Check out the official fmod site to know more ( http://www.fmod.org )
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Post Reply