[Today]
I had lilypond previously installed (2.22.1 if I recall correctly) and SCAMP couldn’t find the binary
So I uninstalled it and Frescobaldi (a lilypond “IDE”) and downloaded 2.24.0
But now I’m really confused becuase the original SCAMP setup implies there is an install program or something
But here I even looked on the lilypond website for how to properly install it and it literally just says to extract the folder and put it somewhere permanent
(Plus my OneDrive was bothering me, had to delete a lot of crap)
No bother, it will just look for the binary, right?
Couldn’t find it, after like 15 minutes of leaving it to run
In case it matters, here’s the code I was trying to run:
from scamp import *
import random
s = Session(tempo=130)
# s.print_default_soundfont_presets()
bass = s.new_part("fingered bass")
sax = s.new_part("alto sax")
bass_notes = [32, 34, 35.5, 25, 34, 36.5, 37.5, 31]
patterns = [[0, 3.5], [7, 7.5], [2, 3.5, 5], [None, 12]]
def bpart():
for i in bass_notes:
bass.play_note(i, 0.9, 1)
def spart():
for j in bass_notes:
p = random.choice(patterns)
l = 1 / len(p)
for intv in p:
if intv is None:
wait(l)
else:
sax.play_note(j+24+intv, 0.9, l)
s.start_transcribing()
for _ in range(4):
s.fork(bpart)
s.fork(spart)
s.wait_for_children_to_finish()
performance = s.stop_transcribing()
performance.to_score().show()
(Yes, it was inspired off of one of the tutorials)
Help would be appreciated!!