Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/turtle_blocks_extras/turtle_blocks_extras.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-11-22 12:48:33 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-11-22 12:48:33 (GMT)
commit6220e82a32c9e448236abc3fc6c33927d7a230a7 (patch)
tree96517906406235fea4c852d2ca8068801eeca87c /plugins/turtle_blocks_extras/turtle_blocks_extras.py
parent638001245a0f996d98f7a4c430c0acc58b883091 (diff)
suppress verbose csound output in log
Diffstat (limited to 'plugins/turtle_blocks_extras/turtle_blocks_extras.py')
-rw-r--r--plugins/turtle_blocks_extras/turtle_blocks_extras.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
index 1406407..2ffa3c1 100644
--- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py
+++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
@@ -1107,8 +1107,10 @@ bullets'))
'tmp.csd')
else:
path = os.path.join('/tmp', 'tmp.csd')
- self._audio_write(path) # Create a csound file from the score.
- os.system('csound ' + path) # Play the csound file.
+ # Create a csound file from the score.
+ self._audio_write(path)
+ # Play the csound file.
+ os.system('csound ' + path + ' > /dev/null 2>&1')
def _play_sinewave(self, pitch, amplitude, duration, starttime=0,
pitch_envelope=99, amplitude_envelope=100, instrument=1):