Sound is an important but sometimes over-looked area in computing. It has obvious applications in entertainment (music and games), but is also important in telecomms, online education, film and music production, and speech based computer interfaces. In compute science terms it involves areas of sampling, comression, sound synthesis and analysis, and natural language processing.

Learning objectives

In this topic students will learn the basics of computer sound:

  • How sound is represented and stored by a computer
  • The types of compression used by common file formats
  • How to create simple waveforms in code


Presentation, workbooks and teachers' notes show how the basics of computer sound, how sound is recorded and played back, and the differences between common sound file formats.

Also shows how to set up the pysound module, and how to create simple waveform in Pythoncode. Illustrates sample rates, bit depth, and the characteristics of simple sounds - frequency, amplitude and wave shape.


Sign up for Schoolcoders membership to access all our resources for an annual subscription of just £40 for a single school (a discount of 60% of the full price of £100). Membership allows you to download all existing resources, and any new resources, for one year.