Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread David Wright
On Mon 04 Apr 2016 at 17:47:03 (+), Joseph Chrestien wrote: > Thanks David and Simon for your kind help. I used David's solution and it > works brilliantly. Very nice. I didn't know of this NullVoice context, I'll > take a look at it. My view would be to use David's solution where you have

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread Joseph Chrestien
Thanks David and Simon for your kind help. I used David's solution and it works brilliantly. Very nice. I didn't know of this NullVoice context, I'll take a look at it. Nice day to all of you Joseph On Mon, Apr 4, 2016 at 7:57 AM -0700, "Simon Albrecht"

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread Simon Albrecht
Hi Joseph, a more common approach to the situation is using a separate music variable containing information common to all parts. E.g. % aux = { \tempo 4 = 100 s1 \bar "|." } musicOne = { e'1 } musicTwo = { c'1 } \score { << \new Staff << \new NullVoice \aux

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread David Kastrup
Joseph Chrestien <_...@live.com> writes: > Hi all, > > is it possible to change all notes in a voice to skips through a function ? > > E.g. ` \silence c4 \tempo 4=100 f8\p g8 ` would be compiled as ` s4 \tempo > 4=100 s8\p s8 `. Note all other events would stay the same. \version "2.19.32"

Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread Joseph Chrestien
Hi all, is it possible to change all notes in a voice to skips through a function ? E.g. ` \silence c4 \tempo 4=100 f8\p g8 ` would be compiled as ` s4 \tempo 4=100 s8\p s8 `. Note all other events would stay the same. Below are the context and minimal code. Thanks! Jo Chrestien - PS.