wave_generator/tone_maker.py
def append_silence(duration_milliseconds=500):
    """
    Adding silence is easy - we add zeros to the end of our array
    """
    num_samples = duration_milliseconds * (sample_rate / 1000.0)

    for x in range(int(num_samples)):
        audio.append(0.0)

    return

    Adding silence is easy - we add zeros to the end of our array
    
Adding silence is easy - we add zeros to the end of our array
Adding silence is easy - we add zeros to the end of our array
def append_silence(duration_milliseconds=500):
    num_samples = duration_milliseconds * (sample_rate / 1000.0)
    for x in range(int(num_samples)):
        audio.append(0.0)
    return
def append_silence ( duration_milliseconds = 500 ) : num_samples = duration_milliseconds * ( sample_rate / 1000.0 ) for x in range ( int ( num_samples ) ) : audio . append ( 0.0 ) return
Adding silence is easy - we add zeros to the end of our array
Adding silence is easy - we add zeros to the end of our array
"""
    Adding silence is easy - we add zeros to the end of our array
    """
duration_milliseconds