_To download: see 'Releases' tab above. Download 'Source code 'ZIP'._
### Short:

- Controls for volume, pan & tuning per sound.
- 3 tuned (low, mid and high) samples are mixed for fluid tune control .
- Hihat decay (CC56) at 0 uses static closed hihat samples. From 1 to 127 it uses the open hihat samples.
     - Starting from 1, random robin samples come into play.
- Key-switch from notes F1 to F#1 for switching between Rev.2 and Rev.3.
- CC57-switch between revisions. Lower than 65 is Rev.2 and higher is Rev.3.
- Multi-out in Sfizz.
- Tested on Sfizz (https://github.com/sfztools/sfizz-ui) & Zynthian (https://zynthian.org/).

### Long:
Linn LM-1 SFZ based on samples provided by the nice people at Samples From Mars, made available for their article involving the comparison of 2 LM-1 revisions (https://samplesfrommars.com/blogs/the-sample-journal/comparing-two-lm1s). One is black and one is grey. Quote from the article:  
"The orange LM1 (Rev.3) has a harder, punchier and faster sound (almost like a 707), while the mysterious, gray unit (Rev.2) is warmer and lazier. Something about the bass drum filters sound completely different between the two, and the cabasa is either a different sample entirely, has more distortion, pre-attack, or all of the above. The orange unit also has a modded snare sample with less pre-attack, so that it arrives a bit earlier when sequenced. All of these differences give each machine their own distinct sound, feel and pocket."

I tried to make a software equivalent of the LM-1 with the available samples. This means the controls are limited to volume, pan, tune and decay. This does not mean a limitation on the quantity of knobs to twist.

Tuning is done by utilizing the samples tuned on the LM-1 and dividing them across the CC range. Each sample gets tuned approximately 400 cents up and down. So 800 cents per sample, gives you a tuning range of about 1 octave up and 1 octave down. This fluctuates from sound to sound because not all samples where at the same pitch.  Hopefully this preserves the timbre of the original tuned sounds but you may hear a shift at the transitions.

The hihats are modeled after what the original machine did. The open hihat sample was constantly looped and when the closed hihat was played it opened up an envelope which sounded a piece from the loop. This made every hihat sound a little different and gave the machine an organic vibe. I made 13 random robin samples, from the 3 open hihat samples, with the envelope placed at a slightly different place. These work at every decay setting above 1.

### 3 types of files:
- "Linnoleum SFZ-1 Keyswitch.sfz": switch revisions from F1 to F#1.
- "Linnoleum SFZ-1 CCswitch.sfz": switch revisions with CC57. Lower than 65 is Rev.2 and higher is Rev.3.
- "Linnoleum SFZ-1 Rev.#.sfz": revisions in separate SFZ files.


---



_Editing the files:_



- _Useful changes can be made in "Modules/controls.sfz". Enable velocity tracking, change the key-mapping, outputs and CC-controls. Basic settings are explained in the file._
- _Tuning-range can be edited in "Modules/curves.sfz"._

![screenshot](foreground.jpeg "screenshot")
![screenshot](background.jpeg "screenshot")


