mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Update sb2 specmap with music extension blocks
This commit is contained in:
parent
b2941f8c5a
commit
533ed60d98
1 changed files with 7 additions and 7 deletions
|
@ -418,7 +418,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'playDrum': {
|
||||
opcode: 'sound_playdrumforbeats',
|
||||
opcode: 'music.playDrumForBeats',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -433,7 +433,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'rest:elapsed:from:': {
|
||||
opcode: 'sound_restforbeats',
|
||||
opcode: 'music.restForBeats',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -443,7 +443,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'noteOn:duration:elapsed:from:': {
|
||||
opcode: 'sound_playnoteforbeats',
|
||||
opcode: 'music.playNoteForBeats',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -458,7 +458,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'instrument:': {
|
||||
opcode: 'sound_setinstrumentto',
|
||||
opcode: 'music.setInstrument',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -493,7 +493,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'changeTempoBy:': {
|
||||
opcode: 'sound_changetempoby',
|
||||
opcode: 'music.changeTempo',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -503,7 +503,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'setTempoTo:': {
|
||||
opcode: 'sound_settempotobpm',
|
||||
opcode: 'music.setTempo',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -513,7 +513,7 @@ const specMap = {
|
|||
]
|
||||
},
|
||||
'tempo': {
|
||||
opcode: 'sound_tempo',
|
||||
opcode: 'music.getTempo',
|
||||
argMap: [
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue