pysynth/temp.py
def stream_data(data, time=None):

    """
    Streams data to PyAudio.
    Data is a oscillator we iterate over

    :param data: Data to stream
    """

    for num, i in enumerate(data):

        #print(i)

        stream.write(struct.pack('f', i))

        if time and num > time:

            # We are done

            return

    Streams data to PyAudio.
    Data is a oscillator we iterate over

    :param data: Data to stream
    
Streams data to PyAudio.
Data is a oscillator we iterate over
Streams data to PyAudio . Data is a oscillator we iterate over
def stream_data(data, time=None):
    for num, i in enumerate(data):
        stream.write(struct.pack('f', i))
        if time and num > time:
            return
def stream_data ( data , time = None ) : for num , i in enumerate ( data ) : stream . write ( struct . pack ( 'f' , i ) ) if time and num > time : return
Streams data to PyAudio.
Streams data to PyAudio .
"""
    Streams data to PyAudio.
    Data is a oscillator we iterate over

    :param data: Data to stream
    """ #print(i)
 # We are done

data
Data to stream
Data to stream
time