Combining notes to get chords
Combining notes to get chords
- Subject: Combining notes to get chords
- From: Pi <email@hidden>
- Date: Wed, 1 Dec 2010 11:36:32 +0700
Hi everyone,
I have nearly finished building my iPhone app. it is called 'ChordWheel', and has the 24 major and minor chords.
each chord plays every occurrence of root, third and fifth between say C2 and C6, and fits everything under an amplitude envelope, so that playing G after C doesn't just sound like the whole thing has just been shunted up, which would be really ugly.
The problem is with performance. I am using Hollance's soundbank player, which receives a bunch of piano notes, may be a dozen spaced roughly evenly through the whole range, then reconstructs the missing notes. this player exposes a method that lets me play a given note. so I am simply playing 12 notes together every time a chord is required. This quickly exceeds the maximum polyphony of the device, or a least of the audio library I'm using.
it would make much more sense to simply create the 24 chords outside of my application, and load them in as raw wavs or something.
but how could I go about constructing chords? I guess I could somehow cut and paste something together using Audacity. but I baulk at the amount of work it would take, and the fact that that method wouldn't readily extend to say guitar samples. ie I would have to do all of the work over again. can anyone recommend a way to do this work?
I guess I could create a separate program that pulls in the raw note samples, and processes them and Outputs them. but again it is a lot of work I think.
if anyone can link me to some code that I could adapt to do this, I would be very grateful!
Sam
_______________________________________________
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