• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: file format for sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file format for sound


  • Subject: Re: file format for sound
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Mon, 08 Aug 2011 14:50:11 -0600


On 8 Aug 2011, at 14:37, Bob Sabiston wrote:

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.

MIDI files contain note/sequence data but no audio. I don't know of a file format to do what you want (back in the day games would often embed self contained 'tracker' modules for music purposes).


Stephen



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

_______________________________________________ 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
References: 
 >Re: file format for sound (From: Jim McGowan <email@hidden>)
 >Re: file format for sound (From: Bob Sabiston <email@hidden>)

  • Prev by Date: Re: file format for sound
  • Next by Date: Re: file format for sound
  • Previous by thread: Re: file format for sound
  • Next by thread: Re: file format for sound
  • Index(es):
    • Date
    • Thread