Python, OpenSound Control and Open Sound World - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Python, OpenSound Control and Open Sound World

Description:

Transforms are connected to form patches. Modern type system. Nested patches ... Extensible set of transforms and data types. OSW Transforms ... Activation Expressions ... – PowerPoint PPT presentation

Number of Views:105
Avg rating:3.0/5.0
Slides: 16
Provided by: pyga
Category:

less

Transcript and Presenter's Notes

Title: Python, OpenSound Control and Open Sound World


1
Python, OpenSound Control and Open Sound World
  • Amar Chaudhary, PhD

2
Outline
  • Overview of Open Sound World
  • Relationship of OSW and OSC
  • Current Status and Additional Info

3
Open Sound World (OSW)?
  • Language for expressive control of sound
    synthesis
  • Multiple levels
  • Graphical patching
  • Scripting
  • C
  • Incremental development
  • Transforms are connected to form patches
  • Modern type system
  • Nested patches
  • Hierarchical name space
  • Extensible set of transforms and data types

4
OSW Transforms
  • Every executable object in OSW is a transform
  • Inlets
  • Outlets
  • State Variables
  • Activation Expressions
  • All execution is processing in transforms or
    exchange of data between transforms
  • Patches are compound transforms
  • Nested patches
  • Hierarchical namespace

5
Transforms
  • Over 250 transforms in distribution
  • Arithmetic and mathematical functions
  • Signal processing
  • Sound-description management/manipulation
  • MIDI
  • Music/Score processing
  • Lists
  • Associative Arrays (blobs)?
  • OpenSound Control
  • Advanced synthesis
  • Additive Synthesis (sinusoidal modeling)?
  • Resonance modeling
  • Spectral modeling
  • Audio FX

6
OSW and OSC
  • OSW hierarchical namespace is a natural OSC
    address space
  • Unique address for every transform and
    inlet/outlet/state variable
  • Every element in OSW is OSC addressable
  • Every data type in OSW can be used in OSC
    messages
  • Support for arbitrary addresses (a la Max/MSP)
    via OSCRoute

7
OSC Implementation
  • Bidirectional
  • Client
  • Server
  • Return messages
  • Type Tags are mandatory
  • Extended types for signals (float, int16, int32),
    complex
  • Arbitrary OSW types via blobs, lists, strings
  • Query system Schmeder, 2003
  • Names, types, documentation/help, etc.

8
OSW as OSC Server
  • Manipulate OSW system and transform hierarchy
    remotely via OSC
  • Exploration of OSW patches
  • Inspect/modify state variables (inlets, outlets)?
  • Add/remove/connect transforms
  • osw-cli Schmeder, 2003
  • Control multiple instances of OSW over a network
    from a Python-based command-line interface

9
OSC Sever Implementation
  • OSC sever is an OSW patch
  • Incoming messages converted to lists
  • Messages dispatched to objects (transforms,
    variables) by address.
  • Results converted back to OSC messages and sent

10
Scripting and Python
  • Python front-end to OSW
  • OSW objects are reflected as Python objects
  • Communication between Python and server via OSC

11
Uses of Python/OSC with OSW
  • Distributed Applications
  • Networked performance and installations
  • Web-based interfaces
  • Parallel DSP on distributed systems
  • Automation / Scripting
  • Custom / Alternate User Interfaces

12
Python Web Server -gt OSC
  • Bouncy Ball Sound Synthesis

13
Graphics Percussion Demo
14
OSW Info and Status
  • OSW is available as an Open Source project
  • http//osw.sourceforge.net
  • OSWPython interface available
  • New UI development in progress

15
Finis
Write a Comment
User Comments (0)
About PowerShow.com