Yeah well that is why I was asking if it already existed, because I don't want to write it! :) Realistically I will probably just go with the AudioFilePlayer that Jim MCGowan described.
So, yes. I don't know sh*t about sound or audio it seems, but from what little I pretend to understand, what I am describing does not sound so freaking preposterous. Maybe it is, though. Sound programming is a weird wild place compared to graphics programming, to me. Bob
On Aug 8, 2011, at 5:54 PM, Gregory Wieber 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
|