Thanks Tim for the advise,

Can I try to this?

I can define all of notes as numbers:
...
48 = c3
49 = c#3
50 = d3
51 = d#3
52 = e3
...etc

And replace the note names to numbers:

{ 48 50 52 49 51 }

Then I get engraved score:

c3 d3 e3 c#3 d#3

At this point my question is: How to define note names to numbers(midi),
and how to call them in the code.

Unfortunately I don't have a lot of knowledge of programming... Any suggest?


Cheers,
Jong


On Mon, Feb 27, 2012 at 11:25 PM, Tim Roberts <[email protected]> wrote:

> Jonghyun Kim wrote:
> > Thanks Ole for good info. I will test it.
> >
> > Really there is no way to write pitches with midi numbers in Lilypond?
>
> No.  MIDI note numbers are just an implementation detail of a specific
> computer protocol -- a way of writing a frequency.  Music is notated in
> alphabetic notes.  As I now think Nils was trying to point out, when you
> write MIDI number 48, there's no indication whether that should be
> notated as B#, or C natural, or Dbb, and Lilypond absolutely needs to
> know that.  The note number doesn't contain enough information.
>
> If you want to engrave music for others to read, you need to know and
> work with the note names.
>
> --
> Tim Roberts, [email protected]
> Providenza & Boekelheide, Inc.
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to