OscSend

OscSend(input, port, address, host="127.0.0.1")

Sends values over a network via the Open Sound Control protocol.

Uses the OSC protocol to share values to other softwares or other computers. Only the first value of each input buffersize will be sent on the OSC port.

Parent class : PyoObject

Parameters:

    input : PyoObject
        Input signal.
    port : int
        Port on which values are sent. Receiver should listen on the 
        same port.
    address : string
        Address used on the port to identify values. Address is in 
        the form of a Unix path (ex.: '/pitch').
    host : string, optional
        IP address of the target computer. The default, '127.0.0.1', 
        is the localhost.

Methods:

    setInput(x, fadetime) : Replace the `input` attribute.

Notes:

    The out() method is bypassed. OscSend's signal can not be sent 
    to audio outs.
    
    OscSend has no `mul` and `add` attributes.


    >>> a = Sine(freq=[1,1.5], mul=100, add=[600, 1000])
    >>> b = OscSend(a, port=10000, address=['/pit1','/pit2'])

Methods details:

    OscSend.setInput(x, fadetime=0.05):

        Replace the `input` attribute.
        
        Parameters:

        x : PyoObject
            New signal to process.
        fadetime : float, optional
            Crossfade time between old and new input. Defaults to 0.05.