[Csnd] microtonal midi question
Date | 2012-10-20 20:14 |
From | peiman khosravi |
Subject | [Csnd] microtonal midi question |
Dear all, I'm a bit stuck here: how do I export microtonal data out of Csound to Sibelius? I don't suppose a Midi file can actually save fractional value? Thanks
Peiman
|
Date | 2012-10-20 20:28 |
From | Justin Smith |
Subject | Re: [Csnd] microtonal midi question |
Typically you need to break your composition into sets of 12-tone equal tempered notes, and apply pitch bend. Each channel has a channel-wide pitch bend (there is no per-note pitch bend value). For example with two channels, if one has a quarter step pitch bend, you can do quarter tones. With four channels and 0, 8th, quarter, and 3/4 pitch bends you can do eigth steps. So with this method you can do a minimum equal division of 32nd steps (192 equal divisions of the octave) if you use all 16 channels in this manner. That means all channels of that midi device must be allocated to a single synth. If you fully control the synthesizer doing the rendering, or the synth supports microtonal mappings, there are of course other options, but the above uses standard midi definitions (as long as you can figure out the right pitch bend for half step, quarter step, etc. for a given synth. A value of 16383 means bend as high as possible, 0 means bend as low as possible, but of course how far a synth can bend varies between synths). On Sat, Oct 20, 2012 at 12:14 PM, peiman khosravi |
Date | 2012-10-20 20:44 |
From | Michael Gogins |
Subject | Re: [Csnd] microtonal midi question |
MusicXML supports microtones in a much more natural way than MIDI. You could try exporting your Csound music as MusicXML by writing a script to translate it. Sibelius will then import the MusicXML, though I haven't tried this with microtonal MusicXML files it should work as Sibelius certainly supports microtones itself. Alternatively you can compose with microtones in Sibelius, then export the MusicXML and render it with Csound, there are several ways of doing that now. It it doesn't work as it should, I'll fix it. Regards, Mike On Sat, Oct 20, 2012 at 3:28 PM, Justin Smith |
Date | 2012-10-20 20:46 |
From | Richard Dobson |
Subject | Re: [Csnd] microtonal midi question |
On 20/10/2012 20:28, Justin Smith wrote: > Typically you need to break your composition into sets of 12-tone > equal tempered notes, and apply pitch bend. Each channel has a > channel-wide pitch bend (there is no per-note pitch bend value). For > example with two channels, if one has a quarter step pitch bend, you > can do quarter tones. With four channels and 0, 8th, quarter, and 3/4 > pitch bends you can do eigth steps. So with this method you can do a > minimum equal division of 32nd steps (192 equal divisions of the > octave) if you use all 16 channels in this manner. That means all > channels of that midi device must be allocated to a single synth. > > If you fully control the synthesizer doing the rendering, or the synth > supports microtonal mappings, there are of course other options, but > the above uses standard midi definitions (as long as you can figure > out the right pitch bend for half step, quarter step, etc. for a given > synth. A value of 16383 means bend as high as possible, 0 means bend > as low as possible, but of course how far a synth can bend varies > between synths). > The last sentence is the essential one - in writing any MIDI file you have no control at all over what the synth does. All you can specify is a dimensionless percentage pitchbend up or down. Different patches on the same synth may set a different pitch bend range. So it can only be meaningful at all if you are targetting both a specific synth and a specific patch setting (in which case, ~maybe~ you can include some custom SysEx data). Beyond that, the only available answer is that you can't export microtonal data into any MIDI format. Richard Dobson |
Date | 2012-10-20 21:06 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Thanks you very much for the replies. I think pitch bending is going to be too much hassle. I guess the only option is to look at MusicXML. Maybe a python script will do the job. This is going to be more work than I anticipated! Many Thanks
Peiman
On 20 October 2012 20:46, Richard Dobson <richarddobson@blueyonder.co.uk> wrote:
|
Date | 2012-10-21 10:55 |
From | "Jacques Leplat" |
Subject | Re: [Csnd] microtonal midi question |
Just a thought, can you use the polyphonic
aftertouch MIDI message instead of pitch bend?
|