Skip to main content

Development Tools for Ubiquitous Music on the World Wide Web

  • Chapter
  • First Online:
Ubiquitous Music

Part of the book series: Computational Music Science ((CMS))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://java.oracle.com.

  2. 2.

    http://www.adobe.com/products/flashruntimes.html.

  3. 3.

    http://www.w3.org/TR/webaudio/.

  4. 4.

    http://www.audiotool.com/.

  5. 5.

    http://www.patchwork-synth.com.

  6. 6.

    http://www.noteflight.com.

  7. 7.

    http://www.adobe.com/products/air.html.

  8. 8.

    http://www.flashdevelop.org/.

  9. 9.

    http://www.apple.com/hotnews/thoughts-on-flash/.

  10. 10.

    http://webaudio.prototyping.bbc.co.uk/.

  11. 11.

    http://github.com/charlieroberts/Gibberish.

  12. 12.

    http://github.com/sebpiq/WebPd.

  13. 13.

    See http://caniuse.com/audio-api for browser support.

  14. 14.

    http://dream.cs.bath.ac.uk/netcsound/.

  15. 15.

    http://www.researchcatalogue.net/view/55360/55361.

  16. 16.

    We were unable to find a copy of this online, but one is available from the CD-ROM included with [2].

  17. 17.

    http://asmjs.org/spec/latest/.

  18. 18.

    http://github.com/kripken/emscripten/wiki/Filesystem-API.

  19. 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. 20.

    http://www.w3.org/Bugs/Public/show_bug.cgi?id=17415\#c94.

  21. 21.

    http://bugzilla.mozilla.org/show_bug.cgi?id=836897.

  22. 22.

    http://bugs.webkit.org/show_bug.cgi?id=107250.

  23. 23.

    http://developers.google.com/native-client.

  24. 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. 25.

    http://www.github.com/csound.

References

  1. 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

  2. Boulanger, R.J. (ed.): The Csound Book: Tutorials in Software Synthesis and Sound Design. MIT Press, Cambridge (2000)

    Google Scholar 

  3. Casey, M., Smaragdis, P.: Netsound. In: On the Edge. ICMA and HKUST (1996)

    Google Scholar 

  4. Donovan, A., Muth, R., Chen, B., Sehr, D.: PNaCl: Portable Native Client Executables. Google White Paper (2010)

    Google Scholar 

  5. 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

    Google Scholar 

  6. 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

  7. Lazzarini, V., Yi, S., Timoney, J.: Digital audio effects on mobile platforms. In: Proceedings of DAFx 2012 (2012)

    Google Scholar 

  8. Lazzarini, V., Yi, S., Timoney, J., Keller, D., Pimenta, M.: The Mobile Csound Platform. In: Proceedings of ICMC 2012 (2012)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Wyse, L., Subramanian, S.: The viability of the Web browser as a computer music platform. Comput. Music J. 37(4), 10–23 (2013)

    Article  Google Scholar 

  12. 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)

    Google Scholar 

  13. Yi, S., Lazzarini, V.: Csound for Android. In: Linux Audio Conference, vol. 6 (2012)

    Google Scholar 

  14. 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)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Victor Lazzarini .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics