-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfig.toml
More file actions
65 lines (57 loc) · 1.98 KB
/
config.toml
File metadata and controls
65 lines (57 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# The configuration file for IMPSY: Interactive Musical Prediction System
# Metadata about this configuration
title = "Roland S-1 to S-1"
owner = "Charles Martin"
description = "A self-contained config for the Roland S-1"
# Basic config
log_input = true
log_predictions = false
verbose = true
# Interaction Configuration
[interaction]
mode = "callresponse" # Can be: "callresponse", "polyphony", "battle", "useronly"
threshold = 0.1 # number of seconds before switching in call-response mode
input_thru = false # sends inputs directly to outputs (e.g., if input interface is different than output synth)
# Model configuration
[model]
dimension = 9
file = "models/musicMDRNN-dim9-layers2-units64-mixtures5-scale10.tflite"
size = "s" # Can be one of: xs, s, m, l, xl
sigmatemp = 0.01
pitemp = 1
timescale = 1
# MIDI Mapping
# MIDI Mapping
[midi]
in_device = ["S-1"]
out_device = ["S-1"]
feedback_protection = true
input."S-1" = [
["note_on", 3], # notes input
["control_change", 3, 19], # osc square level
["control_change", 3, 20], # osc tri level
["control_change", 3, 21], # osc sub level
# ["control_change", 3, 23], # osc noise level
["control_change", 3, 3], # lfo rate
["control_change", 3, 13], # osc lfo
["control_change", 3, 24], # filter env knob
["control_change", 3, 25], # filter lfo knob
# ["control_change", 3, 71], # filter reso knob
]
output."S-1" = [
["note_on", 3], # notes input
["control_change", 3, 19], # osc square level
["control_change", 3, 20], # osc tri level
["control_change", 3, 21], # osc sub level
# ["control_change", 3, 23], # osc noise level
["control_change", 3, 3], # lfo rate
["control_change", 3, 13], # osc lfo
["control_change", 3, 24], # filter env knob
["control_change", 3, 25], # filter lfo knob
# ["control_change", 3, 71], # filter reso knob
]
[osc]
server_ip = "0.0.0.0" # Address of IMPSY
server_port = 6000 # Port IMPSY listens on
client_ip = "localhost" # Address of the output device
client_port = 6001 # Port of the output device