I am running into problems playing some mp3 files that are coming from a contract musician. Is there a specific mp3 setting that is NOT supported in MMF?
Printable View
I am running into problems playing some mp3 files that are coming from a contract musician. Is there a specific mp3 setting that is NOT supported in MMF?
Don't use proprietary nonsense like mp3 files, use ogg vorbis as there's no license required for supporting it.
I would use ogg, but it bloats my app by quite a bit. Unfortunately, mp3 is the native format. :(
I believe the MP3 license goes straight through Apple anyway, since it uses their decoder on the iPhone.
Does it stutter on the PC or on the device as well? I've found that certain bitrates stutter when being decoded on PC but work fine on the actual iOS device. Otherwise, try changing the bitrate, open it in another piece of software and then re-save/re-render it. I find a good way is to import it into GarageBand and then export it as a new MP3, to ensure it's fully compatible with iOS.
This problem is on the PC (I haven't exported it yet to iOS with this track being played). I actually get no sound at all from this file. In the file selector/player, it immediately stops when I press play. But I wondered if anyone knew what options might not be supported so I can avoid those in the future.
Ohh, I've had that with a few certain formats of MP3 actually. Didn't try them on iOS. Try exporting it and see if it works because MMF2's encoder is different to the iOS one.
Just a note:
OGG sounds gets converted to WAV since we don't have support for the format in the iOS runtime.
MP3 and WAV are the only formats supported. You can gain a lot of performance and use less space if you lower the quality of your WAV sounds a bit though with nearly no audible difference.
Yea. The wav files were about 7MB on disk on the PC side, but the app bloated to almost 36MB. When I switched to mp3, the size of the app dropped to about 7MB.
It seems like the sound I had issues with works on device, but still doesn't work on the PC. I'll try playing with compression settings to see if I can find the sweet spot. :/
Andos - so what's a good quality level for WAv files?
Good question, I want to know this too.....I use soundbooth to save my wav files....
Does this performance increase with quality drop count for MP3s too?
The MP3 file will be directly decoded by the internal iOS hardware decoder. I doubt that playing MP3 will have any performance penalty at all.
iPhones and iPod Touches are pretty much designed to be able to play music with the least amount of processing possible to save battery. :)
The hardware decoder is only used for the first MP3 played. If you play other MP3s at the same time, they will be decoded by software, thus impacting performances.
Francois - so is it better (performance-wise) to stop an MP3 playing on a particular channel before playing another one on the same channel, or does it not matter and only a problem if playing another MP3 on a different channel?
The previous sound playing on the channel is stopped if you play another sound on the same channel.
You should only stop it if on a different channel.
François, taking advantage of the issue, does not work the condition: "has left playing XXX audio in a specific channel", or iOS or Android, have already reported it in the other forum, take this opportunity to report it here.
Heee sorry José, I do not really understand what you say. Are you saying that the condition does not work?
Don't worry François, with my poor English, sometimes even I I understand, lol.
Does not work, the condition when you want to test a sound on a specific channel is no longer sound. For example, if the laser1 sound stopped sounding then I do an action.
Does not work if it is direct, it has been sounding "laser1" then get the following...
Just tested "Channel # is not playing" condition and it works fine.
Can you send me a mfa that shows the problem?
Thanks,
I'm now full with the launch of Call of Duty Black Ops 2, but just take a time I send you the MFA file, BTW in Android Exporter nor it works, at least in several tests that I've done.