(Remember to reply-all, or put the LilyPond user group in the CC:) I think the easiest thing to do at this point is to rename midi2ly -> midi2ly.py. Windows may ask you how to execute py files, then choose Python. Now try:
misi2ly.py --version -- Knute Snortum On Wed, May 4, 2022 at 2:40 PM <[email protected]> wrote: > Aha, that seems to have done the trick! One final question, if I may... > How to perform the conversion on a midi file from another directory? > > > Nathan Kerr > > > > > > May 4, 2022, 14:35 by [email protected]: > > Try typing this: > > python midi2ly > > or > > python3 midi2ly > > -- > Knute Snortum > > On Wed, May 4, 2022, 2:32 PM <[email protected]> wrote: > > Hi, thanks for the reply! The following is the response for that cmd: > > GNU LilyPond 2.22.1 > > Copyright (c) 1996--2021 by > Han-Wen Nienhuys <[email protected]> > Jan Nieuwenhuizen <[email protected]> > and others. > > This program is free software. It is covered by the GNU General Public > License and you are welcome to change it and/or distribute copies of it > under certain conditions. Invoke as `lilypond --warranty' for more > information. > > > I see the midi2ly file in my LilyPond\usr\bin directory. Even when opening > cmd from within the directory, midi2ly is still 'not recognized.' I'm not > sure how to proceed from here. > > > > Nathan Kerr > > > > > > May 4, 2022, 14:22 by [email protected]: > > I'm wondering if this could be a PATH issue. Can you type > > lilypond --version > > and get a meaningful response? If not, you may have to put the LilyPond > bin directory on your PATH. Or use the full pathname midi2ly. > > -- > Knute Snortum > > On Wed, May 4, 2022, 1:42 PM nkerr--- via LilyPond user discussion < > [email protected]> wrote: > > Hi, thank you. I tried that, and no, that also comes up as 'not > recognized.' > > I don't see a separate installer for midi2ly, so how can I install it? > > > Nathan Kerr > > > > > > May 4, 2022, 12:19 by [email protected]: > > [sent to lilypond-user; please use the mailing list] > > Hi, I'm trying to convert a midi file to a Lilypond string. From the > website > (https://lilypond.org/doc/v2.21/Documentation/usage/invoking-midi2ly) > I understand I'm supposed to use the following in cmd: > > midi2ly [option]… midi-file > > but I get "not recognized." I can successfully use Lilypond from > cmd. I don't see a separate installer for midi2ly and see no > documentation indicating how to get passed this issue. > > Any help you can provide is much appreciated. > > > You can try: > > midi2ly --version > > to see if midi2ly has been installed correctly. If it is, possibly > midi2ly cannot handle your midi file. > > Greetings, > Janneke > > -- > Jan Nieuwenhuizen <[email protected]> | GNU LilyPond https://lilypond.org > Freelance IT https://JoyOfSource.com | Avatar® https://AvatarAcademy.com > > > > >
