From 234b9ad9614ea5fb9ed30f26ec76f479e6c94ded Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Wed, 31 Dec 2014 01:54:20 +0000 Subject: [PATCH] Small changes --- main.py | 2 +- scratch.ck | 18 +++++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/main.py b/main.py index d3da441..15aaa62 100644 --- a/main.py +++ b/main.py @@ -45,7 +45,7 @@ class InputPanel(wx.Panel): wx.Panel.__init__(self, parent) 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) sizer.Add(label, 0, wx.TOP|wx.BOTTOM|wx.RIGHT, 5) diff --git a/scratch.ck b/scratch.ck index bc20aff..6c889d7 100644 --- a/scratch.ck +++ b/scratch.ck @@ -1,16 +1,12 @@ // 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){ 1::second => now;