emerging web technologies and sonic arts

15
EMERGING WEB TECHNOLOGIES AND SONIC ARTS Lonce Wyse Arts and Creativity Lab National University of Singapore Net-Music 2013: The Internet as Creative Resource in Music

Upload: urania

Post on 23-Feb-2016

35 views

Category:

Documents


0 download

DESCRIPTION

Emerging Web Technologies and Sonic Arts. Net-Music 2013: The Internet as Creative Resource in Music. Lonce Wyse Arts and Creativity Lab National University of Singapore. The Web Platform. Some new emerging standards from the World Wide Web Consortium What’s so exciting about standards? - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Emerging Web Technologies and Sonic Arts

EMERGING WEB TECHNOLOGIES AND SONIC ARTS

Lonce WyseArts and Creativity Lab

National University of Singapore

Net-Music 2013: The Internet as Creative Resource in Music

Page 2: Emerging Web Technologies and Sonic Arts

The Web Platform Some new emerging standards from the

World Wide Web Consortium What’s so exciting about standards? Functionality that becomes standard in the

browser Becomes cross platform Runs natively Requires no plug-in (end user effort)

Related technology developments

Page 3: Emerging Web Technologies and Sonic Arts

WebAudio API

Native audio engine in browsers with API called through javascript.

“Node” / connection flow-graph construction model

Create “Nodes” Osc.connect(Filter); Filter.connect(Conext.destination)

Page 4: Emerging Web Technologies and Sonic Arts

WebAudio Features Sample-accurate scheduling for built-in

components (nodes, parameter automation) Spatialization (sound cones, obstruction, oriented

“listeners”) Buffer Nodes, Gain Nodes Oscillators, Delay, Channel management,

Common Filter types, compression, waveshaping Convolution, Time and frequency analysis (Predefined) Parameters with automation

Page 5: Emerging Web Technologies and Sonic Arts

Outstanding Issues “Roll your own” ScriptProcessorNodes for

generation and processing of audio. Not treated the same as system Audio Nodes

Timing latency and jitter Can’t attach WebAudio Paramters to them.

Callbacks from audio processing thread

One API fits all (sound designers – sound users)

Future (ever-increasing number of node types?)

Page 6: Emerging Web Technologies and Sonic Arts

Related developments WebRTC (also W3C emerging standard)

Oriented toward P2P media movement (eg video chat). Access to user media – audio and video

No more plug-ins!

Plays nicely with WebAuido. Also running on some mobile browsers

Page 7: Emerging Web Technologies and Sonic Arts

javascript

First introduced in 1995 to add short interpreted scripts in HTML for dynamic elements – it has come a long way in a short time.

Google V8 engine (chrome, safari, node.js) brought huge increases in speed.

Imag

e: h

ttp://

sss.c

s.pur

due.

edu/

proj

ects

/dyn

js/

Excellent browser debugging tools.

Libraries – thousands upon thousands. Phone sensor data, large project support.

Still some issues that make it a less-than-ideal educational tool.

Page 8: Emerging Web Technologies and Sonic Arts

Server side applications

Javascript on Google V8 virtual machine

Single-threaded, asynchronous event handling

Works with socket.io (a wrapper for web sockets) for real-time apps with two-way open communications.

Now one language for network, clients, app, sound synthesis….

for network apps

Page 9: Emerging Web Technologies and Sonic Arts

Current Projects jsaSound

Sound development tools

Anticipatory Score Shared graphical scrolling score paradigm Network control signals with node.js server

Augmented Storytelling Inter-browser communication for synthesis and control

Page 10: Emerging Web Technologies and Sonic Arts

jsaSound Library for creating WebAudio sound models.

Building tools Simple and consistent API

play(), stop(), release(), setParam(), setParamNorm(), getParam(["name", "type", "val", "normval", "min","max"]

In action: animatedsoundworks.com/jsaSound* Open source

https://github.com/lonce/jsaSound.git

[* Tested with Canary Browser]

Page 11: Emerging Web Technologies and Sonic Arts

Synth1 Patch

Synth2 Patch

Server Patch

Synth2 Patch

Synth1 Patch

Server Patch

Node.js Server

NOW

FUTURE

FUTURE

NOW

LOCATION 1

LOCATION 2

FUTURE NOW HISTORY

FUTURE NOW HISTORY

SHARED SCROLLING SCORE WORKSPACE

Anticipatory Scores

Page 12: Emerging Web Technologies and Sonic Arts

Storytelling and oral traditions Putting sound interaction and voice

transformation in to the hands of the storyteller

Oral traditions: Shareabiltiy Mutability

Page 13: Emerging Web Technologies and Sonic Arts

Story Telling & SharingSound Server* Controller

Synthesis

[* Tested with Canary Browser]

Page 14: Emerging Web Technologies and Sonic Arts

Just another audio environment? And a much less than perfect one, at that. But … Creative possibilities

The integration with web brings Accessibility (no apps or plug-ins to download) Cross platform (or will our hearts be broken again…) Possibilities for massive participation Access to unprecedented data flows to integrate into

artworks Dynamic and programmable at all levels, not just audio

… and it even says right in the WebAudio specification:

Artistic Audio ExplorationThere are many creative possibilities for artistic sonic environments for installation pieces.

Page 15: Emerging Web Technologies and Sonic Arts

Resources W3C Web Audio draft spec

https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html Working grouop mailing list [email protected]

HTML5 Audio Blog http://www.html5audio.org/

Node.js http://nodejs.org/