Sound formats
Monkey Forums/Monkey Programming/Sound formats
| ||
Hi. I'm a n00b. What sound formats does monkey support? Are any/all platform-dependent? Been reading the docs a bit but couldn't find anything. |
| ||
It was somewhere in the docs said that Monkey supports ogg, wav and mp3. Flash works only with mp3, and Android works with ogg, and all other good systems work with ogg of course too, because it's the best audio format. Looking at trans.monkey you can find details what audio formats are supported for each target, for example XNA is crap because it supports only wav and mp3. |
| ||
Take a look at: \Monkey\bananas\mak\audiotest It shows how to build with sound with for different platforms. |
| ||
Ah yes, that's the doc where I saw the differentiation between targets. I wonder though why it says that ogg is for Android only, since it works in HTML5 too, and probably also on GLFW. |
| ||
Ogg does not work on Safari and from what I read, I don't think it works on IE9. |
| ||
Welcome aboard Dave :) Currently there are a few sound issues with a few of the Targets. If you check out AudioTest.monkey from the samples, you can see this bit of source code: #if TARGET="flash" shoot=LoadSound( "shoot.mp3" ) tinkle=LoadSound( "tinkle.mp3" ) #else If TARGET="android" shoot=LoadSound( "shoot.ogg" ) tinkle=LoadSound( "tinkle.ogg" ) #else shoot=LoadSound( "shoot.wav" ) tinkle=LoadSound( "tinkle.wav" ) #endif Bit of a pain at the moment, having to have 3 different formats per sound... [opps didnt see Volker's post... :P] |
| ||
Yeah - a big Noob Dave! Hahaha Welcome over! |
| ||
What is the best audio format for IOS? Is it possible to Loop? |
| ||
I tried mp3, ogg, wav, caf nothing works on my Iphone. =( Well... Wav worked for me now! But playing it on the game initialization does not works. But Iphone does not support any compressed audio format? |
| ||
according to http://www.ifunia.com/iphone-column/iphone-supported-video-audio-formats.html the iPhone supports: AAC (8 to 320 Kbps) Protected AAC (from iTunes Store) HE-AAC, MP3 (8 to 320 Kbps) MP3 VBR Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+) Apple Lossless AIFF WAV |
| ||
Hey all, N00b to the platform (as of tonight) but Take a look at: \Monkey\bananas\mak\audiotest It shows how to build with sound with for different platforms. Doesn't seem to be there. Is there anything else that points to playing audio? |
| ||
Have you downloaded v31? |
| ||
whatever was sent to me via the purchase link. I'll see if I can find v31. *pause* Well that was foolish of me. There it is. Thanks all! |