Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New extension (Jazzmidi) #770

Closed
wants to merge 13 commits into from
28 changes: 28 additions & 0 deletions docs/ziqian11/jazzmidi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Jazz-Soft Midi

This extension allows communication with midi ports and virtual ports

## Blocks

```scratch
Open Jazz MIDI port :: #e8b62d
```
Opens the first avalible port
---
```scratch
play note (60) with velocity (127) for (1) seconds on channel (1 v) :: #e8b62d
(channel 10 is the percussion channel)
```
Plays a MIDI note at the specified velocity
(velocity ranges from 0 to 127, note 60 if middle C)
---
```scratch
set instrument to (0) for channel (1 v) :: #e8b62d
```
Sets the instrument for the specified channel
(instrument values range from 0 to 127)
---
```scratch
(port name) :: #e8b62d
```
returns the port that is active
119 changes: 119 additions & 0 deletions extensions/ziqian11/jazzmidi.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions images/ziqian11/jazzmidi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.