Skip to content

Commit

Permalink
Add function to return a block of silence (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
reckoner165 authored Mar 18, 2019
1 parent d040377 commit 2f19c35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soundmodular.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
__author__ = 'Srinivasan'
__version_ = '1.0.1'


import pyaudio
import wave
Expand Down Expand Up @@ -356,7 +358,6 @@ def clip(block, ratio, gain):

return out_block

@staticmethod
def silence(self, duration):
"""
Silence - returns an empty audio block of specified duration to create silence
Expand Down

0 comments on commit 2f19c35

Please sign in to comment.