Skip to content

Commit

Permalink
turboloader/audiostream: Fix broken input arguments (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyMakesThings committed Jul 30, 2023
1 parent 4d88c1a commit e5eb61f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions extensions/turboloader/audiostream.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
text: 'get visualizer data at [INDEX]',
arguments: {
INDEX: {
type: Scratch.BlockType.BUTTON
type: Scratch.ArgumentType.NUMBER
}
}
},
Expand All @@ -140,7 +140,7 @@
text: 'set visualizer read size to [VAL] (must be power of 2)',
arguments: {
VAL: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '256'
}
}
Expand All @@ -152,7 +152,7 @@
text: 'set volume to [VAL]',
arguments: {
VAL: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '1.0'
}
}
Expand All @@ -170,7 +170,7 @@
text: 'skip to time [VAL]',
arguments: {
VAL: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '0'
}
}
Expand All @@ -194,7 +194,7 @@
text: 'set speed/pitch to [VAL]',
arguments: {
VAL: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '0'
}
}
Expand All @@ -205,7 +205,7 @@
text: 'preservesPitch [VAL]',
arguments: {
VAL: {
type: Scratch.BlockType.BOOLEAN,
type: Scratch.ArgumentType.BOOLEAN,
defaultValue: 'false'
}
}
Expand All @@ -216,7 +216,7 @@
text: 'set pan to [VAL] (-1 to 1)',
arguments: {
VAL: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '0'
}
}
Expand All @@ -233,11 +233,11 @@
menu: 'filtersmenu'
},
Q: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '0'
},
FQ: {
type: Scratch.BlockType.BUTTON,
type: Scratch.ArgumentType.NUMBER,
defaultValue: '440'
}
}
Expand Down

0 comments on commit e5eb61f

Please sign in to comment.