Skip to main content
edited tags; edited title
Link
200_success
  • 145.6k
  • 22
  • 191
  • 481

Variable length quantity algorithm Encoding variable-length quanties for MIDI

added 101 characters in body
Source Link
Aaron Anodide
  • 1.2k
  • 9
  • 16

Specification: enter image description here

Tests:

Tests:

Specification: enter image description here

Tests:

added 2 characters in body; edited title
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

can this variable Variable length quantity algorithm be improved?

I was reading about the MIDI spec and I challenged myself to implement a function to convert an int32 to a variable length quantity uint32uint32.

can this variable length quantity algorithm be improved?

I was reading about the MIDI spec and I challenged myself to implement a function to convert an int32 to a variable length quantity uint32.

Variable length quantity algorithm

I was reading about the MIDI spec and I challenged myself to implement a function to convert an int32 to a variable length quantity uint32.

Source Link
Aaron Anodide
  • 1.2k
  • 9
  • 16
Loading