Skip to main content
  • Textbook
  • © 2017

Snake Charming - The Musical Python

Authors:

  • 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

Buy it now

Buying options

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

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

Table of contents (14 chapters)

  1. Front Matter

    Pages i-xiv
  2. Snake in the Grass—Python and Its Environment

    1. Front Matter

      Pages 1-1
    2. Installing Python

      • Iain Gray
      Pages 3-6
    3. The Python Shell—IDLE

      • Iain Gray
      Pages 7-13
    4. Package Management

      • Iain Gray
      Pages 15-18
    5. Audacity®

      • Iain Gray
      Pages 19-20
  3. Banging the Drum—Visualising Sound

    1. Front Matter

      Pages 21-21
    2. Mark Kac (1914 to 1984)

      • Iain Gray
      Pages 23-27
    3. Project Code

      • Iain Gray
      Pages 29-34
  4. Heat in the Desert—Sculpting Sound

    1. Front Matter

      Pages 35-35
    2. Joseph Fourier (1768 to 1830)

      • Iain Gray
      Pages 37-38
    3. Bob Moog (1934 to 2005)

      • Iain Gray
      Pages 39-47
    4. Project Code

      • Iain Gray
      Pages 49-69
  5. The Harmonograph—Victorian Pendulum Toy

    1. Front Matter

      Pages 71-71
    2. Hugh Blackburn (1823 to 1909)

      • Iain Gray
      Pages 73-78
    3. Project Code

      • Iain Gray
      Pages 79-86
  6. Counterpoint à la Mode—Composing Music

    1. Front Matter

      Pages 87-87
    2. Johann Joseph Fux (1660 to 1741)

      • Iain Gray
      Pages 89-92
    3. Project Code

      • Iain Gray
      Pages 93-110
  7. On Safari

    1. Front Matter

      Pages 111-111

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

Buy it now

Buying options

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