PHP UDPsocket controller for Simple Parametric Sound Synthesis - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

PHP UDPsocket controller for Simple Parametric Sound Synthesis

Description:

Use of the internet as a medium for realtime communication and the creation of ... Chris Brown and John Bischoff's eternal network music which lives at: http: ... – PowerPoint PPT presentation

Number of Views:102
Avg rating:3.0/5.0
Slides: 14
Provided by: musicM
Category:

less

Transcript and Presenter's Notes

Title: PHP UDPsocket controller for Simple Parametric Sound Synthesis


1
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • MUMT 301 Project Presentation
  • March 15, 2007
  • Federico OReilly Regueiro

2
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Motivation
  • Use of the internet as a medium for realtime
    communication and the creation of virtual
    environments.
  • Beyond the Live vs Virtual interaction debate
  • Bandwidth constraints
  • Desire to learn PHP

3
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • CD quality bandwidth
  • 44100 x 16bits x 2 1411200 b/s
  • Roughly 1.35 Mb/s
  • Either sample accurate or with a considerable
    buffer.

4
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Solutions, as weve already seen
  • Either improve bandwidth...
  • Or
  • Encode at server side and decode at client side

5
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Case Audio is synthesized (its not captured)
  • Redundant to generate sound at server side, then
    encode and later encode.
  • Better to send control a synthesis module

6
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Example
  • Chris Brown and John Bischoffs eternal
    network music which lives at http//crossfade.wal
    kerart.org/
  • Barbosa, p 3
  • Use of jsyn API (application programming
    interface)

7
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Jsyn
  • Cross platform java API (Win, Mac, Linux)
  • Sound platform dependent - scheduling
  • Uses native C code (faster than java)
  • Uses unit generators
  • 32 bit floating point values
  • Time stamped
  • Free

8
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Eternal music model

9
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Final project
  • As mentioned, exercise in PHP
  • Exercise in sockets
  • Loosely follows eternal model
  • Server
  • Browser interface PHP-socket
  • Sound client
  • Socket client synthesis module

10
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • PHP
  • server side scripting
  • Has similarities with C but its interpreted
  • Originally Personal Home Page, then PHP
    hypertext preprocessor
  • Processes on server side and sends data to browser

11
PHP example-http//www.friketrike.com/phpininos/
  • echo "Hello World in php"
  • txt1"Hello World"
  • echo "Have a nice day!"
  • i1
  • echo "
    "
  • while(i
  • echo "The number is " . i . "
    "
  • i
  • sleep (3)
  • ?

12
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • UDP vs TCP
  • UDP does not guarantee packet delivery and packet
    ordering, but is much faster.
  • Good enough for this project

13
PHP UDP-socket controllerfor Simple Parametric
Sound Synthesis
  • Project works in tandem with 307 project, a sound
    effects synthesis module which will be on the
    client side.
Write a Comment
User Comments (0)
About PowerShow.com