Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » My Extension wih WebMIDI
- ratchetyclank
- Scratcher
100+ posts
My Extension wih WebMIDI
nice
follow me for a cake
Cmon why didnt you follow yet????
follow ratchetyclank :: motion
add [a cake] to [your fridge v]
open fridge :: list
eat [cake v]:: sensing
Just click me :)
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
Hello,
long time no see.
I added hars for Pitch Bend and Program Change.
https://goo.gl/K5FjhU
please try.
long time no see.
I added hars for Pitch Bend and Program Change.
https://goo.gl/K5FjhU
please try.
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
I added a boolean reporter block. It's used from Sensing blocks.
https://goo.gl/K5FjhU
https://goo.gl/K5FjhU
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
Hello,
I just open Web MIDI extension for Scratch3
It's Github page,
https://bit.ly/2I6Lvbz
Web MIDI API can only be used by Chrome Browser.
I start to study Scratch3 Extension.
So I can't fix some warning messages.
ArgumentType, I don't understand “id”.
Do you know there is detailed document?
Thank you
I just open Web MIDI extension for Scratch3
It's Github page,
https://bit.ly/2I6Lvbz
Web MIDI API can only be used by Chrome Browser.
I start to study Scratch3 Extension.
So I can't fix some warning messages.
ArgumentType, I don't understand “id”.
Do you know there is detailed document?
Thank you
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
Using MUSIC extension and Web MIDI extension for Scratch 3
You can play piano
Scratch 3 MIDI is here.
Start guide for Scratch 3 MIDI
You can play piano
Scratch 3 MIDI is here.
Start guide for Scratch 3 MIDI
Last edited by pothunt (July 15, 2019 01:45:42)
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
This is my memo.
I change scratch-vm and scratch-gui to “0.1.0-prerelease.20190711180933”
When I built Scratch 3 MIDI was Apr, 2019.
I found the usage of “menu:” was different.
I needed to correct my extension program.
Last edited by pothunt (July 15, 2019 01:59:38)
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
I added Note On and Note Off command block with a channel, a note number and a velocity.
Scratch 3 MIDI
Usage of Drum Machine Scratch 3 MIDI
Start guide for Scratch 3 MIDI
Scratch 3 MIDI
Usage of Drum Machine Scratch 3 MIDI
Start guide for Scratch 3 MIDI
Last edited by pothunt (July 21, 2019 01:19:07)
- CoolGamesNet
- Scratcher
24 posts
My Extension wih WebMIDI
Great Job !
I have been waiting since January for this !
Eventually want it to work with Roland Go:Keys 61k
which broke when ScratchX was closed.
I have been in touch with hardware engineer for this Roland keyboard.
Alternatively a simpler less expensive is Akai.
Tested on Akai MPK mini play successfully but not sure whether program change is implemented !
Drums still internal after above tested.
Expect Channel 10 is used so will use Midi sniffer to see.
I will keep testing !
Roland Go:Keys 61k as external Midi is working as well as USB Roland UM-ONE to DIN 5 on same system.
I am not sure how to chose Midi Port in Scratch or Chrome.
See my project before modified to your extension.
I have been waiting since January for this !
Eventually want it to work with Roland Go:Keys 61k
which broke when ScratchX was closed.
I have been in touch with hardware engineer for this Roland keyboard.
Alternatively a simpler less expensive is Akai.
Tested on Akai MPK mini play successfully but not sure whether program change is implemented !
Drums still internal after above tested.
Expect Channel 10 is used so will use Midi sniffer to see.
I will keep testing !
Roland Go:Keys 61k as external Midi is working as well as USB Roland UM-ONE to DIN 5 on same system.
I am not sure how to chose Midi Port in Scratch or Chrome.
See my project before modified to your extension.
Last edited by CoolGamesNet (July 31, 2019 11:53:35)
New to ScratchX first in January 2018 and now in April 2018 watching for Scratch 3.0 offline editor release.
Want to do MIDI music on Roland Go Keys 61k currently in ScratchX.
- CoolGamesNet
- Scratcher
24 posts
My Extension wih WebMIDI
I added Note On and Note Off command block with a channel, a note number and a velocity.
Scratch 3 MIDI
Usage of Drum Machine Scratch 3 MIDI
Start guide for Scratch 3 MIDI
define
broadcast [ My thoughts for playing future songs ] and wait
Midi Note On (1) (Midi Chord[C major v] :: operator #ff8000 ) (127) for (0.25) beats ::#008800 // How would I play something like Midi chords for a beat duration ?
Instead of coding chords manually
Midi Note On (1) (60) (127) ::#008800
Midi Note On (1) (64) (127) ::#008800
Midi Note On (1) (67) (127) ::#008800
Rest for (0.25) beats ::#008800
Midi Note Off (1) (60) (127) ::#008800
Midi Note Off (1) (64) (127) ::#008800
Midi Note Off (1) (67) (127) ::#008800
Scratch 3 needed here
Note: Roland Go:Keys plays chords and rhythms while sending real time Midi clock
Last edited by CoolGamesNet (July 31, 2019 13:08:26)
New to ScratchX first in January 2018 and now in April 2018 watching for Scratch 3.0 offline editor release.
Want to do MIDI music on Roland Go Keys 61k currently in ScratchX.
- pothunt
- Scratcher
31 posts
My Extension wih WebMIDI
Hello,
Aug. 4, 2019:
Before developing some requests, I added Beat Oscillator.
It's HAT block and it be set tempo, 30 to 240.
Aug. 26, 2019
Ticks reporter and Rest some ticks command are added.
In this case, the resolution is 480 per beat.
Ticks reporter is reset at a measure.(=1920 ticks)
Aug. 31, 2019
The beat hat isn't need to connect to note sequence.
Because Rest command counts beats inside of the command.
Four quarter notes are described as below.
Sep. 2, 2019
NOTE ON command with duration is added.
Last numeric, 480 is duration.
the resolution is 480 per beat.
You can build 4 notes block as follows.
Scratch 3 MIDI
Aug. 4, 2019:
Before developing some requests, I added Beat Oscillator.
It's HAT block and it be set tempo, 30 to 240.
BEAT [tempo]::#0FBD8C hat
Aug. 26, 2019
Ticks reporter and Rest some ticks command are added.
In this case, the resolution is 480 per beat.
Ticks reporter is reset at a measure.(=1920 ticks)
Aug. 31, 2019
The beat hat isn't need to connect to note sequence.
Because Rest command counts beats inside of the command.
Ticks::#0FBD8C reporter
Rest (240) tickes::#0FBD8C
Four quarter notes are described as below.
BEAT [tempo]::#0FBD8C hat
forever
Note On (1)(60)(127) ::#0FBD8C
Rest (480) tickes::#0FBD8C
Note Off (1)(60)(127) ::#0FBD8C
Note On (1)(62)(127) ::#0FBD8C
Rest (480) tickes::#0FBD8C
Note Off (1)(62)(127) ::#0FBD8C
Note On (1)(64)(127) ::#0FBD8C
Rest (480) tickes::#0FBD8C
Note Off (1)(64)(127) ::#0FBD8C
Note On (1)(65)(127) ::#0FBD8C
Rest (480) tickes::#0FBD8C
Note Off (1)(65)(127) ::#0FBD8C
end
Sep. 2, 2019
NOTE ON command with duration is added.
NOTE ON (1) (60)(127)(480) ::#0FBD8C
Last numeric, 480 is duration.
the resolution is 480 per beat.
You can build 4 notes block as follows.
forever
NOTE ON (1) (60)(127)(470) ::#0FBD8C
Rest (480) tickes::#0FBD8C
NOTE ON (1) (62)(127)(470) ::#0FBD8C
Rest (480) tickes::#0FBD8C
NOTE ON (1) (64)(127)(470) ::#0FBD8C
Rest (480) tickes::#0FBD8C
NOTE ON (1) (65)(127)(470) ::#0FBD8C
Rest (480) tickes::#0FBD8C
end
Scratch 3 MIDI
Last edited by pothunt (Sept. 2, 2019 21:45:14)
- Discussion Forums
- » Developing Scratch Extensions
- » My Extension wih WebMIDI