diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-06-19 21:07:24 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-06-19 21:07:24 (GMT) |
commit | 5c9a928310120a7ae95c6dde45b9f9ddc18c0c57 (patch) | |
tree | 6e28c3bbfd0db9b94a47eaedd330db9b196f3772 /Util/CSoundClient.py | |
parent | 8d8239216a472e798ee6c8c17253175fb976f8e5 (diff) |
Edit keyboard recording...
Diffstat (limited to 'Util/CSoundClient.py')
-rw-r--r-- | Util/CSoundClient.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Util/CSoundClient.py b/Util/CSoundClient.py index f4c8d84..64e4521 100644 --- a/Util/CSoundClient.py +++ b/Util/CSoundClient.py @@ -256,7 +256,12 @@ class _CSoundClientPlugin: instrument_id_offset = 0 elif instrument.csoundInstrumentId == Config.INST_TIED and not tied and mode == 'mini': instrument_id_offset = 0 - elif instrument.csoundInstrumentId == Config.INST_TIED and mode == 'edit': + elif instrument.csoundInstrumentId == Config.INST_TIED and tied and mode == 'edit' and duration < 0: + duration = -1 + instrument_id_offset = 0 + elif instrument.csoundInstrumentId == Config.INST_TIED and tied and mode == 'edit' and duration > 0: + instrument_id_offset = 0 + elif instrument.csoundInstrumentId == Config.INST_TIED and not tied and mode == 'edit': instrument_id_offset = 100 if instrument.csoundInstrumentId == Config.INST_SIMP and mode == 'mini': @@ -283,6 +288,7 @@ class _CSoundClientPlugin: instrument.loopStart, instrument.loopEnd, instrument.crossDur ]) + print a return a |