Skip to main content
Book cover

Snake Charming - The Musical Python

  • Textbook
  • © 2017

Overview

  • Explains Python’s audio-visual capabilities for music and sound
  • Concepts developed in tutorials for beginner programmers
  • Full project code frameworks available for expert programmers
  • Includes a historical and theoretical background for musically interested readers
  • Ideal for self study with full cross platform support
  • Includes supplementary material: sn.pub/extras

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

Access this book

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

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (14 chapters)

  1. Snake in the Grass—Python and Its Environment

  2. Banging the Drum—Visualising Sound

  3. Heat in the Desert—Sculpting Sound

  4. The Harmonograph—Victorian Pendulum Toy

  5. Counterpoint à la Mode—Composing Music

  6. On Safari

Keywords

About this book

This book is an innovative introduction to Python and its audio-visual capabilities for beginning programmers; a resource for expert programmers and of interest to anyone involved in music. It is structured around four extensible, audio-visual projects on music and sound. The beginner will appreciate the 'need to know' basis of the presentation of Python for each project, and expert programmers will be able to go straight to the project code, run it and then extend it as they see fit. Musically interested readers will enjoy the historical and theoretical material at the beginning of each project, and it may even tempt them to try some coding - it is not too difficult! 

The four projects the book focuses on are all self-contained, but can be extended to incorporate aspects of the others. Above all this book is suited for self-study, which should be playful (pun intended!).

Authors and Affiliations

  • AFIMA—Associate Fellow of the Institute of Mathematics and its Applications, Southend-on-Sea, United Kingdom

    Iain Gray

About the author

Iain Gray has over 40 years programming experience working in all the major paradigms, including functional/declarative languages (Common List and Prolog), procedural languages (Fortan, C and Pascal), 'combination' languages (Scheme and Python) and Object-oriented languages (Simula and Ada).

Bibliographic Information

Publish with us