It works fine on Windows and OSX but I really want to do it from my Raspberry Pi.
I've managed to install Tidalcycles on RPi4 using Ansible by @cleary
Running Tidal in Vim, I'm getting audio out fine and the Raspberry Pi is picking up my Drum machine as a midi device when I run MidiClient.init in Supercollider.
I get as far as sending:
d1 $ note (run 128) # s 'midi'
Which should trigger every channel of the drum machine, but nothing comes out. The same code triggers the drum machine fine from my windows and OSX machines.
Could anyone think of anything I could try to get this working? I'm super keen to start using the Raspberry Pi as a drum sequencer for my live set and I'm so very close.
Supercollider needs to know about your drum machine - in your other builds you will have modified the startup.scd
I've added some convenience to my ansible installer for this - in short,
copy /path/to/ansible-tidalcycles/vars/all.yml.ex to /path/to/ansible-tidalcycles/vars/all.yml
edit your new all.yml file
Find this section, uncomment the custom_midi_clients and add your drum machine in the same format as the examples:
# connect midi client(s) to send patterns *from tidal* (hardware, software synths/plugins etc)
# see: https://tidalcycles.org/SuperDirt_MIDI_Tutorial
# In SuperCollider get the output of:
# MIDIClient.init;
# Which will return a series Sources and Destinations in the following format:
# MIDIEndPoint("full_name", "port_name")
# livecode_name is the name you'd like to use to refer to this midi device in your tidal code
# latency is optional, and defaults to 0
#
#custom_midi_clients:
# - { livecode_name: midi0, full_name: Midi Through, port_name: Midi Through Port-0, latency: 0 }
# - { livecode_name: midi1, full_name: Focusrite USB MIDI, port_name: Focusrite USB MIDI }