Last active
April 11, 2024 19:18
-
-
Save dqgorelick/13b58e4f56a0c7c24dfd64357bfeb002 to your computer and use it in GitHub Desktop.
tidal server simple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SuperDirt.start // start server | |
Server.killAll // kill server | |
Quarks.gui // open samples folder | |
// set inputs & outputs | |
// you will need to kill the server and restart when changing the input / output | |
// list all devices: | |
ServerOptions.inDevices; // list input devices | |
ServerOptions.outDevices; // list output devices | |
// list specific output device | |
ServerOptions.outDevices[1] | |
// set output device | |
Server.default.options.outDevice_(ServerOptions.outDevices[1]) | |
Server.local.options.outDevice_(ServerOptions.outDevices[1]) | |
// set inputs | |
ServerOptions.inDevices; //input devices | |
Server.default.options.inDevice(ServerOptions.inDevices[0]) | |
Server.local.options.inDevice_(ServerOptions.inDevices[0]) | |
// Setup MIDI (note – you have to set up a MIDI bus in settings | |
MIDIClient.init; | |
MIDIClient.restart; | |
( | |
~midiOut1 = MIDIOut.newByName("IAC Driver", "synth"); | |
~dirt.soundLibrary.addMIDI(\synth, ~midiOut1); | |
~midiOut1.latency = 0; | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment