Re: rhythm fragments in different pitches

2012-09-24 Thread Jan Nieuwenhuizen
David Kastrup writes: > An rtf file with the error log? Seriously? Probably an Emacs user :-P https://raw.github.com/pusto/rtf-el/master/rtf.el seems to work nicely... Jan -- Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar® http://Avat

Re: rhythm fragments in different pitches

2012-09-22 Thread Gilles
Every code has limitations. Oh yes, of course. My message was just an information/advertisement for users looking for a rhythm pattern function. In a more general way, i really thank you, David, to post all these pieces of code, because it is very instructive for people trying to learn scheme. I

Re: rhythm fragments in different pitches

2012-09-22 Thread David Kastrup
Gilles writes: > Le Sat, 22 Sep 2012 14:44:19 +0200, Gilles a > écrit: > >> >>> I am trying to code a piece with voices that use the same >>> rhythmical fragment over and over again. [..] >> >> Perhaps this one : >> http://lsr.dsi.unimi.it/LSR/Item?id=654 > > Oh to bad. When i send my message, i

Re: rhythm fragments in different pitches

2012-09-22 Thread Gilles
Le Sat, 22 Sep 2012 14:44:19 +0200, Gilles a écrit: I am trying to code a piece with voices that use the same rhythmical fragment over and over again. [..] Perhaps this one : http://lsr.dsi.unimi.it/LSR/Item?id=654 Oh to bad. When i send my message, i had no answers from anybody to the

Re: rhythm fragments in different pitches

2012-09-22 Thread Gilles
I am trying to code a piece with voices that use the same rhythmical fragment over and over again. [..] Perhaps this one : http://lsr.dsi.unimi.it/LSR/Item?id=654 But LSR gives also other answers with the keyword : rhythm http://lsr.dsi.unimi.it/LSR/Search?q=rhythm -- Gilles ___

Re: rhythm fragments in different pitches

2012-09-22 Thread Werner LEMBERG
> I am seriously sorry, I annoyed you with bugs in the code and > lengthy files. Actually, no need to apologize. Just be aware of grumpy answers :-) To be serious: If you send an example to a list it is tremendously helpful if you can actually test in advance that it works. Or rather, the part

Re: rhythm fragments in different pitches

2012-09-22 Thread David Kastrup
David Kastrup writes: > Kai Lautenschläger writes: > >>> Am 22.09.2012 um 12:42 schrieb: >>> At some point of time, we probably should have a convenience function for the pattern (reverse! (fold-some-music [predicate] (lambda (l m) (cons ([extr

Re: rhythm fragments in different pitches

2012-09-22 Thread David Kastrup
Kai Lautenschläger writes: >> Am 22.09.2012 um 12:42 schrieb: >> >>> At some point of time, we probably should have a convenience function >>> for the pattern >>> >>> (reverse! (fold-some-music [predicate] >>> (lambda (l m) (cons ([extractor] m) l)) >>>

Re: rhythm fragments in different pitches

2012-09-22 Thread Kai Lautenschläger
Hi David, Thanks for explaining. As for your idea below I would like that feature very much, though I do not understand the code because I am illiterate to programming languages. Best regards, Kai ... von unterwegs gesendet! Am 22.09.2012 um 12:42 schrieb David Kastrup : > At some point of

Re: rhythm fragments in different pitches

2012-09-22 Thread David Kastrup
"Dr. med. Kai Lautenschläger" writes: > Hi, > > I am seriously sorry, I annoyed you with bugs in the code and lengthy > files. It was not meant like that and I apologize. Especially since I > really continue to be amazed by the efficiency of this list and the > speed, with which help is offered.

Re: rhythm fragments in different pitches

2012-09-22 Thread Dr. med. Kai Lautenschläger
Hi, I am seriously sorry, I annoyed you with bugs in the code and lengthy files. It was not meant like that and I apologize. Especially since I really continue to be amazed by the efficiency of this list and the speed, with which help is offered. So I hope you will forgive my obviously mistaken

Re: rhythm fragments in different pitches

2012-09-22 Thread David Kastrup
"Dr. med. Kai Lautenschläger" writes: > Thanks eluze, > > That was the one I was searching for. I just didn't come up with the > keyword "pattern". Now I suppose I should safe the snippet in a > .ly-file and \include it into my code, right? If I do so and don't > change anything else (meaning I d

Re: rhythm fragments in different pitches

2012-09-22 Thread David Kastrup
"Dr. med. Kai Lautenschläger" writes: > Hi Everyone, > > Although I am positive, that I read about this in the list, I cannot > find it anymore. So I kindly ask for a pointer in the right direction. > > I am trying to code a piece with voices that use the same rhythmical > fragment over and over

Re: rhythm fragments in different pitches

2012-09-22 Thread eluze
"Dr. med. Kai Lautenschläger"-2 wrote > Hi Everyone, > > Although I am positive, that I read about this in the list, I cannot find > it anymore. So I kindly ask for a pointer in the right direction. > > I am trying to code a piece with voices that use the same rhythmical > fragment over and over