Project: 10-SynchronizingPlayFromLists Author: Scratch: 1.4 of 30-Jun-09 Notes: Progressive Examples Series UMass Lowell Performamatics Project Alex Ruthmann, Gena Greher, and Jesse Heines History: 2010-7-26 08:48:39 save 01-PlayMelody 2010-7-26 08:55:56 share 01-PlayMelody drjay 2010-7-26 09:06:33 save 01-PlayMelody drjay 2010-7-26 09:06:44 share 01-PlayMelody drjay 2010-7-26 09:31:04 save 01-PlayMelody drjay 2010-7-26 09:40:09 share 01-PlayMelody drjay 2010-7-26 09:43:08 share 01-PlayMelody drjay 2010-7-26 09:45:24 save 01-PlayNotes drjay drjay 2010-7-26 09:51:59 save 01-PlayNotes 2010-7-26 09:52:27 share 01-PlayNotes drjay 2010-7-26 09:54:30 save 01-PlayNotes drjay 2010-7-26 16:51:08 save 02-PlayNotesVariables 2010-7-26 17:03:42 save 02-PlayNotesVariables 2010-7-26 17:03:46 save 02-PlayNotesVariables 2010-7-28 11:54:45 save 03-SeparatingInitialization 2010-7-28 12:05:49 save 03-SeparatingInitialization 2010-7-28 12:35:20 save 03-SeparatingInitialization 2010-7-28 20:17:30 save 04-SeparatingPhrases 2010-7-28 20:31:37 save 04-SeparatingPhrases 2010-7-28 20:51:43 share 04-SeparatingPhrases performamatics 2010-7-28 20:52:04 save 04-SeparatingPhrases performamatics 2010-7-28 21:21:24 save 04-SeparatingPhrases performamatics 2010-7-28 21:45:41 share 04-SeparatingPhrases performamatics 2010-7-28 21:52:57 save 04-SeparatingPhrases performamatics 2010-7-28 21:58:16 share 04-SeparatingPhrases performamatics 2010-7-28 21:59:17 save 04-SeparatingPhrases performamatics 2010-7-28 22:06:18 share 04-SeparatingPhrases performamatics 2010-7-28 22:06:27 save 04-SeparatingPhrases performamatics 2010-7-29 08:37:40 save 05-LoopingAndFading 2010-7-29 08:42:24 save 05-LoopingAndFading 2010-7-29 09:11:11 save 05-LoopingAndFading 2010-7-29 09:33:17 save 06-MultipleTracks-v1 2010-7-29 09:37:21 save 06-MultipleTracks-v1 2010-7-29 09:43:59 save 06-MultipleTracks-v1 2010-7-29 09:59:07 save 06-MultipleTracks-v1 2010-7-29 09:59:40 save 07-MultipleTracks-v2 2010-7-29 10:26:56 save 07-MultipleTracks-v2 2010-7-29 10:37:53 save 07-MultipleTracks-v2 2010-7-29 10:56:13 save 07-MultipleTracks-v2 2010-7-29 10:56:16 save 07-MultipleTracks-v2 2010-7-29 11:57:20 save 07-MultipleTracks-v2 2010-7-29 14:36:17 save 08-UsingLists 2010-7-29 17:19:39 save 08-UsingLists 2010-7-29 17:19:46 save 08-UsingLists 2010-7-29 20:10:35 save 08-UsingLists-v1 2010-7-29 20:10:46 save 08-UsingLists-v2 2010-7-29 22:54:43 save 08-UsingLists-v2 2010-7-29 23:03:59 save 08-UsingLists-v2 2010-7-30 06:46:04 save 08-UsingLists-v3 2010-7-30 06:59:38 save 08-UsingLists-v3 2010-7-30 13:40:32 save 08-UsingLists-v4 2010-7-30 13:45:40 save 08-UsingLists-v4 2010-7-30 14:01:15 save 08-UsingLists-v4 2010-8-7 19:10:57 save 08-UsingLists-v4 2010-8-7 19:14:08 save 08-UsingLists-v4 2010-8-7 19:14:14 save 08-UsingLists-v4 2010-8-8 11:40:48 save 10-SynchronizingPlayFromLists 2010-8-8 12:06:52 save 10-SynchronizingPlayFromLists 2010-8-8 12:27:18 save 10-SynchronizingPlayFromLists 2010-8-8 12:35:31 save 10-SynchronizingPlayFromLists 2010-8-8 12:35:38 save 10-SynchronizingPlayFromLists Totals: Sprites: 4 Stacks: 14 Unique costumes: 7 Unique sounds: 2 -------- Sprite: Stage Costumes (2): background1 (480x360) RowYourBoat-Debo (480x360) Sounds (1): pop (0:00:00) No stacks. -------- Sprite: Init Costumes (1): 11 (100x100) Sounds (0): Stacks (1): when I receive "Initialize Synched Round" hide set "Clarinet" to "72" set "Trumpet" to "57" set "NoOfTimesToPlay" to "2" set tempo to 120 bpm set "RhythmDelta" to (60 / (tempo)) end -------- Sprite: Part 1 Costumes (1): singer1 (86x180) Sounds (0): Stacks (2): when I receive "Process Part 1" hide set instrument to (Clarinet) set "TriggerNextNote" to "0" set "RepeatCounter" to "1" repeat until ((RepeatCounter) > "2") set "ListIndex" to "1" repeat until ((ListIndex) > (length of "Rhythms" )) change "TriggerNextNote" by ((RhythmDelta) * (item (ListIndex) of "Rhythms" )) broadcast "Play Single Note Part 1" wait until (((timer) = (TriggerNextNote)) or ((timer) > (TriggerNextNote))) change "ListIndex" by 1 change "RepeatCounter" by 1 end when I receive "Play Single Note Part 1" play note (item (ListIndex) of "Notes" ) for (item (ListIndex) of "Rhythms" ) beats end -------- Sprite: Part 2 Costumes (1): girl1-walking (106x172) Sounds (0): Stacks (2): when I receive "Process Part 2" hide set instrument to (Trumpet) set "TriggerNextNote2" to (4 * (RhythmDelta)) wait until (((timer) = (TriggerNextNote2)) or ((timer) > (TriggerNextNote2))) set "RepeatCounter2" to "1" repeat until ((RepeatCounter2) > "2") set "ListIndex2" to "1" repeat until ((ListIndex2) > (length of "Rhythms" )) change "TriggerNextNote2" by ((RhythmDelta) * (item (ListIndex2) of "Rhythms" )) broadcast "Play Single Note Part 2" wait until (((timer) = (TriggerNextNote2)) or ((timer) > (TriggerNextNote2))) change "ListIndex2" by 1 change "RepeatCounter2" by 1 end when I receive "Play Single Note Part 2" play note (item (ListIndex2) of "Notes" ) for (item (ListIndex2) of "Rhythms" ) beats end -------- Sprite: Main Costumes (2): costume1 (95x111) costume2 (95x111) Sounds (1): meow (0:00:01) Stacks (1): when green flag clicked broadcast "Initialize Synched Round" and wait reset timer broadcast "Process Part 1" broadcast "Process Part 2" end --------