![]() |
![]() ![]() ![]() ![]() ![]()
|
next newest topic | next oldest topic |
Author | Topic: looping Midi Script |
garth paine Member |
![]() ![]() ![]() Hi everyone - I would like to repeat this MIDI script | pat pat3 pat2 pat1 | pat := EventCollection events: (Array pat1 := pat2 := pat3 :=
8 timesRepeat: [ (EventSequence events: (Array with: pat1 with: (pat2 trsp: 2) with: pat2 with: (pat1 trsp: 5) with: pat3)) playOnVoice: self bpm: 20.]. But I am not convinced this is working - could the collective wisdom give me some guidance on this - thanks Cheers, Garth IP: Logged |
SSC Administrator |
![]() ![]() ![]() Hi Garth, You could give this a try (basically doing the repeat8 on the collection before you pass it to the EventSequence): | seq8 | seq8 := OrderedCollection new. (EventSequence events: seq8 asArray) playOnVoice: self bpm: 20. IP: Logged |
garth paine Member |
![]() ![]() ![]() Thanks - I tried that, but it gives me a very different quality of sound output - much more staccato as if the envelope is being cut off. Is there any reason the other approach should not work? Cheers, Garth IP: Logged |
SSC Administrator |
![]() ![]() ![]() Hi Garth, I wonder if there is some slight difference between the Scripts? When I try it, the result just sounds like the sequence being played very slowly. Here is the full script that you could try copying and pasting into the Script field of your MIDIVoice just to make sure: code: IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() ![]() |
This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.