Abstract
This chapter discusses two approaches to provide a general-purpose audio programming support for Ubiquitous Music web applications. It reviews the current state of web audio development and discusses some previous attempts at this. We then introduce a JavaScript version of Csound that has been created using the Emscripten compiler and discuss its features and limitations. In complement to this, we look at a Native Client implementation of Csound, which is a fully functional version of Csound running in Chrome and Chromium browsers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
See http://caniuse.com/audio-api for browser support.
- 14.
- 15.
- 16.
We were unable to find a copy of this online, but one is available from the CD-ROM included with [2].
- 17.
- 18.
- 19.
A working example of CsoundEmscripten can be found at http://eddyc.github.io/CsoundEmscripten. The compiled Csound library and CsoundObj JavaScript class can be found at http://github.com/eddyc/CsoundEmscripten/.
- 20.
- 21.
- 22.
- 23.
- 24.
http://sourceforge.net/projects/csound/files/csound6. This is also available at http://vlazzarini.github.io, together with a series of examples and reference documentation.
- 25.
References
Batchelor, P., Wignall, T.: BeaglePi: an introductory guide to Csound on the BeagleBone and the Raspberry Pi, as well other Linux-powered tinyware. Csound J. 18 (2013). www.csounds.com/journal/issue18/beagle_pi.html
Boulanger, R.J. (ed.): The Csound Book: Tutorials in Software Synthesis and Sound Design. MIT Press, Cambridge (2000)
Casey, M., Smaragdis, P.: Netsound. In: On the Edge. ICMA and HKUST (1996)
Donovan, A., Muth, R., Chen, B., Sehr, D.: PNaCl: Portable Native Client Executables. Google White Paper (2010)
ffitch, J., Mitchell, J., Padget, J.: Composition with sound web services and workflows. In: Ltd S.O. (ed.) Proceedings of the 2007 International Computer Music Conference, vol. I, pp. 419–422. ICMA and Re:New (2007). ISBN 0-9713192-5-1
Johannes, T., Toshihiro, K.: “ ‘Và, pensiero!’ ” - Fly, thought! Experiment for interactive internet based piece using Csound6 (2013). http://tarmo.uuu.ee/varia/failid/cs/pensiero-files/pensiero-presentation.pdf. Accessed 2 Feb 2014
Lazzarini, V., Yi, S., Timoney, J.: Digital audio effects on mobile platforms. In: Proceedings of DAFx 2012 (2012)
Lazzarini, V., Yi, S., Timoney, J., Keller, D., Pimenta, M.: The Mobile Csound Platform. In: Proceedings of ICMC 2012 (2012)
Roberts, C., Wakefield, G., Wright, M.: The Web Browser as Synthesizer and Interface. In: Proceedings of the International Conference on New Interfaces for Musical Expression (2013)
Sehr, D., Muth, R., Bifin̂Ć, Khimenko, V., Pasko, E., Schimpf, K., Yee, B., Chen, B.: Adapting software fault isolation to contemporary CPU architectures. In: 19th USENIX Security Symposium (2010)
Wyse, L., Subramanian, S.: The viability of the Web browser as a computer music platform. Comput. Music J. 37(4), 10–23 (2013)
Yee, B., Sehr, D., Dardyk, G., Chen, J.B., Muth, R., Ormandy, T., Okasaka, S., Narula, N., Fullagar, N.: Native client: A Sandbox for portable, untrusted x86 native code. In: 2009 IEEE Symposium on Security and Privacy (2009)
Yi, S., Lazzarini, V.: Csound for Android. In: Linux Audio Conference, vol. 6 (2012)
Zakai, A.: Emscripten: an llvm-to-javascript compiler. In: Proceedings of the ACM International Conference Companion on Object Oriented Programming Systems Languages and Applications, pp. 301–312. ACM, New York (2011)
Acknowledgements
This research was partly funded by the Program of Research in Third-Level Institutions (PRTLI 5) of the Higher Education Authority (HEA) of Ireland, through the Digital Arts and Humanities programme.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Lazzarini, V., Costello, E., Yi, S., ffitch, J. (2014). Development Tools for Ubiquitous Music on the World Wide Web. In: Keller, D., Lazzarini, V., Pimenta, M. (eds) Ubiquitous Music. Computational Music Science. Springer, Cham. https://doi.org/10.1007/978-3-319-11152-0_6
Download citation
DOI: https://doi.org/10.1007/978-3-319-11152-0_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-11151-3
Online ISBN: 978-3-319-11152-0
eBook Packages: Computer ScienceComputer Science (R0)