SoundMatchOSCServer

This class runs a UDP server that receives OSC messages containing a path to an audio file to use as a sound target for synthesizer sound matching. It returns the parameter settings as JSON inside an OSC message.

class spiegelib.network.SoundMatchOSCServer(sound_matcher, host='127.0.0.1', receive=9001, send=9002)
Parameters
  • sound_matcher (SoundMatch) – SoundMatch object to use

  • host (str, optional) – address to run server at. Defaults to 127.0.0.1

  • receive (int, optonal) – port to receive OSC messages on. Defaults to 9001.

  • send (int, optional) – port to send OSC messages on. Defaults to 9002.

start()

Start OSC server