Update sb2 specmap with music extension blocks

This commit is contained in:
Eric Rosenbaum 2017-11-07 11:27:50 -05:00
parent b2941f8c5a
commit 533ed60d98

View file

@ -418,7 +418,7 @@ const specMap = {
] ]
}, },
'playDrum': { 'playDrum': {
opcode: 'sound_playdrumforbeats', opcode: 'music.playDrumForBeats',
argMap: [ argMap: [
{ {
type: 'input', type: 'input',
@ -433,7 +433,7 @@ const specMap = {
] ]
}, },
'rest:elapsed:from:': { 'rest:elapsed:from:': {
opcode: 'sound_restforbeats', opcode: 'music.restForBeats',
argMap: [ argMap: [
{ {
type: 'input', type: 'input',
@ -443,7 +443,7 @@ const specMap = {
] ]
}, },
'noteOn:duration:elapsed:from:': { 'noteOn:duration:elapsed:from:': {
opcode: 'sound_playnoteforbeats', opcode: 'music.playNoteForBeats',
argMap: [ argMap: [
{ {
type: 'input', type: 'input',
@ -458,7 +458,7 @@ const specMap = {
] ]
}, },
'instrument:': { 'instrument:': {
opcode: 'sound_setinstrumentto', opcode: 'music.setInstrument',
argMap: [ argMap: [
{ {
type: 'input', type: 'input',
@ -493,7 +493,7 @@ const specMap = {
] ]
}, },
'changeTempoBy:': { 'changeTempoBy:': {
opcode: 'sound_changetempoby', opcode: 'music.changeTempo',
argMap: [ argMap: [
{ {
type: 'input', type: 'input',
@ -503,7 +503,7 @@ const specMap = {
] ]
}, },
'setTempoTo:': { 'setTempoTo:': {
opcode: 'sound_settempotobpm', opcode: 'music.setTempo',
argMap: [ argMap: [
{ {
type: 'input', type: 'input',
@ -513,7 +513,7 @@ const specMap = {
] ]
}, },
'tempo': { 'tempo': {
opcode: 'sound_tempo', opcode: 'music.getTempo',
argMap: [ argMap: [
] ]
}, },