add-extra

Auteur 2 Utilisateurs souscrits |

samuelhickok

I’m trying to add timbral text and dynamics to each note in my score, and it looks like the Text-Extra and Vel-Extra classes, combined with the Add-Extra function should do the trick, but I can’t seem to get the syntax right and can’t find examples of the syntax.  Does anyone have suggestions?

mars 4, 2013 à 20:25 #4091
Jean Bresson
Jean Bresson

If you want to add extras to every chord, then maybe ADD-EXTRA-LIST will be easier to use for it does not require any specific syntax: just connect a CHORD-SEQ and a list of EXTRA objects.

In you want to add the extra to specific notes or chord, then you need to use ADD-EXTRA the adequate number of times, each time with the corresponding EXTRA object and path in the sequence. The path is a tree of indices allowing to target a specific element in the score, e.g. (1) means chord #1 (remember list indices start at 0!); (1 2) means chord #1, and inside this chord, note #2 , etc.

Note the two different modes in the 4th, optional input of these functions, allowing to choose wether you want to modify the input score (default) or return a new one (recommended).

Jean

mars 8, 2013 à 10:49 #4184

samuelhickok

Thank you very much; I have now gotten a general case to work and am trying to problem solve my specific case.

mars 11, 2013 à 20:33 #4234

Vous devez être connecté pour répondre à ce sujet.