(length)
return data
Create a piece of silence.
Create a piece of silence.
Create a piece of silence .
def create_silence(length):
    """Create a piece of silence."""
    data = bytearray(length)
    i = 0
    while i < length:
        data[i] = 128
        i += 1
    return data
def create_silence ( length ) : data = bytearray ( length ) i = 0 while i < length : data [ i ] = 128 i += 1 return data