Page 1 of 1
Memory slot detection
Posted: Fri Aug 16, 2024 9:38 pm
by Chan649
Hi everyone,
I recently found out that the linnstrument does not store some light settings in its 6 memories. To overcome this limitation I have made a max 4 live patch that is able to change the memories and set the lights as I need. I can control which memory slot is selected from either from the patch or from the linnstrument itself using the PC messages or the two switches (CC). However it would be nice to detect when a memory slot has been selected in the linnstrument and make the lights go accordingly. I have seen there is a bunch of midi data sent each time a memory slot is selected, that I could use for that. But before getting to study number by number, does anyone know which messages would be better suited for this purpose? Ideally not tied to the configuration of the memory, to avoid changing some parameter in the future and breaking the detection.
Thanks!
Re: Memory slot detection
Posted: Fri Aug 16, 2024 9:43 pm
by Roger_Linn
Please visit the LinnStrument Support page and click "MIDI Implementation".
Re: Memory slot detection
Posted: Fri Aug 16, 2024 9:46 pm
by Chan649
Hi Roger, I have done that, all the way to the midi.txt file, which I used a lot for the m4l patch. But I have not found the answer to that? May I have overlooked something?
Re: Memory slot detection
Posted: Mon Aug 19, 2024 10:56 pm
by Roger_Linn
To be clear, I think you are asking if, when you load one of the 6 "All Settings" memories from flash into LinnStrument's RAM by pressing one of the 6 blue buttons on the right side of the Preset screen, either 1) LinnStrument sends a message to indicate that it has just made such a copying operation, or 2) if it is possible to query LinnStrument from an external computer in order to learn that last time that such a copy operation was made.
If this is your question, I'm sorry to report that LinnStrument does neither. But you're welcome to change the source code to add your desired feature. If you'd like to learn my guiding principle for adding software features, it's on the LinnStrument FAQ page, "General" tab, FAQ "Can you add this feature ________?".
Re: Memory slot detection
Posted: Tue Aug 27, 2024 8:49 am
by Chan649
Thanks Roger! yes, 1). The idea is that Max for live can get a message from linnstrument when one of the slots is selected, so Max can configure custom light settings accordingly via CC messages.
I have already a Max patch that can change the memory slot via NRPN and then configures the lights, In fact, the patch colors the panel for drums (i.e. in groups of 4x4, similar to a novation launckkey, maschine, etc) for certain slots and revert to the default for others more synth oriented. It would be wonderful to make the same operation from linnstrument: change the slot in the panel -> Max receives the message -> Max sends the CCs and colors the surface.
I have been taking a look at the code and seems feasible. I will report back when I have something. If anyone is interested in the max patch, let me know and I will share it.
Re: Memory slot detection
Posted: Tue Aug 27, 2024 3:50 pm
by Roger_Linn
I’m glad you’ve found where to implement your feature in the code.
Re: Memory slot detection
Posted: Wed Aug 28, 2024 5:41 am
by Tj Shredder
Chan649 wrote: Tue Aug 27, 2024 8:49 am
I have already a Max patch that can change the memory slot via NRPN and then configures the lights, In fact, the patch colors the panel for drums (i.e. in groups of 4x4, similar to a novation launckkey, maschine, etc) for certain slots and revert to the default for others more synth oriented.
Would you mind to share your Max patch? Could also be on the Cycling74 forum as inline with a link here (or both ; - )
And there is the new Linstrument Wiki…
Re: Memory slot detection
Posted: Fri Aug 30, 2024 8:43 am
by Chan649
Sure thing! Here it is:
https://drive.google.com/file/d/1G96nr6 ... sp=sharing
It is a bit specific to my needs but happy to help anyone modify it to suit other purposes. A bit of explanation:
- It changes memory slots suing NRPN. These buttons can be midi mapped. I have them on linnstrument switch 1 and 2. The patch also configures these switches at start up for this, but this feature can be easily removed from the patch by deleting "p set switch 1 and 2 Linn"
- All memory slots revert the colors to the default (i.e. stored settings in linnstrument) except for the 6th, which creates a sort of drum pad colouring from C1. My 6th preset is configured to have a major third interval (i.e. like MPC, Maschine and other common drum pads) and to be regular MIDI on split 1 and MPE on split 2. Where to change the preset with the drum mode is documented in the patch
- It can also color any preset as a drum mode using the "drum mode" button, and also revert to default using the "Revert" button
- It has a feature to send a specific color to a pad, just for fun
- It blocks midi thru since I prefer to have this devices on separate tracks and in general it is a good practice to avoid unintended midi loops, but if needed it is as simple as wiring midiin to midiout in the patch. The track must send midi out to the Linnstrument.
I did not know about the wiki for Linnstrument, but happy to contribute where I can.
Re: Memory slot detection
Posted: Sat Aug 31, 2024 1:53 am
by FranklyFlawless
Tj Shredder wrote: Wed Aug 28, 2024 5:41 am
And there is the new Linstrument Wiki…
Chan649 wrote: Fri Aug 30, 2024 8:43 am
I did not know about the wiki for Linnstrument, but happy to contribute where I can.
Which is currently marked as inactive:
This wiki has had no edits or log actions made within the last 45 days and has been automatically marked as inactive. If you would like to prevent this wiki from being closed, please start showing signs of activity here. If there are no signs of this wiki being used within the next 15 days, this wiki will be closed in accordance to the
Dormancy Policy (which all wiki founders accept when requesting a wiki). If this wiki is closed and no one reopens it 135 days from now, this wiki will become eligible for deletion. Note: If you are a bureaucrat, you can go to
Special:ManageWiki and uncheck "inactive" yourself.