> Wouldn’t ly:pitch-diff save some of your work? In
```
(define (interval-string a b)
(number->string (1+ (ly:pitch-steps (- b a)))))
```
The `(- b a)` actually uses `ly:pitch-diff` behind the scene :-)
Werner
> Wouldn’t ly:pitch-diff save some of your work? In
```
(define (interval-string a b)
(number->string (1+ (ly:pitch-steps (- b a)))))
```
The `(- b a)` actually uses `ly:pitch-diff` behind the scene :-)
Werner