pxt-arcade 1.12.49 → 1.12.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/common-sim.js +4 -4
- package/built/sim.js +4 -4
- package/built/target.js +1 -1
- package/built/target.json +1 -1
- package/built/targetlight.json +1 -1
- package/package.json +3 -3
package/built/common-sim.js
CHANGED
|
@@ -3256,16 +3256,16 @@ var pxsim;
|
|
|
3256
3256
|
sequencers.push(res);
|
|
3257
3257
|
await res.sequencer.initAsync();
|
|
3258
3258
|
res.sequencer.addEventListener("stop", () => {
|
|
3259
|
-
pxsim.board().bus.queue(music.SEQUENCER_STOP_MESSAGE,
|
|
3259
|
+
pxsim.board().bus.queue(music.SEQUENCER_STOP_MESSAGE, res.id);
|
|
3260
3260
|
});
|
|
3261
3261
|
res.sequencer.addEventListener("state-change", () => {
|
|
3262
|
-
pxsim.board().bus.queue(music.SEQUENCER_STATE_CHANGE_MESSAGE,
|
|
3262
|
+
pxsim.board().bus.queue(music.SEQUENCER_STATE_CHANGE_MESSAGE, res.id);
|
|
3263
3263
|
});
|
|
3264
3264
|
res.sequencer.addEventListener("looped", () => {
|
|
3265
|
-
pxsim.board().bus.queue(music.SEQUENCER_LOOPED_MESSAGE,
|
|
3265
|
+
pxsim.board().bus.queue(music.SEQUENCER_LOOPED_MESSAGE, res.id);
|
|
3266
3266
|
});
|
|
3267
3267
|
res.sequencer.addEventListener("tick", () => {
|
|
3268
|
-
pxsim.board().bus.queue(music.SEQUENCER_TICK_MESSAGE,
|
|
3268
|
+
pxsim.board().bus.queue(music.SEQUENCER_TICK_MESSAGE, res.id);
|
|
3269
3269
|
});
|
|
3270
3270
|
return res.id;
|
|
3271
3271
|
}
|
package/built/sim.js
CHANGED
|
@@ -3044,16 +3044,16 @@ var pxsim;
|
|
|
3044
3044
|
sequencers.push(res);
|
|
3045
3045
|
await res.sequencer.initAsync();
|
|
3046
3046
|
res.sequencer.addEventListener("stop", () => {
|
|
3047
|
-
pxsim.board().bus.queue(music.SEQUENCER_STOP_MESSAGE,
|
|
3047
|
+
pxsim.board().bus.queue(music.SEQUENCER_STOP_MESSAGE, res.id);
|
|
3048
3048
|
});
|
|
3049
3049
|
res.sequencer.addEventListener("state-change", () => {
|
|
3050
|
-
pxsim.board().bus.queue(music.SEQUENCER_STATE_CHANGE_MESSAGE,
|
|
3050
|
+
pxsim.board().bus.queue(music.SEQUENCER_STATE_CHANGE_MESSAGE, res.id);
|
|
3051
3051
|
});
|
|
3052
3052
|
res.sequencer.addEventListener("looped", () => {
|
|
3053
|
-
pxsim.board().bus.queue(music.SEQUENCER_LOOPED_MESSAGE,
|
|
3053
|
+
pxsim.board().bus.queue(music.SEQUENCER_LOOPED_MESSAGE, res.id);
|
|
3054
3054
|
});
|
|
3055
3055
|
res.sequencer.addEventListener("tick", () => {
|
|
3056
|
-
pxsim.board().bus.queue(music.SEQUENCER_TICK_MESSAGE,
|
|
3056
|
+
pxsim.board().bus.queue(music.SEQUENCER_TICK_MESSAGE, res.id);
|
|
3057
3057
|
});
|
|
3058
3058
|
return res.id;
|
|
3059
3059
|
}
|