Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #39520
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2021-02-26 10:57 -0800 |
| Message-ID | <d3dcfe12-67f1-406a-836c-aa85db5ec0den@googlegroups.com> (permalink) |
| Subject | setTimout iteration causing lag |
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
My midiplayup solution in sequenser that use setTimeout is causing lag, should i try to come up with some statistical algorithm to resolve it or should i use buffered playup and will that playup work with simultaneous recording and keyboard playback? Which route should i take change the playup or doing some statistical adjustment? I really can't find any examples of buffered playup so i really do not quite understand how it work, i guess there is a buffer with intervals in PPQ where most is empty and it somehow send messages on some of them? If so what is the PPQ "resolution" that generally fit the buffered approach? Statistics or buffers, need some advice here?
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
setTimout iteration causing lag Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-02-26 10:57 -0800
Re: setTimout iteration causing lag "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2021-02-26 15:40 -0800
Re: setTimout iteration causing lag Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-02-26 17:08 -0800
csiph-web