diff --git a/sound_algo/control/midi.scd b/sound_algo/control/midi.scd index 6ce4a85..8dc6635 100644 --- a/sound_algo/control/midi.scd +++ b/sound_algo/control/midi.scd @@ -60,7 +60,7 @@ MIDIIn.connectAll; ~midiFuncs.add(MIDIFunc.cc({ |val| ~melodyDrive = val.linlin(0,127, 0.5,5.0); ~debouncedReload.() }, 33)); ~midiFuncs.add(MIDIFunc.cc({ |val| ~acidDrive = val.linlin(0,127, 0.5,5.0); ~debouncedReload.() }, 34)); ~midiFuncs.add(MIDIFunc.cc({ |val| ~melodyBoost = val.linlin(0,127, 0.5,3.0); ~debouncedReload.() }, 35)); -~midiFuncs.add(MIDIFunc.cc({ |val| TempoClock.default.tempo = val.linlin(0,127, 60,200) / 60 }, 36)); +~midiFuncs.add(MIDIFunc.cc({ |val| ~setTempo.(val.linlin(0,127, 60,200)) }, 36)); // CC 49-56 = potards rangée 3 (wobble / sidechain) ~midiFuncs.add(MIDIFunc.cc({ |val| ~melodyWobbleRate = val.linexp(0,127, 0.5,32); ~debouncedReload.() }, 49)); diff --git a/sound_algo/data_only/scene_concert.scd b/sound_algo/data_only/scene_concert.scd index f98b3c4..71932bb 100644 --- a/sound_algo/data_only/scene_concert.scd +++ b/sound_algo/data_only/scene_concert.scd @@ -167,7 +167,8 @@ ~concert[\stop] = { ~concert[\routine] !? { |r| r.stop }; ~concert[\stopMorceau].(); - ~concert[\clock] !? { |c| c.stop }; + // NE PAS stopper l'horloge : elle alias TempoClock.default (Lot C) et la + // Routine est deja stoppee. La stopper figerait tout le systeme. ~concert[\clock] = nil; ~concert[\running] = false; // restore the master event-FX so a stop mid-squat/spin doesn't leave the diff --git a/sound_algo/data_only/scene_pose_play.scd b/sound_algo/data_only/scene_pose_play.scd index 0e41ab9..1401e7e 100644 --- a/sound_algo/data_only/scene_pose_play.scd +++ b/sound_algo/data_only/scene_pose_play.scd @@ -156,7 +156,8 @@ stop: { ~bpEngine[\routine] !? { |r| r.stop }; ~bpEngine[\pad] !? { |p| p.set(\gate, 0) }; - ~bpEngine[\clock] !? { |c| c.stop }; + // NE PAS stopper l'horloge : alias TempoClock.default (Lot C), + // Routine deja stoppee. La stopper figerait tout le systeme. ~bpEngine[\clock] = nil; ~bpEngine[\running] = false; "[bp] STOPPED".postln;