Re: file format for sound
Re: file format for sound
- Subject: Re: file format for sound
- From: Bob Sabiston <email@hidden>
- Date: Mon, 08 Aug 2011 15:37:06 -0500
I'm not sure I need to go buy a book to learn the answer to this fairly simple question, do I? After slogging through all the crap necessary to get synth sound and mixed channels w/ fx playback and music simultaneously on iOS, I don't really feel like such an absolute beginner. I just am confused as to why my mp3 playback does not work with longer files, and in addition I am wondering whether a 'pure' sound format exists, where you get the samples and their sequencing all bundled up in a file.
Bob
On Aug 8, 2011, at 3:26 PM, Jim McGowan wrote:
> It sounds like you are just starting out with (game) audio, so I would recommend reading something like Audio Programming for Interactive Games by Martin D. Wilde. It covers things like MIDI vs Audio files and a few other basic concepts, so you should get a good idea of the advantages and disadvantages of each, and when it would be preferable to use one over the other.
>
> Jim
>
> On 8 Aug, 2011, at 20:05 , Bob Sabiston wrote:
>>
>> Hello,
>>
>> I am still starting with Core Audio. I was wondering if there is a file format I might use for my videogame, which encapsulates sampled sound with sequencing information to reproduce a song? I think that might be what a MIDI file does, though I am fuzzy on how samples play into it, are they/can they be included?
>>
>> Then, what tools can be used to make songs and save in that format?
>>
>> Alternatively it seems like much game sound is maybe done with aiff or mp3 if it is a longer sound, like an entire song? I have had some success with MP3 playback starting from that Mixer sample code, but those mp3's are only seven seconds long. I haven't gotten it to work with an entire 4MB song -- should I be able to do that using Audio Units on iphone? What is the best way of playing mp3 songs via Audio Units, if I have a whole Audio Graph and other sound effect channels etc?
>>
>> Thanks
>> Bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden