tidalcycles / Tidal

Pattern language
http://tidalcycles.org/
GNU General Public License v3.0
2.27k stars 255 forks source link

SuperDirt MIDI Tutorial not working #624

Closed songproducer closed 4 years ago

songproducer commented 4 years ago

Describe the bug When running:

d1 $ n "0 2 4 7" # s "midi"

SuperCollider errors:

no synth or sample named 'midi' could be found

To Reproduce Steps to reproduce the behavior: In SC:

MIDIClient.init;
~midiOut = MIDIOut.newByName("IAC Driver", "IAC Bus 1");
~dirt.soundLibrary.addMIDI(\midi, ~midiOut);

In Atom:

d1 $ n "0 2 4 7" # s "midi"

Expected behavior Hear sounds

Environment (please complete the following information):

kindohm commented 4 years ago

@songproducer when you run each SC line one by one:

MIDIClient.init;

~midiOut = MIDIOut.newByName("IAC Driver", "IAC Bus 1");

~dirt.soundLibrary.addMIDI(\midi, ~midiOut);

What is the output in the SC post window?

The message "no synth or sample named 'midi' could be found" is a clue that SC isn't connecting to your MIDI device successfully. Hard to know for sure without seeing any potential errors in the SC output.

songproducer commented 4 years ago

-> MIDIClient -> a MIDIOut -> a DirtSoundLibrary

yaxu commented 4 years ago

I can't reproduce this, I'm afraid.

songproducer commented 4 years ago

No worries I think I was trying to make it work with the iac bus but I got it working today with a hardware synth so happy to close this