News for hackers. Stuff that matters.
Re:How will MIDI 2.0 change music? (2020) by romwell on Saturday October 30, 2021 @05:38PM (#29052478)
Number big, protocol better!

Ever heard of NRPN, my friend?

There's a reason why this part of the MIDI spec is rarely used. And the reason is that the musicians don't need it.

If you can hear stepping on your pitch bend or filter, it's not because MIDI, it's because the implementation on your device is stupid.

Re:How will MIDI 2.0 change music? (2020) by nitrogen on Saturday October 30, 2021 @06:03PM (#29052648)
If you're using only one 7-bit CC (and not an MSB/LSB pair) to control a filter cutoff parameter that can range from 20Hz to 20kHz, it's not possible to dial in the exact frequency you want to match a particular harmonic.
Re:How will MIDI 2.0 change music? (2020) by jmull on Saturday October 30, 2021 @05:47PM (#29052553)
Yup. MIDI 2: solving problems musicians don't have and creating new problems! (Excessive complexity -- MIDI 1 was hard enough to implement. MIDI 2 is telling everyone to jump 10ft high -- good luck with that.)
Re:How will MIDI 2.0 change music? (2020) by mrandish on Saturday October 30, 2021 @06:22PM (#29052745)
I agree that many of the things in MIDI 2.0 don't seem directly relevant to the bread-and-butter musicians, composers, mixers, producers and DJs who are the ultimate users. The numeric bumps in resolution, data and packets are all conceptually fine but it's not like they are addressing the standards gaps most holding back users and forward innovation.

Personally, I was disappointed they didn't even make a stab toward addressing higher layers in the stack like standardizing multi-channel mixing control beyond the ancient 'defacto' Mackie HUI format or some attempt at a framework for software plugins running on hosts to display GUI on controllers (even something very open/extensible ala HTML/CSS). That could have unleashed waves of innovation from indie and smaller developers.

Re:How will MIDI 2.0 change music? (2020) by ace2358 on Saturday October 30, 2021 @07:45PM (#29053207)
Maybe I’m old fashioned but keep html/css the heck of my music instruments please and thank you.
Re:How will MIDI 2.0 change music? (2020) by md8z on Sunday October 31, 2021 @12:16AM (#29054426)
The suggestion was for a GUI running on the host, not on the instrument...
Re:How will MIDI 2.0 change music? (2020) by capableweb on Saturday October 30, 2021 @06:34PM (#29052829)
> MIDI 1 was hard enough to implement

MIDI 1 is one of the easiest protocols I've ever interfaced with myself. Getting started on any platform is easy, the API is not that large and it's relatively straightforward. You can on Linux write bytes directly to /dev/midi and get up and running really quickly, and the specification is not that big. See https://ccrma.stanford.edu/~craig/articles/linuxmidi/ for some examples.

What did you find hard in implementing MIDI 1? Would be nice to hear the opinion for something I haven't heard in real life (yet?).

Re:How will MIDI 2.0 change music? (2020) by PaulDavisThe1st on Saturday October 30, 2021 @07:35PM (#29053136)
Parsing running status + sysex + system RT messages is non-trivial.

A full state machine for MIDI is much more complex than it tends to initially appear. But yeah, it's not rocket science. It's not even as hard as grappling with std::move()

Re:How will MIDI 2.0 change music? (2020) by md8z on Sunday October 31, 2021 @12:22AM (#29054455)
Maybe the core specification isn't that big a deal if you're just trying to get started writing some note on/off messages, but the full set of specifications with all the controllers and sysex messages and extensions and supplements is pretty long: https://www.midi.org/specifications-old/item/the-midi-1-0-sp...

And you can add in that vendors also have weird proprietary sysex messages a lot of the time. Also I second a sibling comment here, there are a decent number of gotchas with the state machine.

Re:How will MIDI 2.0 change music? (2020) by atoav on Sunday October 31, 2021 @06:21AM (#29055938)
> If you can hear stepping on your pitch bend or filter, it's not because MIDI, it's because the implementation on your device is stupid.

Or because you are stepping across 5 octaves instead of just one.

Re:How will MIDI 2.0 change music? (2020) by sova on Sunday October 31, 2021 @11:07AM (#29057496)
I have not heard of NRPN until now. Thanks for the pointer. Adding frequency support for any frequency and adding whole-number ratio harmonizing would have been preferable to me personally.