Skip to content

CoolGames/scratch3webmidi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Explanation for Scratch 3 MIDI

This extension is for using a MIDI device like a MIDI Controller through Scratch3. It's made by Web MIDI API. This API is one of the HTML5 functions defined by W3C.

Application page is Web MIDI Scratch 3

Reference

Preparation

Please Use Chrome. This extension is able to use only on Chrome. The other browsers are not supporting Web MIDI API now, April 2016. Do you know MIDI? MIDI is a protocol for connecting between MIDI Devices or a MIDI device to the PC. If you don't know, please see like a following page.

Before you try to use these extensions, you should connect a MIDI device to your PC via USB. After you connect a MIDI device, you launch Chrome browser. Because Chrome browser finds the MIDI device when it launches.

Usage

  • Open Scratch 3 Editor from here
  • Push the under-left icon.

alt

  • Select Web MIDI Extension form Extension list

alt

  • You can find Web MIDI blocks under the block paret.

alt

HAT Block

  • alt indicates all midi event

  • alt indicates note on event

  • alt indicates note off event

  • alt indicate pitch bend event

  • alt indicate program change event

  • alt indicate control change event

  • alt indicates note on event with note number

reporter block

  • alt Note Number

  • alt Velocity

  • alt Pitch Bend

  • alt Control Change Value

  • alt Program Number

Boolean reporter

  • alt MIDI event

    • 'key on' --- key on event
    • 'key off' --- key off event
    • 'cc-chg' --- control change event
    • 'p-bend' --- pitchbend event
    • 'pg-chg' --- program change event

Note On Message

  • alt
    Genarates a MIDI NOTE ON message. The first parameter is a channel number, the second one is a note number and last one is a velocity. Normary the velocity is zero means note off.

Releases

No releases published

Packages

No packages published