Hi! To start of, sorry for the long post.
I am about to finish desinging a scene for the RJDJ iPhone app. Basically, the app is designed to capture a melody by singing, whistling or humming into the iphone and then playback the melody using sounds from the Trance music genre
The scene will convert the received audio into MIDI note numbers and save them to a text file.
The main goal is to then recall these MIDI note numbers and assign them to the relevant to samples.
At this point I have managed to successfully:
accept audio in
convert audio to MIDI pitch using [fiddle~]
store MIDI values in a text file
recall MIDI values from the text file and play them back through an [osc~]
The problem I have now is that i want to take a MIDI note, say 60 (Middle C) and assign this MIDI note to a supersaw sample of the same pitch.
This means that when I am recalling the MIDI numbers from the text file the samples will be played back at the correct pitch.
I have no idea how to do this. Have tested [tabread4~] but not sure what to do with it.
I would also like to point out that if there is a way of not having to make a sample for every note in a two octave scale, but rather sample one note and pitch it up and down. The please let me know.
I have included the up to date patch. If any more explanation is needed, let me know.
Again I am sorry for the long post, I know I am asking a lot but its for a Major project that is due in quite soon
Thank a lot for any help!!
LF