Re: [Csnd] microtonal midi question
Date | 2012-10-21 00:51 |
From | pj@pjb.com.au |
Subject | Re: [Csnd] microtonal midi question |
Hi. Peiman wrote: > I don't suppose a Midi file can actually save fractional value? Richard Dobson wrote: > 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). It's not quite so dire: there is a Registered Parameter (number 0) which sets the pitch-bend range; default is -2..+2 semitones. http://www.pjb.com.au/muscript/gm.html#cc To set a Registered Parameter, first send controllers 101 and 100 with the required Number, then send controllers 6 and 38 with the two bytes of data, then send controllers 101 and 100 with the numbers 127. Some useful Registered Parameters are: Pitch Bend Sensitivity: cc101=0, cc100=0, cc6=0..24 semitones, cc38=0, cc101=127, cc100=127 Midi is not a natural medium for microtonal work (the pitch-wheel works at the whole-of-channel level not at the note-level; you can slide around one pitch, but not from one pitch to another (except by portamento: cc=5,37,65,84); -8192 to 8191 is not smooth enough for sliding across a large frequency-range, etc.) Peiman wrote: > how do I export microtonal data out of Csound to Sibelius? The question "why" is off-topic, but it's probably the key... Regards, Peter Billam http://www.pjb.com.au pj@pjb.com.au (03) 6278 9410 "Follow the charge, not the particle." -- Richard Feynman from The Theory of Positrons, Physical Review, 1949 |
Date | 2012-10-21 11:22 |
From | Richard Dobson |
Subject | Re: [Csnd] microtonal midi question |
On 21/10/2012 00:51, pj@pjb.com.au wrote: > Hi. > > Peiman wrote: >> I don't suppose a Midi file can actually save fractional value? > > Richard Dobson wrote: >> 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). > > It's not quite so dire: there is a Registered Parameter (number 0) > which sets the pitch-bend range; default is -2..+2 semitones. > http://www.pjb.com.au/muscript/gm.html#cc That's a good point - I had completely forgotten about RPNs (perhaps because as your example shows they are relatively clunky to program). The restriction to a mono stream per channel remains; and unless that channel is set to mono mode as well, there will still be problems when notes overlap (e.g given a long release stage), so that it is still not an entirely practical solution. Interestingly, there does appear to be a relatively recent addition called the MIDI Tuning Standard; targetted primarily at alternative temperaments, but it looks as if it can be defined per-note over the whole range: http://www.midi.org/techspecs/midituning.php Unsurprisingly, it involves SysEx. It also remains to be seen how widely this is supported. It would be easier to keep up to date with MIDI if one did not have to pay a non-trivial amount of real money to buy the official spec! Richard Dobson |
Date | 2012-10-21 11:31 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Thank you. Actually I'm not bothered about playing back the midi data. What I would like is automatic conversion of a bunch of spectral structures to notated chords, approximated to the nearest eighth tone. I could probably used PWGL or openmusic but I don't want to complicate things. It doesn't have to be Sibelius either. But what's important is for the microtonal accidentals to show in Sibelius (I assume using pitch bend won't do this?).
Thanks Peiman On 21 October 2012 11:22, Richard Dobson <richarddobson@blueyonder.co.uk> wrote:
|
Date | 2012-10-21 11:59 |
From | "Jacques Leplat" |
Subject | Re: [Csnd] microtonal midi question |
Agreed the MIDI spec is not "cheap". But if you're seriously into the bits and bytes of MIDI, it is worth it. The detailed spec you might get away without. The midi file spec though, is invaluable if you plan to manipulate the files yourself. The documents do have a long lifespan, I bought mine in 1990, and they're still relevant. The www.midi.org site publishes the updates to the spec, so I keep up quite easily, and for free. All the best, Jacques ----- Original Message ----- From: "Richard Dobson" |
Date | 2012-10-21 12:26 |
From | Richard Dobson |
Subject | Re: [Csnd] microtonal midi question |
On 21/10/2012 11:31, peiman khosravi wrote: > Thank you. Actually I'm not bothered about playing back the midi data. > What I would like is automatic conversion of a bunch of spectral > structures to notated chords, approximated to the nearest eighth tone. > > I could probably used PWGL or openmusic but I don't want to complicate > things. It doesn't have to be Sibelius either. But what's important is > for the microtonal accidentals to show in Sibelius (I assume using pitch > bend won't do this?). > I have no idea about Sibelius, but if that doesn't work, you may be able to do it using Lime: http://www.cerlsoundgroup.org/main.html Read the manual and look for the description of "Special Accidentals", including how to set up Lime to play them, via mono pitchbend. You can draw and import your own symbols too if necessary. NB: the Mac version is PowerPC only, so you will likely need Rosetta installed (or use it on an old PPC machine you were wondering what to do with). With the days of Sibelius possibly numbered, maybe CERL can be persuaded to produce an update to Lime? Richard Dobson |
Date | 2012-10-21 14:59 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Not sure if that's a good thing! All the best, |
Date | 2012-10-21 15:01 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Thanks Richard. I'll look into it. I'm not that familiar with Sibelius either. The last time I used it was 9 years ago! Best, Peiman
On 21 October 2012 12:26, Richard Dobson <richarddobson@blueyonder.co.uk> wrote:
|
Date | 2012-10-21 19:34 |
From | Andres Cabrera |
Subject | Re: [Csnd] microtonal midi question |
Hi, If what you need is notation, have a look at adjab it's a python interface for millions Lillypond. Cheers, On Oct 21, 2012 3:31 AM, "peiman khosravi" <peimankhosravi@gmail.com> wrote:
Thank you. Actually I'm not bothered about playing back the midi data. What I would like is automatic conversion of a bunch of spectral structures to notated chords, approximated to the nearest eighth tone. |
Date | 2012-10-21 20:08 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Thanks Andres, Today I found out that both Lillypond and musicXML (right?) only support 1/4 tones (I need 8th). This pretty much rules everything out. So I'm stuck with OM.
Cheers, Peiman
On 21 October 2012 19:34, Andres Cabrera <mantaraya36@gmail.com> wrote:
|
Date | 2012-10-21 20:17 |
From | Justin Smith |
Subject | Re: [Csnd] microtonal midi question |
Lilypond supports the addition of arbitrary glyphs, there are examples online of creating custom microtonal notations for lilypond, using scheme code. On Sun, Oct 21, 2012 at 12:08 PM, peiman khosravi |
Date | 2012-10-21 20:19 |
From | Adam Puckett |
Subject | Re: [Csnd] microtonal midi question |
What's OM? On 10/21/12, Justin Smith |
Date | 2012-10-21 20:28 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Thanks Justin, I'm definitely going to check that out. Adam, OM = openMusic from IRCAM. It has an ugly score editor too. Best, P
On 21 October 2012 20:19, Adam Puckett <adotsdothmusic@gmail.com> wrote: What's OM? |
Date | 2012-10-21 20:55 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] microtonal midi question |
There is a nice score editor for MaxMSP maxScore that supports microtones including the Pierce Scale Sent from my iPhone.
|
Date | 2012-10-22 04:55 |
From | Adam Puckett |
Subject | Re: [Csnd] microtonal midi question |
Let's not forget Csound itself, which allows frequencies... why not send the file to an external program that generates Csound scores based on params? Just a thought. On 10/21/12, Dr. Richard Boulanger |
Date | 2012-10-22 08:45 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
Hi Adam, I don't need to playback the sounds. It's merely about notating them. Thanks Peiman
On 22 October 2012 04:55, Adam Puckett <adotsdothmusic@gmail.com> wrote: Let's not forget Csound itself, which allows frequencies... why not |
Date | 2012-10-22 09:23 |
From | peiman khosravi |
Subject | Re: [Csnd] microtonal midi question |
I played around with OM all night. It works but it's really inconvenient and the score looks unusable. So I'll give lillypond a go, seems like the way forward. Thanks
Peiman
On 22 October 2012 08:45, peiman khosravi <peimankhosravi@gmail.com> wrote: Hi Adam, |
Date | 2012-10-23 14:02 |
From | richard duckworth |
Subject | Re: [Csnd] microtonal midi question |
Lilypond is really good for creating custom utonal scores. Bit of a bear to set up but after that........ Rich Duckworth Lecturer in Music Technology Department of Music House 5 Trinity College Dublin 2 Ireland Tel 353 1 896 1500 It's the most devastating moment in a young mans life, when he quite reasonably says to himself, "I shall never play The Dane!" From: peiman khosravi <peimankhosravi@gmail.com> To: csound@lists.bath.ac.uk Sent: Monday, 22 October 2012, 9:23 Subject: Re: [Csnd] microtonal midi question I played around with OM all night. It works but it's really inconvenient and the score looks unusable. So I'll give lillypond a go, seems like the way forward. Thanks
Peiman
On 22 October 2012 08:45, peiman khosravi <peimankhosravi@gmail.com> wrote: Hi Adam, |