Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #39625 > unrolled thread
| Started by | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| First post | 2021-03-11 21:43 -0800 |
| Last post | 2021-03-16 23:02 -0700 |
| Articles | 2 on this page of 22 — 4 participants |
Back to article view | Back to comp.lang.javascript
Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-11 21:43 -0800
Re: Making my own midinote sheduler? Arno Welzel <usenet@arnowelzel.de> - 2021-03-12 15:03 +0100
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-12 09:08 -0800
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-13 05:22 -0800
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-13 08:59 -0800
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-13 10:22 -0800
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-13 10:26 -0800
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-13 10:31 -0800
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-13 10:35 -0800
Re: Making my own midinote sheduler? Arno Welzel <usenet@arnowelzel.de> - 2021-03-14 18:22 +0100
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-14 11:15 -0700
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-14 13:37 -0700
Re: Making my own midinote sheduler? Silvio <silvio@internet.com> - 2021-03-15 17:49 +0100
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-15 11:06 -0700
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-15 11:12 -0700
Re: Making my own midinote sheduler? Arno Welzel <usenet@arnowelzel.de> - 2021-03-16 00:58 +0100
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-15 19:07 -0700
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-16 05:19 -0700
Re: Making my own midinote sheduler? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-03-16 06:20 -0700
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-16 08:10 -0700
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-16 08:12 -0700
Re: Making my own midinote sheduler? Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-03-16 23:02 -0700
Page 2 of 2 — ← Prev page 1 [2]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2021-03-16 08:12 -0700 |
| Message-ID | <755be0f7-3fcc-4647-befb-3ec409122daan@googlegroups.com> |
| In reply to | #39666 |
tisdag 16 mars 2021 kl. 14:20:40 UTC+1 skrev Michael Haufe (TNO): > On Tuesday, March 16, 2021 at 7:19:23 AM UTC-5, jonas.t...@gmail.com wrote: > > > setInterval using 1 ms call have a delay of 500% > You've been told multiple times now that you can't set a delay that low: > > <https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval#delay_restrictions> But it probably have use for building editors for midi devices. But as a motor providing timing of notes within an application, it is just not accurate enough.
[toc] | [prev] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2021-03-16 23:02 -0700 |
| Message-ID | <0f690bd1-8f05-4b95-a626-fbaeca2a87f2n@googlegroups.com> |
| In reply to | #39666 |
tisdag 16 mars 2021 kl. 14:20:40 UTC+1 skrev Michael Haufe (TNO): > On Tuesday, March 16, 2021 at 7:19:23 AM UTC-5, jonas.t...@gmail.com wrote: > > > setInterval using 1 ms call have a delay of 500% > You've been told multiple times now that you can't set a delay that low: > > <https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval#delay_restrictions> Ok i will end ranting about this know but i can conclude that javascript not really suitable for realtime processing of midievents. One of the more ambitiious project i found on net also suffer from same problem. https://g200kg.github.io/webaudio-tinysynth/soundedit.html Same song took 6.10 "370 seconds" to play in this project, i end up with similar result for the song which last event in reality is 329 seconds. I will do what i can by doing a histogram of latencys depending on interval between notes, "basicly a correction scheme, for the playup". "Yes that is how bad the midi API runtime abiiities is in reality, so i can see why it is not utilised more" As soon you try do do something real, you will fail.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.javascript
csiph-web