macros:example:midinotes
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| macros:example:midinotes [2017/10/29 16:35] – ↷ Page moved from example:midinotes to macros:example:midinotes icke_siegen | macros:example:midinotes [2023/03/09 06:40] (current) – icke_siegen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | Example | ||
| + | |||
| ====== MIDI Note On/Off ====== | ====== MIDI Note On/Off ====== | ||
| - | ^ by: | Oliver Waits, Feb. 2016 | | + | ^ by: |
| - | ^ published: | http:// | + | ^ published: |
| - | ^ description: | + | ^ description: |
| - | ^ remarks: | Code below is shortened for better overview. For the long version - MIDI Notes 1~20 - refer to [[http:// | + | ^ remarks: |
| - | ^ | This works only with real consoles as Titan doesn' | + | ^ |
| + | {{tag> | ||
| ==== functions ==== | ==== functions ==== | ||
| * [[macros: | * [[macros: | ||
| Line 13: | Line 16: | ||
| ===== Code ===== | ===== Code ===== | ||
| + | |||
| + | There is another file available which sends note on when the macro is pressed and note off when the macro is release, for notes 1~12, here: {{ : | ||
| + | <fs large> | ||
| + | |||
| + | |||
| + | <fs large> | ||
| + | |||
| + | |||
| <code xml sendmidi.xml> | <code xml sendmidi.xml> | ||
| <?xml version=" | <?xml version=" | ||
| Line 18: | Line 29: | ||
| | | ||
| <!-- MIDI Note On --> | <!-- MIDI Note On --> | ||
| - | <macro name=" | + | <macro name=" |
| < | < | ||
| < | < | ||
| Line 24: | Line 35: | ||
| </ | </ | ||
| - | <macro name=" | + | <macro name=" |
| < | < | ||
| < | < | ||
| Line 31: | Line 42: | ||
| <!-- MIDI Note Off --> | <!-- MIDI Note Off --> | ||
| - | <macro name=" | + | <macro name=" |
| < | < | ||
| < | < | ||
| Line 37: | Line 48: | ||
| </ | </ | ||
| | | ||
| - | <macro name=" | + | <macro name=" |
| < | < | ||
| < | < | ||
| Line 50: | Line 61: | ||
| This explains the functional steps within the sequence. For all the other XML details please refer to [[macros: | This explains the functional steps within the sequence. For all the other XML details please refer to [[macros: | ||
| - | tbd | + | As macros currently don't support parameters, you need to use individual macros (which call the appropriate function with the respective parameters) per note you want to send: |
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| ===== How to use it ===== | ===== How to use it ===== | ||
| - | | + | |
| - | + | * fire the macros as you require. This might be useful for external applications which cannot be controlled by DMX/ | |
| - | tbd | + | |
| ~~DISCUSSION~~ | ~~DISCUSSION~~ | ||
macros/example/midinotes.1509294946.txt.gz · Last modified: 2017/10/29 16:35 by icke_siegen
