JulioHerrlein Posted July 7, 2020 Share Posted July 7, 2020 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 Quote Link to comment Share on other sites More sharing options...
opmo Posted July 7, 2020 Share Posted July 7, 2020 The repeat is part of OMN: '((q c4 ds4 fs4 a4) (repeat (e c4 cs4 d4 cs4 d4 eb4 e4 f4)) (q a4 fs4 ds4 c4)) '((q c4 ds4 fs4 a4) (repeat (e c4 cs4 d4 cs4) (e d4 eb4 e4 f4)) (q a4 fs4 ds4 c4)) JulioHerrlein 1 Quote Link to comment Share on other sites More sharing options...
JulioHerrlein Posted July 7, 2020 Author Share Posted July 7, 2020 Thanks, Janusz ! A real timesaver in my context ! Best ! Julio Quote Link to comment Share on other sites More sharing options...
JulioHerrlein Posted July 7, 2020 Author Share Posted July 7, 2020 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. Quote Link to comment Share on other sites More sharing options...
opmo Posted July 7, 2020 Share Posted July 7, 2020 To save the notation click on the xml file and go to the Menu and select Save. As you can see all bars are there repeat.xml JulioHerrlein 1 Quote Link to comment Share on other sites More sharing options...
JulioHerrlein Posted July 7, 2020 Author Share Posted July 7, 2020 Yes, It´s perfect now. I tested with a file generated here ! It opened with all the repeats ! This little trick of saving is great ! Thanks a lot, Janusz ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.