Ask Your Question

How to deal with differing defaults across Tidal/TidalMIDI?

asked 2016-06-13 03:49:09 -0500

lennart gravatar image

When reusing existing parameters from Tidal in a MIDI mapping, defaults can be kind of useless or counterintuitive.

For example, cutoff is by default 0 and the logic withing Dirt and SuperDirt will only read its value as soon as resonance is also specified (at least this was the case at some point).

However, TidalMIDI currently has no such logic and therefore a cutoff of 0 might lead to absolute silence, when omitting the param in a pattern (depending on the device used I guess).

I am not really sure how to best deal with this, since param reuse reduces mental overhead (at least for me).

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-06-13 03:51:58 -0500

lennart gravatar image

To partially answer my own question, I used this approach to work around the issue:

myShape = ControllerShape {
  controls = [
    mCC cutoff_p' 33
  latency = 0.1

(_, cutoff_p') = pF "cutoff" (Just 1)

This allows me to specify a different default for this param, while still being able to use cutoff when creating patterns.

edit flag offensive delete link more


I think this makes sense by letting the specific tidal-midi module define how the defaults should be handled.

kindohm gravatar imagekindohm ( 2016-06-13 08:58:18 -0500 )edit

@kindohm did you flag this question as the _correct_ or has this happened since I answered my own question?

lennart gravatar imagelennart ( 2016-06-13 15:26:50 -0500 )edit

answered 2016-06-13 11:56:48 -0500

bgold gravatar image

The current situation even in Dirt and SuperDirt is a little weird. You can specify defaults in Tidal, but AFAIK these are only ever used in Dirt, where the OSC message is huge structure of all parameters. SuperDirt has moved to key-value type OSC messages, where params not specified in Tidal aren't in the OSC message at all, and it's up to SuperDirt to decide how to deal with that (including what to use for default values).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-13 03:49:09 -0500

Seen: 178 times

Last updated: Jun 13 '16