Jump to content

Repetition Signs in OMN ?


Recommended Posts

Dear Friends,

 

Is there any way to include repetition boxes (ala Reich) and first and second endings in the XML output  ?

I have some patterns I want to repeat and maybe the repeat boxes could be great.

I know that I can do it after in the notation software finetuning, but since I'm using 255 different patterns with repeats , so would be easier to have it already in the output. It's easier to copy and paste code instead of editing barlines in Musescore, Finale or Sibelius.

 

Thanks in advance.

Best,

Julio

Link to comment
Share on other sites

There is something strange...

I got a perfect snippet of the repetitions, but when I saved to XML, using last score to Music XML, I got only one bar out of 255...

 

Here is the code I used (and the resulting XML file).

Best,

Julio

 

 

;;;1-20

(((repeat (q -q))(repeat (-q q))(repeat (q q))(repeat (-e e -q))(repeat (-q -e e))(repeat (-e e -e e))(repeat (e e -q))(repeat (-q e e))(repeat (e e e e))(repeat (q e e))(repeat (e e q))(repeat (q -e e))(repeat (-e e q))(repeat (e e -e e))(repeat (-e e e e))
(repeat (-s e. -q))(repeat (-q -s e.))(repeat (-s e. -s e.))(repeat (-e. s -q))(repeat (-q -e. s))

;;21-40

(repeat (-e. s -e. s))(repeat (s s -e -q))(repeat (-q s s -e))(repeat (s s -e s s -e))(repeat (e. s -q))
(repeat (-q e. s))(repeat (e. s e. s))(repeat (-e s s -q))(repeat (-q -e s s))(repeat (-e s s -e s s))
(repeat (-s e s -q))(repeat (-q -s s e))(repeat (-s s e -s s e))(repeat (-s e s -q))(repeat (-q -s e s))
(repeat (-s e s -s e s))(repeat (s s e -q))(repeat (-q s s e))(repeat (s s e s s e))(repeat (e s s -q))
;;; 41-60

(repeat (-q e s s))(repeat (e s s e s s))(repeat (s e s -q))(repeat (-q s e s))(repeat (s e s s e s))
(repeat (-s s s s -q))(repeat (-q -s s s s))(repeat (-s s s s -s s s s))(repeat (s s s s -q))(repeat (-q s s s s))
(repeat (s s s s s s s s))(repeat (q -s e.))(repeat (-s e. q))(repeat (q -e. s))(repeat (-e. s q))
(repeat (q s s -e))(repeat (s s -e q))(repeat (q e.s))(repeat (e. s q))(repeat (q -e s s))

;;;61-80

(repeat (-e s s q))(repeat (q -s s e))(repeat (-s s e q))(repeat (q -s e s))(repeat (-s e s q))
(repeat (q s s e))(repeat (s s e q))(repeat (q e s s))(repeat (e s s q))(repeat (q s e s))
(repeat (s e s q))(repeat (q -s s s s))(repeat (-s s s s q))(repeat (q s s s s))(repeat (s s s s q))
(repeat (-e e -s e.))(repeat (-s e. -e e))(repeat (-e e -e. s))(repeat (-e. s -e e))(repeat (-e e s s -e))

;;;81 100


(repeat (s s -e -e e))(repeat (-e e e. s))(repeat (e. s -e e))(repeat (-e e -e s s))(repeat (-e s s -e e))
;;86
(repeat (-e e -s s e))(repeat (-s s e -e e))(repeat (-e e -s e s))(repeat (-s e s -e e))(repeat (-e e s s e))
(repeat (s s e -e e))(repeat (-e e e s s))(repeat (e s s -e e))(repeat (-e e s e s))(repeat (s e s -e e))
(repeat (-e e -s s s s))(repeat (-s s s s -e e))(repeat (-e e s s s s))(repeat (s s s s -e e))(repeat (-s e. -e. s))

;;;101 120

(repeat (-e. s -s e.))(repeat (-s e. e e))(repeat (e e -s e.))(repeat (-s e. s s -e))(repeat (s s -e -s e.))
(repeat (-s e. e. s))(repeat (e. s -s e.))(repeat (-s e. -e s s))(repeat (-e s s -s e.))(repeat (-s e. -s s e))
(repeat (-s s e -s e.))(repeat (-s e. -s e s))(repeat (-s e s -s e.))(repeat (-s e. s s e))(repeat (s s e -s e.))
(repeat (-s e. e s s))(repeat (e s s -s e.))(repeat (-s e. s e s))(repeat (s e s -s e.))(repeat (-s e. -s s s s))

;;;121 140

(repeat (-s s s s -s e.))(repeat (-s e. s s s s))(repeat (s s s s -s e.))(repeat (-e. s e e))(repeat (e e -e. s))
(repeat (e. -s s s -e))(repeat (s s -e e. -s))(repeat (e. s e. s))(repeat (e. s e. s))(repeat (e. s -e s s))
(repeat (-e s s -e. s))(repeat (-e. s -s s e))(repeat (-s s e -e. s))(repeat (-e. s -s e s))(repeat (-s e s -e. s))
(repeat (-e. s s s e))(repeat (s s e -e. s))(repeat (-e. s e s s))(repeat (e s s -e. s))(repeat (-e. s s e s))

;;141 - 160

(repeat (s e s e. s))(repeat (-e. s -s s s s))(repeat (-s s s s -e. s))(repeat (-e. s s s s s))(repeat (s s s s e. -s))
(repeat (e e s s -e))(repeat (s s -e e e))(repeat (e e e. s))(repeat (e. s e e))(repeat (e e -e s s))
(repeat (-e s s e e))(repeat (e e -s s e))(repeat (-s s e e e))(repeat (e e -s e s))(repeat (-s e s e e))
;;;156
(repeat (e e s s e))(repeat (s s e e e))(repeat (e e e s s))(repeat (e s s e e))(repeat (e e s e s))

;;;161 - 180
(repeat (s e s e e))(repeat (e e -s s s s))(repeat (-s s s s e e))(repeat (e e s s s s))(repeat (s s s s e e))
(repeat (s s -e e. s))(repeat (e. s s s -e))(repeat (s s -e -e s s))(repeat (-e s s s s -e))(repeat (s s -e -s s e))
;;171
(repeat (-s s e s s -e))(repeat (s s -e -s e s))(repeat (-s e s s s -e))(repeat (s s -e s s e))(repeat (s s e s s -e))
(repeat (s s -e e s s))(repeat (e s s s s -e))(repeat (s s -e s e s))(repeat (s e s s s -e))(repeat (s s -e -s s s s))

;;;181 200

(repeat (-s s s s s s -e))(repeat (s s -e s s s s))(repeat (s s s s s s -e))(repeat (e. s -e s s))(repeat (-e s s e. s))
(repeat (e. s -s s e))(repeat (-s s e e. s))(repeat (e. s -s e s))(repeat (-s e s e. s))(repeat (e. s s s e))
(repeat (s s e e. s))(repeat (e. s e s s))(repeat (e s s e. s))(repeat (e. s s e s))(repeat (s e s e. s))
;;;196
(repeat (e. s -s s s s))(repeat (-s s s s e. s))(repeat (e. s s s s s))(repeat (s s s s e. s))(repeat (-e s s -s s e))

;;201 220

(repeat (-s s e -e s s))(repeat (-e s s -s e s))(repeat (-s e s -e s s))(repeat (-e s s s s e))(repeat (s s e -e s s))
(repeat (-e s s e s s))(repeat (e s s -e s s))(repeat (-e s s s e s))(repeat (s e s -e s s))(repeat (-e s s -s s s s))
(repeat (-s s s s -e s s))(repeat (-e s s s s s s))(repeat (s s s s -e s s))(repeat (-s s e -s e s))(repeat (-s e s -s s e))
(repeat (-s s e s s e))(repeat (s s e -s s e))(repeat (-s s e e s s))(repeat (e s s -s s e))(repeat (-s s e s e s))

;;;221 240

(repeat (s e s -s s e))(repeat (-s s e -s s s s))(repeat (-s s s s -s s e))(repeat (-s s e s s s s))(repeat (s s s s -s s e))
;;;226
(repeat (-s e s s s e))(repeat (s s e -s e s))(repeat (-s e s e s s))(repeat (e s s -s e s))(repeat (-s e s s e s))
(repeat (s e s -s e s))(repeat (-s e s -s s s s))(repeat (-s s s s -s e s))(repeat (-s e s s s s s))(repeat (s s s s -s e s))
;;;236
(repeat (s s e e s s))(repeat (e s s s s e))(repeat (s s e s e s))(repeat (s e s s s e))(repeat (s s e -s s s s))

;;;241 
(repeat (-s s s s s s e))(repeat (s s e s s s s))(repeat (s s s s s s e))(repeat (e s s s e s))(repeat (s e s e s s))
(repeat (e s s -s s s s))(repeat (-s s s s e s s))(repeat (e s s s s s s))(repeat (s s s s e s s))(repeat (s e s -s s s s))
(repeat (-s s s s s e s))(repeat (s e s s s s s))(repeat (s s s s s e s))(repeat (-s s s s s s s s))(repeat (s s s s -s s s s))))

255_CELLS_com_REPEAT_03.xml

Perfect ! But not on XML file.

image.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy