Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-07-20 20:34:30 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-07-20 20:34:30 (GMT)
commitbc100e8d3df948251606fab441dc384e5fa9e319 (patch)
tree8ff713734f71dd0466941efa1068a09aea72dce2
parent2a3769412fe6dd6f1c23c1759c2a55935add8e9e (diff)
mic recording (2 sec.)
-rw-r--r--Config.py8
-rw-r--r--Resources/crop.csd4
2 files changed, 6 insertions, 6 deletions
diff --git a/Config.py b/Config.py
index 3391b7b..f2a1b86 100644
--- a/Config.py
+++ b/Config.py
@@ -101,10 +101,10 @@ def _addInstrument( name, csoundInstrumentId, instrumentRegister, soundClass, ca
INSTRUMENTS[name] = Instrument( name, _nextInstrumentId[0], csoundInstrumentId, instrumentRegister, soundClass, category, loopStart, loopEnd, crossDur, kit )
_nextInstrumentId[0] += 1
-_addInstrument( "mic1", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
-_addInstrument( "mic2", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
-_addInstrument( "mic3", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
-_addInstrument( "mic4", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
+_addInstrument( "mic1", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
+_addInstrument( "mic2", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
+_addInstrument( "mic3", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
+_addInstrument( "mic4", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
_addInstrument( "lab1", INST_SIMP, MID, 'melo', 'lab', 0, 0, 0 )
_addInstrument( "lab2", INST_SIMP, MID, 'melo', 'lab', 0, 0, 0 )
_addInstrument( "lab3", INST_SIMP, MID, 'melo', 'lab', 0, 0, 0 )
diff --git a/Resources/crop.csd b/Resources/crop.csd
index 9662047..03b10a5 100644
--- a/Resources/crop.csd
+++ b/Resources/crop.csd
@@ -30,8 +30,8 @@ krms rms ain
if ktimer > 40 then
ktrig trigger krms, 1500, 0
if ktrig == 1 then
- event "i", 3, 0, 1
- event "i", 4, 1, 0.01
+ event "i", 3, 0, 2
+ event "i", 4, 2, 0.01
turnoff
endif
endif