# Anyone tried to use LMMS with Tidal?

**URL:** <https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [20 December 2020 15:11 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627 "2020-12-20T15:11:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BongLebowski](https://uzu.lurk.org/user_avatar/uzu.lurk.org/bonglebowski/32/831_2.png) [@BongLebowski](https://uzu.lurk.org/u/BongLebowski)\
**Post date:** [20 December 2020 15:11 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/1 "2020-12-20T15:11:22Z")

</div>

I am trying to build a live performing set up, and I was looking at ways to implement Midi and loops into my workflow. Ableton is probably the most used DAW as far as I have noticed, but wanted to check if anyone has tried out [LMMS](https://lmms.io/) to do the same thing?

---

<div class="post-metadata">

**Author:** ![munshkr](https://uzu.lurk.org/user_avatar/uzu.lurk.org/munshkr/32/138_2.png) [@munshkr](https://uzu.lurk.org/u/munshkr)\
**Post date:** [20 December 2020 15:16 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/2 "2020-12-20T15:16:11Z")

</div>

Haven't used LMMS myself, but I do use REAPER for VST plugins through MIDI, mixing and recording with Tidal, it's a really powerful and flexible cross-platform DAW, and even though it's commercial you can use it for free without limits (it only has a nag screen at start). It's cheap to buy though, compared to others.

---

<div class="post-metadata">

**Author:** ![BongLebowski](https://uzu.lurk.org/user_avatar/uzu.lurk.org/bonglebowski/32/831_2.png) [@BongLebowski](https://uzu.lurk.org/u/BongLebowski)\
**Post date:** [24 December 2020 19:00 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/3 "2020-12-24T19:00:16Z")

</div>

Sorry for the late reply. I have used Reaper, it's pretty good too. I am stuck in sending the midi signals to Tidal from the DAW. Can you share your steps for Reaper? Maybe I can replicate it on LMMS and give it a shot

---

<div class="post-metadata">

**Author:** ![munshkr](https://uzu.lurk.org/user_avatar/uzu.lurk.org/munshkr/32/138_2.png) [@munshkr](https://uzu.lurk.org/u/munshkr)\
**Post date:** [27 December 2020 13:29 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/4 "2020-12-27T13:29:38Z")

</div>

On Linux, ALSA registers a virtual MIDI device called "Midi Through", so I usually add a single MIDI out on SuperDirt for that device, and use plugins/instruments on different MIDI channels (you can only refer to 16 different instruments/VSTs, if you need more maybe you can use add more virtual devices in ALSA or use JACK MIDI devices I guess):

```haskell
// Setup a single MIDI synth, because we'll setup different instruments by channels
~midiOut = MIDIOut.newByName("Midi Through", "Midi Through Port-0");
~dirt.soundLibrary.addMIDI(\midi, ~midiOut);
~midiOut.latency = 0;

```

Then on Tidal I have a few helper functions for defining multiple streams for each instrument. If I know my "pad" synth is on channel 0 and my "bass" synth is on channel 1:

```haskell
let m name num chan = p (name ++ show num) . (|< s "midi") . (|< midichan chan)
    mpad n = m "pad" n 0
    mbass n = m "bass" n 1

mpad 1 $ n "[[c, e, g, b] [d, fs, a, cs]]/4"

-- change CC 8 on pad
mpad 2 $ ccv (segment 32 $ slow 2 $ range 0 127 tri) # ccn 8

mbass 1 $ ...

```

---

<div class="post-metadata">

**Author:** ![RTylerMclaughlin](https://uzu.lurk.org/user_avatar/uzu.lurk.org/rtylermclaughlin/32/2649_2.png) [@RTylerMclaughlin](https://uzu.lurk.org/u/RTylerMclaughlin)\
**Post date:** [14 October 2021 05:05 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/5 "2021-10-14T05:05:17Z")

</div>

hey @munshkr, have you had any luck using multiple MIDI devices? i’m trying to get around the 16 channel limitation of a single bus / device. (also posting this on discord. )

---

<div class="post-metadata">

**Author:** ![munshkr](https://uzu.lurk.org/user_avatar/uzu.lurk.org/munshkr/32/138_2.png) [@munshkr](https://uzu.lurk.org/u/munshkr)\
**Post date:** [15 October 2021 19:58 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/6 "2021-10-15T19:58:32Z")

</div>

I haven't really tried it, but my guess is that you can define as many as you want, like this:

```haskell
// MIDI device A
~midiOutA = MIDIOut.newByName("Midi Through", "Midi Through Port-0");
~dirt.soundLibrary.addMIDI(\midiA, ~midiOutA);
~midiOutA.latency = 0;

// MIDI device B
~midiOutB = MIDIOut.newByName("Midi Through", "Midi Through Port-1");
~dirt.soundLibrary.addMIDI(\midiB, ~midiOutB);
~midiOutB.latency = 0;

```

Then on Tidal, you use `s "midiA"` and `s "midiB"`. The name of the synth in SuperDirt must match the first argument of `addMIDI`.

---

<div class="post-metadata">

**Author:** ![RTylerMclaughlin](https://uzu.lurk.org/user_avatar/uzu.lurk.org/rtylermclaughlin/32/2649_2.png) [@RTylerMclaughlin](https://uzu.lurk.org/u/RTylerMclaughlin)\
**Post date:** [18 October 2021 07:42 UTC](https://uzu.lurk.org/t/anyone-tried-to-use-lmms-with-tidal/2627/7 "2021-10-18T07:42:18Z")

</div>

@munshkr

It is working great. Thanks for the help.

I was able to add another MIDI bus to my IAC sound card, use the SuperDirt code you shared, and control 32 MIDI channels in my DAW. Thanks. 🙂
