Re: Question to Chords

2017-05-30 Thread Peter Crighton
2017-05-30 12:13 GMT+02:00 Bernhard Kleine : > I read the thread, you mentioned: ges4.:9^7 does not display differently > from ges4.:9. The cord is different but not the symbol. As I am not > working with cords only with cordnames, I would like to have a different >

Re: Question to Chords

2017-05-30 Thread Bernhard Kleine
I read the thread, you mentioned: ges4.:9^7 does not display differently from ges4.:9. The cord is different but not the symbol. As I am not working with cords only with cordnames, I would like to have a different cordname. Is that possible? Thanks Bernhard Am 30.05.2017 um 11:24 schrieb Thomas

Re: Question to Chords

2017-05-30 Thread Thomas Morley
2017-05-30 9:58 GMT+02:00 Bernhard Kleine : > In my manuscripte there is a ges add9. Unfortunately, add9 throws an error > while compiling. What is the equivalent to add9: ges:9 or ges:m9 seems not > correct since the accord does not decide with a Dominant or minor

Re: Predicate for a string representing an integer

2017-05-30 Thread caagr98
On 05/30/17 11:13, Jan-Peter Voigt wrote: I doubt that checking all characters in the string are in the range '0'-'9' is faster then string->number. Don't forget the optional leading hyphen, base specifiers (#x, #o, #d, #b), etc. However, do keep in mind that (integer? (string->number x))

Re: Predicate for a string representing an integer

2017-05-30 Thread Jan-Peter Voigt
Hi Urs, the functions used are built-in so I'd probably also do it (almost) that way. But I'd strongly recommend to test if obj is a string first: #(define (integer-string? obj) (and (string? obj)(integer? (string->number obj Otherwise the predicate fails with an error (not false) if

Predicate for a string representing an integer

2017-05-30 Thread Urs Liska
Hi all, I've found this function in my code: % Returns true if obj is a string representation of an integer #(define (integer-string? obj) (integer? (string->number obj))) and I have the impression there should be a better way with more built-in functionality to do it. Any suggestions, or

Re: ly Source for examples on the LP Homepage

2017-05-30 Thread Phil Holmes
- Original Message - From: "Federico Bruni" To: "Phil Holmes" Cc: "Kieren MacMillan" ; "Lilypond-User Mailing List" Sent: Tuesday, May 30, 2017 8:53 AM Subject: Re: ly Source for examples on the

Question to Chords

2017-05-30 Thread Bernhard Kleine
In my manuscripte there is a ges add9. Unfortunately, add9 throws an error while compiling. What is the equivalent to add9: ges:9 or ges:m9 seems not correct since the accord does not decide with a Dominant or minor seventh should be added. It is a "mere" ninth? Thanks for your help Bernhard

Re: ly Source for examples on the LP Homepage

2017-05-30 Thread Federico Bruni
Il giorno lun 29 mag 2017 alle 18:44, Phil Holmes ha scritto: - Original Message - From: "Federico Bruni" To: "Kieren MacMillan" Cc: "Lilypond-User Mailing List" Sent: Monday, May 29, 2017