Multiple arguments fed into superimpose or echoWith function

Hi all,

Longtime lurker and tidal user for about 2-3 years now. I was hoping that someone could give me a massive assist on how to feed multiple functions into a predefined function like superimpose or echoWith (or many others).

I am controlling hardware synths or ableton with tidal and have the following code for example:

$ superimpose (rolledBy 1)
$ s "als*4"

n "<e'min7'8 a'min7'8 e'min7'8 g'maj7'8>"

In this example, s "als" is sending midi information to a VST in ableton on midi channel 1.

I was wondering if anyone has any idea how to send the midi data from the "rolledBy" function to a separate midi channel. I realize that I could achieve this by creating a separate track in tidal, but I'm hoping there is a way to do this all on the d1 channel.

For this example, I would like for the chords to play on midi channel 1 and send out all of the "rolledBy" data sent to a different midi channel.

I have tried things like:

$ superimpose (rolledBy 1 . midichan 1)
$ superimpose (rolledBy 1 || midichan 1)
$ superimpose (# rolledBy 1, # midichan 1)

I feel like there MUST be a way to do this. Any assistance would be appreciated to the max!

Thanks in advance!!


1 Like

You got pretty close - try:

$ superimpose (rolledBy 1 . (# midichan 1))

thanks so much!!

1 Like