The Midi & Lua "book"

Hi,

I have been struggling with COVID for over a week now, which makes it difficult for me to sit in front of my work computer.

I have tried to use some of the bed time to make progress on the companion book for the Electra One MIDI controllers. I have been focusing on the chapters that do not require taking many screenshots or hands-on work with the controller, ie. boring but necessary parts. Still, if anyone would like to take a look, feel free to visit: Electra One MIDI & Lua Crash Course | Electra One Documentation, I publish the updates as I go.

The book has three sections:

  1. MIDI
  2. Lua
  3. Projects that demonstrate how to apply what’s covered in the first two parts

I have quite a few ideas for projects to include: from simple uses of formatters, to efficient use of the parameterMap, and more advanced graphics and custom controls. That said, please feel free to share your wishes or suggestions here. I will do my best to take them into account.

Martin

EDIT: Some chapters are fully complete, while others still contain merely notes on what I want to elaborate there in more detail.

15 Likes

Hi @martin ,

It might be useful to give more info here about the number precision supported in the specific lua implementation on the E1 hardware. Such as:

  • Is it double precision floating point (ie 64 bits) ?
  • What is the largest integer number that can be represented in a E1 lua script?

Related info (though not sure where this info would go), what is the maximum value range technically possible in a E1 control (aside from 7 bit / 14-bit MIDI, what about a “Virtual” control?) .. what is the largest range of min / max values supported for a E1 fader or dial? Does it go beyond 14 bit precision (16385) ?

Good to see some of this content being written, will be a big help for some preset authors (and to be fed into LLLMs too, no doubt).

1 Like

Hope you’re feeling better Martin.

1 Like

Pretty nice content based upon a quick read. Hoping you used an ai to help.

Fell better soon!

1 Like

@Songsta @Quelectra thanks! I tried working on Friday, it did not go well. But now, I am at the workshop and I hope it is behind me. It was quite unpleasant thought.

I use it to correct the language but I am trying to write as much of the text by myself as I can - I do not like the wording the AI generates.

2 Likes

I started getting into the updated book over the past week and I’m really impressed by how well-written it is… I was not expecting to actually enjoy the read. It’s definitely some of the best technical writing I’ve come across recently, and one of the better midi primers I’ve come across.

6 Likes

Thank you for your kind words. I am trying to reflect on what I have learned over 25 years of messing around with MIDI. Of course, it is not for everyone. The goal is to be right on the edge of being technical enough to use it on the E1 while not becoming too technical.

The next chunk, which will complete the MIDI part, is coming next week. Then I will move on to Lua. That will be exciting :slight_smile:

2 Likes