• 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: Gregory Wieber <email@hidden>
  • Date: Mon, 08 Aug 2011 16:00:12 -0700

Actually, it may be called "PlaySequence" and is OS X sample code. Someone on this list may have a link to a discussion here a while back about more recent examples, etc. But, either way you'll need to read up on the MIDI framework, and basically touch on every aspect of the Core Audio API to accomplish that -- unless there is a 3rd party library that does it all for you, but I'm unaware of any.



On Mon, Aug 8, 2011 at 3:54 PM, Gregory Wieber <email@hidden> wrote:
Then, you are going to have to look into the musicplayer example code. What you're describing is a MIDI based music player. It's not a trivial thing to construct. The correct file-format to use would really depend on the implementation you come up with.



On Mon, Aug 8, 2011 at 3:41 PM, Bob Sabiston <email@hidden> wrote:
I asked my question on the developer forums too but I am not really sure what you are referring to there.  

Yes, primarily I am wanting to play music sequences.  Like, I want to use GarageBand or some other music creation program to make a song that I like.  If I only use 5 drum hits, some guitar strings and keyboard notes, etc, then I should be able to make a song of great length and still keep the file size way down.  Whereas if I were to use MP3 or AIFF it seems like the file size would be much longer.

I am not sure what you mean by "play a sample as a way of triggering sound effects", so I think that is not something I'm trying to do.

Thanks
Bob



On Aug 8, 2011, at 5:31 PM, Gregory Wieber wrote:

There may be things in the apple developer beta area that would be of interest, but a lot of it is under NDA.

Are you trying to re-create music sequences with these files? Or are you looking to play a sampler as a way of triggering sound effects? Or both?




On Mon, Aug 8, 2011 at 3:22 PM, Bob Sabiston <email@hidden> wrote:
well, I mean pure in the sense that with GarageBand and other similar programs you typically compose songs by sequencing samples, and I was thinking that there should be a format which just consists of that data, the samples and the times they should be played.

Bob

On Aug 8, 2011, at 4:53 PM, Brian Willoughby wrote:

>
> On Aug 8, 2011, at 13: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.
>
>
> A 'pure' sound format would only include sound, not sequencing or sample information.  In other words, a bundle cannot be pure unless all of the data is of one type.  What you're describing is a hybrid of sound waveforms and sequencing, with multiple data types in a single file.  There have been such file types in the past, but they were usually custom-designed for one particular program and then adopted by one or two others.
>
> Brian Willoughby
> Sound Consulting

 _______________________________________________
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>)
 >Re: file format for sound (From: Brian Willoughby <email@hidden>)
 >Re: file format for sound (From: Bob Sabiston <email@hidden>)
 >Re: file format for sound (From: Gregory Wieber <email@hidden>)
 >Re: file format for sound (From: Bob Sabiston <email@hidden>)
 >Re: file format for sound (From: Gregory Wieber <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