Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
mozaic_include_active_notes_tracker [2020/07/23 02:24] – Created Active Notes Tracker (Include) _ki | mozaic_include_active_notes_tracker [2020/07/27 03:00] (current) – [Scripts using the Active Notes Tracker] Title unification _ki | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Mozaic: Active Notes Tracker | + | ====== Mozaic: |
{{tag> | {{tag> | ||
Line 33: | Line 33: | ||
Retrieval of all active notes of each channel is also quite fast. | Retrieval of all active notes of each channel is also quite fast. | ||
- | ==== Samples | + | ==== Scripts |
* The [[https:// | * The [[https:// | ||
- | * The [[https:// | + | * The [[https:// |
- | * The [[https:// | + | * The [[https:// |
| | ||
\\ | \\ | ||
===== Adding the ' | ===== Adding the ' | ||
You can either grab the snippet from one of the example scripts where you find the | You can either grab the snippet from one of the example scripts where you find the | ||
- | to-be-included snippet at the end of the scripts inbetween | + | to-be-included snippet at the end of the scripts inbetween |
Or you copy the code from the large code block at the end of this page to the end of your own script. | Or you copy the code from the large code block at the end of this page to the end of your own script. | ||
Line 120: | Line 120: | ||
< | < | ||
- | // â•”â•â•—┌─â”┌┬â”┬┬ | + | // ╔═╗┌─┐┌┬┐┬┬ |
- | // â• â•â•£â”‚ | + | // ╠═╣│ |
- | // â•© ╩└─┘ â”´ â”´ └┘ └─┘ | + | // ╩ ╩└─┘ ┴ ┴ └┘ └─┘ |
// ==== v1.0 ============================================= | // ==== v1.0 ============================================= | ||
// Manages a list of active notes, velocity and duration for | // Manages a list of active notes, velocity and duration for | ||
Line 166: | Line 166: | ||
ant_free = 0 // Next free entry | ant_free = 0 // Next free entry | ||
- | Log {📔 | + | Log {📔 ActiveNotesTracker v1.0: Initialized} |
@End | @End | ||
Line 263: | Line 263: | ||
if _c > 15 | if _c > 15 | ||
- | Log {📔 | + | Log {📔 ActiveNotesTracker v1.0: ‼️ |
endif | endif | ||
else | else | ||
- | Log {📔 | + | Log {📔 ActiveNotesTracker v1.0: ❗️ |
endif | endif | ||
@End | @End | ||
Line 283: | Line 283: | ||
if ant_note[_idx] <> MIDINote or ant_chan[_idx] <> MIDIChannel | if ant_note[_idx] <> MIDINote or ant_chan[_idx] <> MIDIChannel | ||
Log { n}, | Log { n}, | ||
- | Log {📔 | + | Log {📔 ActiveNotesTracker v1.0: ‼️ |
endif | endif | ||
| | ||
Line 325: | Line 325: | ||
else | else | ||
- | Log {📔 | + | Log {📔 ActiveNotesTracker v1.0: ❗️ |
endif | endif | ||
@End | @End | ||
</ | </ | ||