I have installed abjad, Lilypond. I am using virtualenv in PyCharm. When I want to show/create the pdf with Lilypond it says: “lilypond: command not found”… Lilypond is in PATH and when I run “lilypond” in Powershell or in the PyCharm terminal it shows the help command of lilypond. Only scamp or abjad is not recognizing the installation… I am using Windows 10
My error message:
WARNING:root:python-rtmidi was not found; streaming midi input / output will not be available.
WARNING:root:pynput was not found; mouse and keyboard input will not be available.
Using preset Piano Merlin for piano
fluidsynth: error: no MIDI in devices found
Der Befehl "lilypond" ist entweder falsch geschrieben oder konnte nicht gefunden werden. [FROM GERMAN TO ENGLISH: The command "lilypond" is either misspelled or could not be found.]
Process finished with exit code 0
My code looks like this:
from scamp import *
pitch = 1
s = Session()
s.fast_forward_to_beat(255)
piano = s.new_part("piano")
s.start_transcribing()
i = 0
while i < 2:
piano.play_note(pitch, 1, 0.05)
if pitch < 127:
pitch += 1
else:
pitch = 0
i += 1
performance = s.stop_transcribing()
performance.to_score().show()