Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #37894
| Newsgroups | comp.lang.javascript |
|---|---|
| Date | 2019-11-13 00:00 -0800 |
| References | <ff0b7143-9637-47df-9c1e-3c65f7a6042f@googlegroups.com> <h2vi5nFoljkU1@mid.individual.net> <1c9f0181-2945-42da-9a41-a0fae9abbc43@googlegroups.com> |
| Message-ID | <d7573265-1825-47f8-a77e-8a2bfdd23bc5@googlegroups.com> (permalink) |
| Subject | Re: Looking for a MIDI file parser acknowledging how broken javascript become. |
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
Den onsdag 13 november 2019 kl. 08:56:34 UTC+1 skrev Jonas Thörnvall: > Den tisdag 12 november 2019 kl. 12:08:47 UTC+1 skrev Arno Welzel: > > On 08.11.19 07:18, Jonas Thörnvall wrote: > > > > > It is a sad story of human stupidity. Basicly a midifile is messages > > > there is timed messages and data messages. The idiots building their > > > parsers using fig lingo. It is fucking tedious implementing parsers, > > > but when the endresult coming out of parser is harder to use then > > > make a parser of ones own, one wonder a bit of the state of matter. > > > > > > How fucking hard can it be to store the messages as strings in an > > > array? The hard part is reading out the fucking files. > > > > Keep in mind that MIDI was introduced more than 35 years ago in August > > 1982. At that time computers (including those in synthesizers) where not > > that powerful and did not have a lot of memory - we talk about > > kilobytes, not megabytes. > > > > Also see: > > > > <https://www.csie.ntu.edu.tw/~r92092/ref/midi/> > > <http://www.somascape.org/midi/tech/mfile.html> > > > > > Not fucking get them into an array of messages. Each message is > > > simple to parse, no but the fucking monkeys must create objects for > > > this and that, so now i have to make a parser that not made for > > > monkeys playing with figo lingo.... > > What "objects" are you talking about? Is your rant about > > <https://www.npmjs.com/package/midi-parser-js>? > > > > Then go ahead and write your own parser. > > > > > > -- > > Arno Welzel > > https://arnowelzel.de > > I need some help though i see when i look at it, the notes and instruments, where is the channel information? > > Normally?? the instrument channel is the first byte in a message ranging 192-207. At least that is how i change the instrument on a midichannel on my hardware. > > And the notemessage first byte, lets use both ON 144-159 and OFF 128-143 "they use duration here instead of "OFF" works fine with me". > > But i can't see these messages for channel in the textoutput where do they hide? > > https://tonejs.github.io/Midi/ Well maybe i got a file using only one channel nah that can't be i see drums as instrument.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-07 22:18 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2019-11-08 04:11 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Arno Welzel <usenet@arnowelzel.de> - 2019-11-12 12:08 +0100
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-12 10:21 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-12 21:48 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-13 03:55 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-13 03:56 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Arno Welzel <usenet@arnowelzel.de> - 2019-11-14 08:19 +0100
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-14 01:35 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-12 23:56 -0800
Re: Looking for a MIDI file parser acknowledging how broken javascript become. Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-11-13 00:00 -0800
csiph-web