Page 1 of 1
OGG sound problem!!
Posted: Thu May 08, 2003 8:51 am
by Cor
If I want to catchsound or play a OGG sound which is about 1,7 MB in size the program doesn't react.
I did the test with the SoundPlugin demo which comes with PureBasic.
Small OGG sound files are not a problem.
Posted: Thu May 08, 2003 10:12 am
by Pupil
It may take a while to decode a 1.7 MB OGG file as PB decodes it all in one go... Or it can be something else...
Posted: Thu May 08, 2003 11:16 am
by Cor
After loading a relative big OGG sound file 1162 KB (small song)
It took more than 3 minutes to decode
That was the problem.
So I guess that only very small sound file are useable.
So this sound format is unuseable
Win98se
Posted: Thu May 08, 2003 8:22 pm
by WolfgangS
Cor wrote:After loading a relative big OGG sound file 1162 KB (small song)
It took more than 3 minutes to decode
That was the problem.
Decoding isn´t "on the fly"
Cor wrote:
So I guess that only very small sound file are useable.
So this sound format is unuseable
MFG

WolfgangS
Posted: Fri May 09, 2003 8:28 am
by Fred
It's not because the file size is relatively low, than it will load quickly. OGG and MP3 are heavily encoded and need a lot of time to be decoded complety (and need a lot of memory). The OGG catch sound format was intented for small sounds, like sound effects which takes a lot of disk space if you want a nice quality. CatchSound will never support streaming BTW.
Posted: Fri May 09, 2003 12:36 pm
by THCM
Hi Fred!
Never is an ugly word. To have Ogg streaming support we have to buy Fmod? Or is someone here capable of writing a small library? The Ogg sources are free.
Does anybody know a good and free solution to play music in Purebasic? With mxmplay I can only use one song (perhaps more using play-position). Midas, Fmod and Bass are not free for use in commercial productions.
The Playsound command is okay for simple soundeffects, but for playing music and other things it's not a mature solution.
Yours
Posted: Fri May 09, 2003 1:05 pm
by Danilo
> Midas, Fmod and Bass are not free for use in commercial productions.
If you make a commercial application, you make money with it.
So hey... whats the problem?
FMOD is $100 only for a shareware program you sell and it is
free if you write software that nobody wants to pay for (freeware).
I really dont understand you guys... wanna write commercial
software but not spend some bucks.
You will never ever make real big bucks if you dont invest before...
And dont forget: You can use it for free for all your software
you dont sell.
Games, sound programs, everything... free for freeware.
Posted: Fri May 09, 2003 1:27 pm
by Fred
I've said never for CatchSound(), but I will add streaming for a regular PlaySound(). I will see.
Posted: Fri May 09, 2003 2:57 pm
by THCM
I only have a problem paying for something, when there's no need for it! Purebasic functions are nearly there, so why buy anything else? I think it's easier to live with those functions on board and not pasting and patching lots of things together!
Here's a small list of Software I own the original of:
Photoshop 7.0, Macromedia Studio MX, Newtek Lightwave 7.0, Purebasic, Darkbasic Pro and nonPro, Blitzbasic 2D and 3D, Veritas BackupExec, some MS Windows and Office originals..... and many, many more not listed!!!
As you can see 100 Bucks is no problem for me.... but who said, that I want to releases my game as shareware?
Yours