Hi Valentin,
Just a small correction:
Le 04/11/2022 à 09:02, Valentin Petzel a écrit :
For checking equality we have three basic functions: eq?, eqv? and equal?. eq?
checks if we reference the same object, but fails for numbers and strings.
eqv? does the same, but with numbers and strings it co
Hello David,
There are two main problems with your code:
c, d, e,2 are *not* valid scheme expressions. If you wrap one of these
expressions in #{ ... #} like this
#(display #{ c, #})
you’ll see that c, is parsed as *pitch*, while e,2 is parsed as music of type
NoteEvent. These can also be dir
Hello everyone,
I would like to create a function that transforms one note to another
using scheme's cond procedure. This is what I have working so far using
an arg of type number?:
%start code
\version "2.22.2"
tNote =
#(define-scheme-function
(note)
(number?)
(_i "Transform one note t