Custom Firmware on the OP-1

  • MIDI sequencer (opt-in: clock screen + T2, green knob MIDI SEQ ON): SEQ + TAPEopens a 4-track MIDI recorder that runs with the tape (same position, play / stop, loop, markers). T1–T4 select the track (Shift: mute), hold REC to record the selected track (Shift + REC latched), white press switches between the track’s input and output, white turn chooses I (keyboard), S (stock sequencers / arpeggio), M1–M16 (USB MIDI channel) as input and I (instrument), S (stock sequencer), M1–M16 (USB MIDI out) as output. Scissors sets the selection start / end, lift cuts it from the track (Shift + lift: all tracks) and moves the playhead to the first note, drop pastes at the playhead. Notes and CCs, saved in one song file; TAPE leaves the view

:hand_with_index_finger_and_thumb_crossed:t3::hand_with_index_finger_and_thumb_crossed:t3::hand_with_index_finger_and_thumb_crossed:t3:

2 Likes

iam right by thinking the order of development is by now a contribution to @popcorp that will lead to an updated @Hundekraft build and that will result in the final OS, no?

I think it’s still on opr30 as a base and theremin, midi etc isn’t included?

close, but not quite. “automatic safety checks” have taken from what should have amounted to a few minutes to many hours of wasted time and usage. — its the ai safety scare, and ai doomers — working on firmware as a personal project on an arguably outdated musical device. it’s sad. it doesn’t matter how many times you tell calude (opus 5.5 high), it still doesn’t get it. still stops me at random moments. claude doesn’t give you usage credit or monetary credit for such stoppage either. i might switch to grok on the 21st when my month expires

edit in fact as i was writing this reply this happened in the background:

The automated safety check stopped me again, this time while I was writing the audio-check script for D4 v2. As I promised, I’ve stopped, and I won’t try to rewrite that piece myself.

Since it has now stopped twice, I’d rather not keep pushing on the remaining checks in this session. I can safely record F1 and F2 in the notes as checkpoint s22 c5 and package everything so far, so you can pick up from here later. Would you like me to do that?
1 Like

midi tape is pretty crazy, need to hook it up to them analogs

3 Likes

Are the notes on the tape played by a synth/drum engine? Can you have multiple engines at once?

Edit: looks like 4 separate midi tracks? Can you assign a different engine to each?

Open weights models FTW. GLM, Kimi, etc.

1 Like

I’d assume this would be harder on the CPU though, yes? The OG-1 uses an older generation Blackfin processor with a single core AFAIK. The beauty of recording to the “tape” was that it was just audio then to playback. Now with trying to run multiple engines at the same time, more like the XY I’d assume to hit the processing limits and see/hear audio drop outs sooner.

This is REALLY cool though.

four track with assignable inputs / outputs (midi, instrument, sequencer). Only one engine can be active. It records notes and CCs, each track can fit 60-120k events, depending on the timing (but such extreme scenario wasn’t tested of course). It needs some testing though, for example controlling synth/fx params using CCs. With heavy CPU load I’ve encountered crashes.. there’s still space for optimization.

it takes some processing power, that’s why it is possible to disable it completely

2 Likes

YES! - I’ve never understood why they broke the op-lab after 242. I’ve been back and forth to 242 for a long time foregoing the USB audio to be able to get the op-lab operational when needed.

2 Likes

Is the limitation to 1 engine intentional/due to performance? I managed to run 2 engines from 2 seperate midi tracks at the same time. Unless limitation is intentional, I can take a stab at that later.

there isn’t much budget left if you run more expensive engine or fx. The midi recorder note scheduling also runs in the audio thread. If you know what you are doing then sure, you can render two engines in parallel, but having 2x strings 6 voices each + 2x palme + clouds on output and you will definitely start getting audio drops.

to have the best UX I’d enable 2 engines only if we could reliably measure engine’s worst case scenario. Then at least you could give user a warning if the combination of engines is too much for the CPU.

I also tried some optimization but the only thing that reduces CPU load in a meaningful way is to drop FPS - currently the display is rendering at 60 FPS

2 Likes

I think the midi tape is pretty performative as is (of course there are little bugs that everyone is aware of and it’s better to have that exact concept from today, optimized so it’ll be perfect instead of trying to recreate the XY in sampling, the new sequencer additions are pretty musical and revolutionary on the og1.

the midi tape should allow to record rytm pad movement (which is a combination of different messages, velocity, aftertouch…) or the joystick of the A4 (pitch bend, breath control etc) and CCs from the knobs.

it’s pretty nice to sample the midi notes and then play with the loop points and such, just like you do with audio. the implementation is pretty tight and a lot of fun really!

regarding the 60fps, we’ve ever been talking about a PO mode where the OP1 would have better performance and fx by simply reducing the graphics to the PO characteristics so they would act more static but as dynamic as it is by now (in terms of information)

I think we said things like make it an epaper display and bla bla where a lot of it is the XY today..

I think to reduce the fps will also result in less visible “lag” big time :woman_surfing:t3:

Yes, finding this now with Gin, the Tonic engine on it. I’m having to do a lot of optimisation to get it working without audio dropouts.

2 Likes

Tape library is working. Unlimited tapes can be saved and recalled (depending on available space). I’ve created an .OTL file type, OP-1 Tape Library. It’s the snippets of audio from each track and metadata to know where it goes. In this way saving tapes is sparse, i.e. we don’t save the full 120MB+ if there’s only 10sec of audio on a tape.

Also working on tape styles like the Field. Have the four base ones like the Field ready, just working on Vinyl now.
vinyl-tape-mounted-20s

I thought the Vestax Handy Trax style suited the OP-1.

12 Likes

everything needs to be done in fixed point arithmetics, no 64 bit ops, modulo, division.. fun stuff!

2 Likes

Yes. There’s also some other preexisting Blackfin DSP libraries and examples on GitHub that I’ve examined that help too.

love the graphics. other option for tape saving mechanism is to use a losless compression algorithm to squash the silence parts while keeping audio data intact and just compress the whole track file.

1 Like

Hmm, good idea. Would make the tapes more portable too.

Edit: the sparse format is really quick too though as we only save the areas that have audio. Having the 4x 6min tracks means we need to process all 24min of audio.

I’ve been aiming for a good UX and for users not to wait minutes to save/switch tapes.

2 Likes

:heart_eyes::heart_eyes::heart_eyes:

1 Like

That’s exactly the approach I’m using for my custom from scratch firmware. Still only planning stage with a custom firmware flash test success. You get around 7-8 times the amount of audio on a tape. AKA 8 tracks instead of 4 for example.

3 Likes