@@ -45,7 +45,7 @@ class InputPanel(wx.Panel): | |||||
wx.Panel.__init__(self, parent) | wx.Panel.__init__(self, parent) | ||||
sizer = wx.BoxSizer(wx.HORIZONTAL) | sizer = wx.BoxSizer(wx.HORIZONTAL) | ||||
label = wx.StaticText(self, label="Line In:") | |||||
label = wx.StaticText(self, label="Line in:") | |||||
font = label.GetFont(); font.SetWeight(wx.BOLD); label.SetFont(font) | font = label.GetFont(); font.SetWeight(wx.BOLD); label.SetFont(font) | ||||
sizer.Add(label, 0, wx.TOP|wx.BOTTOM|wx.RIGHT, 5) | sizer.Add(label, 0, wx.TOP|wx.BOTTOM|wx.RIGHT, 5) | ||||
@@ -1,16 +1,12 @@ | |||||
// Effects chain | // Effects chain | ||||
Gain mixer => dac; // Main mixer | |||||
adc => Gain adcThru => mixer; // Monitor the input | |||||
adc => Gain feedback => DelayL delay => feedback; // Delay line | |||||
delay => Gain delaySend => mixer; // Connect delay to mixer | |||||
adc => LiSa s => dac; | |||||
1::second => s.duration; | |||||
0::second => s.recPos; | |||||
1::second => s.playPos; | |||||
s.loop(1); | |||||
s.loopRec(1); | |||||
s.play(1); | |||||
// Delay parameters | |||||
2::second => delay.max; | |||||
1::second => delay.delay; | |||||
.98 => feedback.gain; | |||||
1 => delay.gain; | |||||
.5 => delaySend.gain; | |||||
.5 => adcThru.gain; | |||||
while (true){ | while (true){ | ||||
1::second => now; | 1::second => now; | ||||