superfomus
superfomus copied to clipboard
fomus: command not found
Dear smoge,
I have evaluated the following two codes, slightly modified from your sample code in the help document:
(
a = 12.collect({|i|
( 'midinote': (
(63 + rrand(-6,6.5) + [0,8,13]) ++
(60 + rrand(-6,6.5) + [0,5,6,9]) ),
'dur': 1 )
});
f = Fomus();
f.lilyPath = "/opt/homebrew/bin/lilypond";
f.lilyViewPath = "/opt/homebrew/bin/xpdf";
f.fileName = "~/SCFomus_".standardizePath;
f.add(a);
f.ly;
)
(
a = 12.collect({|i|
( 'midinote': (
(63 + rrand(-6,6.5) + [0,8,13]) ++
(60 + rrand(-6,6.5) + [0,5,6,9]) ),
'dur': 1 )
});
f = Fomus()
.lilyPath_("/opt/homebrew/bin/lilypond")
.lilyViewPath_("/opt/homebrew/bin/xpdf")
.fileName_("~/SCFomus_".standardizePath)
.add(a)
.ly;
)
The results are as follows:
Last login: Sat Jun 24 08:53:57 on ttys000
/Users/prko/Library/Application\ Support/SuperCollider/tmp/SCStringForTerminal-1126564853.command ; exit;
(base) prko@prkoMBP2021 ~ % /Users/prko/Library/Application\ Support/SuperCollider/tmp/SCStringForTerminal-1126564853.command ; exit;
/Users/prko/Library/Application Support/SuperCollider/tmp/SCStringForTerminal-1126564853.command: line 2: fomus: command not found
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Did I do something wrong?