Keith, you are correct that I postprocess the MIDI. I actually pipe
Frescobaldi's output to Pure Data via Apple's IAC driver. As long as the
pitches don't overlap MIDI numbers, I can remap them easily in PD. (I'm
using an isomorphic keyboard with its own peculiar keymap.) I am trying to
keep things simple on the PD end, so I prefer your second option. I'll
probably just repeat the pattern I already have. Thanks for your help!

On Sun, Mar 1, 2015 at 10:20 PM, k-ohara5a5a [via Lilypond] <
ml-node+s1069038n172489...@n5.nabble.com> wrote:

> txikitofandango <nickgeorgopoulos <at> gmail.com> writes:
>
> > #(ly:set-default-scale
> >   (ly:make-scale
> >    '#(0 1 3/2 2 3 7/2 9/2 5 6))
> >   )
>
> > Everything looks great, and the MIDI comes out correct within the
> octave,
> with each semitone up the scale going up a MIDI number. EXCEPT, because
> this is a 13-note scale, but MIDI octaves repeat every 12 numbers, I'm
> back
> at square one.
>
> Lilypond is impressively flexible, but does assume that the repeat-period
> of the scale spans 12 semitones in midi.
> (We might be able to change the hard-coded 12s -- actually 6s -- so that
> future users can more easily use scales spanning more than an octave.)
>
> I can see two options.
> 1) Currently it seems your midi pitches meant to span a tritave span only
> an octave, so it seems you intend to post-process the midi before
> listening.
> You can fit more pitches into 12 semitones of MIDI if your post-processing
> can interpret the midi pitch-bend. If you multiply your scale by 12/13
> #(0 12/13 18/13 24/13 36/13 42/13 54/13 60/13 72/13)
> and use 6/13 instead of SHARP, LilyPond generate MIDI with pitch-bends.
> You would have to arrange to have one MIDI channel per voice, so each
> voice gets its own pitch-bend.
>
> 2) You might skip using the ' and ,  operators, and define pitches to span
> the range of your instruments.  CC for low C, then C c cc for the other
> tritaves.  The scale in ly:make-scale would be quite long, but I don't
> think that will caus any problem.  You could work out the actual pitches
> in terms of 12-divisions-of-an-octave semitones, and the corresponding
> alteration in terms of 12ET semitones for sharp and flat, and have
> LilyPond produce a correct-sounding midi directly.
> _______________________________________________
> lilypond-user mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=172489&i=0>
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lilypond.1069038.n5.nabble.com/Customizing-staff-to-display-Bohlen-Pierce-scale-tp172424p172489.html
>  To unsubscribe from Customizing staff to display Bohlen-Pierce scale?, click
> here
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=172424&code=bmlja2dlb3Jnb3BvdWxvc0BnbWFpbC5jb218MTcyNDI0fDYyODczODI5>
> .
> NAML
> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Customizing-staff-to-display-Bohlen-Pierce-scale-tp172424p172490.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to