From a6421b91f8c411ffb3a3b41f32e581d9bcc3bff9 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Tue, 8 Jan 2019 14:49:34 -0500 Subject: [PATCH] Add legacy drum block to specmap --- src/serialization/sb2_specmap.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/serialization/sb2_specmap.js b/src/serialization/sb2_specmap.js index a78ee185..5f0e14f4 100644 --- a/src/serialization/sb2_specmap.js +++ b/src/serialization/sb2_specmap.js @@ -503,6 +503,21 @@ const specMap = { } ] }, + 'drum:duration:elapsed:from:': { + opcode: 'music_midiPlayDrumForBeats', + argMap: [ + { + type: 'input', + inputOp: 'math_number', + inputName: 'DRUM' + }, + { + type: 'input', + inputOp: 'math_number', + inputName: 'BEATS' + } + ] + }, 'rest:elapsed:from:': { opcode: 'music_restForBeats', argMap: [