grhythm question

View: New views
5 Messages — Rating Filter:   Alert me  

grhythm question

by schumaker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I'm new to PWGL so please excuse me if this is a kind of a newbie question.  I am using grhythm with pwgl-enum and pwgl-map.  The result is list of grtms, which separates into separate voices in the score-editor.  Is there an easy way to combine these separate lists into one grtm, which would show up as one long rhythm in one voice?  For example, I am getting a result like this:

 (((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100) ((1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4) 0 100 100 100 100 100 100 100 100) ((1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100))

and I would like it to look like this (combined into one grtm):

 ((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4 1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100)

Thanks, in advance, for any advice.

Best,
Matt

Re: grhythm question

by Julien Vincenot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Matt

Don't worry, this is a good newbie question =).

I don't use grhythm but I suppose that patch does what
you need. There's probably other ways to do it.

grhythm-sorting.pwgl

I suggest you to study the Lisp intro in the PWGL Help
and even if you have some time to read some of the first chapters
of this really nice book : http://www.cs.cmu.edu/~dst/LispBook/index.html

Best,
Julien


schumaker wrote:
Hi, I'm new to PWGL so please excuse me if this is a kind of a newbie question.  I am using grhythm with pwgl-enum and pwgl-map.  The result is list of grtms, which separates into separate voices in the score-editor.  Is there an easy way to combine these separate lists into one grtm, which would show up as one long rhythm in one voice?  For example, I am getting a result like this:

 (((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100) ((1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4) 0 100 100 100 100 100 100 100 100) ((1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100))

and I would like it to look like this (combined into one grtm):

 ((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4 1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100)

Thanks, in advance, for any advice.

Best,
Matt

Re: pwgl-users: grhythm question

by Mikael Laurson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, try this.
Mikael





On Jul 1, 2009, at 8:14 PM, schumaker wrote:

> (((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100  
> 100 100)
> ((1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4) 0 100 100 100 100 100 100 100  
> 100)
> ((1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100  
> 100))


grtms-append.pwgl.zip (1K) Download Attachment

Re: grhythm question

by schumaker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Julien,

Thanks a lot for taking the time to reply. I definitely appreciate it. I was not able to download your patch for some reason. I'm not sure why.  However, there was a response from Mikael Laurson that I could download and it seems to work well. So, issue solved, for the moment, which is great. Thanks also for pointing out the Lisp intro in the PWGL handbook and for the link to the other text on Lisp.  Those seem like good resources.  It's time for me to dig in!

Best,
Matt




Hi Matt

Don't worry, this is a good newbie question =).

I don't use grhythm but I suppose that patch does what
you need. There's probably other ways to do it.

grhythm-sorting.pwgl

I suggest you to study the Lisp intro in the PWGL Help
and even if you have some time to read some of the first chapters
of this really nice book : http://www.cs.cmu.edu/~dst/LispBook/index.html

Best,
Julien


schumaker wrote:
Hi, I'm new to PWGL so please excuse me if this is a kind of a newbie question.  I am using grhythm with pwgl-enum and pwgl-map.  The result is list of grtms, which separates into separate voices in the score-editor.  Is there an easy way to combine these separate lists into one grtm, which would show up as one long rhythm in one voice?  For example, I am getting a result like this:

 (((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100) ((1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4) 0 100 100 100 100 100 100 100 100) ((1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100))

and I would like it to look like this (combined into one grtm):

 ((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4 1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100 0 100 100 100 100 100 100 100 100)

Thanks, in advance, for any advice.

Best,
Matt


Re: pwgl-users: grhythm question

by schumaker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mikael,

Both of those objects work really well.  Thanks so much for sending them and or your time with this!

Best,
Matt



Mikael Laurson wrote:
Hi, try this.
Mikael

 



On Jul 1, 2009, at 8:14 PM, schumaker wrote:

> (((1/4 1/4 1/4 1/2 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100  
> 100 100)
> ((1/2 1/2 1/4 1/4 1/2 1/2 1/4 1/2 1/4) 0 100 100 100 100 100 100 100  
> 100)
> ((1/4 1/2 1/4 1/4 1/2 1/2 1/4 1/4 1/2) 0 100 100 100 100 100 100 100  
> 100))