Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #40114 > unrolled thread
| Started by | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| First post | 2021-05-27 16:36 -0700 |
| Last post | 2021-05-28 03:47 -0700 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.lang.javascript
MIDI API clock synch messages. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-05-27 16:36 -0700
Re: MIDI API clock synch messages. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-05-28 03:47 -0700
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2021-05-27 16:36 -0700 |
| Subject | MIDI API clock synch messages. |
| Message-ID | <65c4a06e-dcad-4dc0-aa1d-e4c8b2d822a2n@googlegroups.com> |
When i try to send midi clock messages. clock (decimal 248, hex 0xF8) start (decimal 250, hex 0xFA) continue (decimal 251, hex 0xFB) stop (decimal 252, hex 0xFC) I get error. Running status is not allowed at index 1 (0). As i understand it these are just single status bytes that should be sent, but i tried to hangon 1 and 2 data bytes. But the result the same. Running status is not allowed at index 1 (0). So are these status bytes not supported?
[toc] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2021-05-28 03:47 -0700 |
| Message-ID | <93efcd15-8fdd-4718-8ba5-048df8249ddan@googlegroups.com> |
| In reply to | #40114 |
fredag 28 maj 2021 kl. 01:36:18 UTC+2 skrev Jonas Thörnvall:
> When i try to send midi clock messages.
> clock (decimal 248, hex 0xF8)
> start (decimal 250, hex 0xFA)
> continue (decimal 251, hex 0xFB)
> stop (decimal 252, hex 0xFC)
>
> I get error.
> Running status is not allowed at index 1 (0).
>
> As i understand it these are just single status bytes that should be sent, but i tried to hangon 1 and 2 data bytes. But the result the same.
>
> Running status is not allowed at index 1 (0).
> So are these status bytes not supported?
Basicly i just que up the clock messages with the others and send them during playup/recording.
function renderSynch(){
currentTime=0;
synchClockInterval=(timePerBAR/4)/24;
track[444].midiMess.push({
time: currentTime,
data0: 250
});
while (currentTime<600000){
track[444].midiMess.push({
time: currentTime,
data0: 248
});
currentTime=currentTime+synchClockInterval;
}
}
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web