📘 CodingMarble Learn

Music Technology: from Sound to Digital Music

Music technology turns sound into signals and numbers we can record, edit and share. A microphone changes air vibrations into a voltage; an audio interface samples it many thousands of times a second (sample rate) and stores each sample as a number (bit depth). A DAW arranges audio and MIDI tracks, and mixing sets each track's level, pan and effects before the music reaches speakers, films, games or streaming.

🎬 Step-by-step story

  1. A singer sings. Blue rings spread through the air: sound is a wave of vibrations moving to the microphone.
  2. The microphone catches the vibrations and turns them into an electrical signal. The smooth blue line is that signal: it goes up and down just like the sound.
  3. The audio interface measures the wave again and again. Each orange bar is one sample, one number. Few samples give a rough copy; watch it get closer as the count goes up.
  4. The numbers arrive in the computer. In the DAW each instrument gets its own track: vocal, guitar, drums, and a MIDI keyboard track that stores notes, not sound.
  5. Mixing: each coloured fader sets how loud a track is. Balance the tracks, add effects like reverb, then send the mix to the speaker.
  6. Free play: change the number of samples and the volume. Find the smallest number of samples that still looks like the smooth wave.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

How can a smooth wave be stored as separate numbers?

If you measure it often enough, the dots join into the same shape. Step 2 shows the bars getting closer to the smooth line as samples increase.

Is MIDI a kind of sound file?

No. MIDI is like sheet music for the computer: note, time and strength. It needs an instrument to make sound, as the MIDI track in step 3 shows.

Why do we need an audio interface? Can't the mic plug straight in?

The computer needs numbers. The interface does the sampling (ADC). Step 2 shows it measuring the wave.

What does the microphone actually do?

It copies the pattern of air vibrations as a changing voltage. In step 1 the blue line follows the sound.

Why not just make every track loud?

Loud tracks cover each other and can distort. Mixing sets each fader so every part is heard, as in step 4.

From sound wave to signal

Sound is a vibration that travels through air as a wave. Its frequency (vibrations per second, in hertz, Hz) sets the pitch; its amplitude sets the loudness. Humans hear about 20 Hz to 20 000 Hz.

A microphone is a transducer: it changes one form of energy into another. Air pushes a thin diaphragm, and the microphone makes a voltage that rises and falls in the same pattern. A speaker does the opposite: a voltage moves a cone, which pushes the air.

This continuous signal is analogue. Vinyl records and tape stored analogue copies.

Digital audio: sampling and bit depth

A computer can only store numbers. An analogue-to-digital converter (ADC), usually inside an audio interface, measures the signal many times a second. Each measurement is a sample.

Compressed formats (MP3, AAC) remove sounds we hardly notice to make files much smaller; lossless formats (WAV, FLAC) keep everything.

The DAW: tracks, MIDI and editing

A digital audio workstation (DAW) is software for recording, editing and arranging music. Free and paid DAWs, and phone apps, all share the same ideas: a timeline, tracks stacked in rows, and a mixer.

With a laptop or even a phone, one person can now write, play, record and publish a whole song.

Mixing, effects and music in media

Mixing balances the tracks: volume faders set level, pan places a sound left or right, EQ boosts or cuts bass and treble, compression evens out loud and soft parts, and reverb adds a sense of space. Mastering is the final polish so the song sounds good on all devices.

Music technology links music to other media: film and TV scores, game music that changes with the action, adverts, podcasts and short videos. Streaming services use data about what we play to recommend music, which shapes personal taste. Listening tools (spectrograms, tuners, slowed playback) help us study music closely.

Using it responsibly

Respect copyright: ask permission or use licensed or free-to-use loops and samples, and credit creators. Protect your hearing: keep headphone volume below about 60% and take breaks.

Try it

Record 10 seconds of your voice on a phone. Then record a second track clapping a beat on top in any free recording app. Adjust each track's volume until both are clear. You have made a two-track mix.

Key formulas and definitions

Worked examples

1. How many levels can a 4-bit and a 16-bit sample store?

4-bit: 2⁴ = 16 levels. 16-bit: 2¹⁶ = 65 536 levels, so it follows the wave far more finely.

2. Find the size of 60 s of stereo audio at 44 100 Hz and 16-bit, in megabytes.

Bits = 44 100 × 16 × 2 × 60 = 84 672 000 bits. Bytes = ÷ 8 = 10 584 000 bytes ≈ 10.6 MB.

3. You played a wrong note on a keyboard. Is it easier to fix if you recorded MIDI or audio? Why?

MIDI. It stores the note as an instruction, so you can drag it to the right pitch in the piano roll. In audio, the note is mixed into the sound wave and is hard to change.

4. Why is a sample rate of 44.1 kHz enough for music?

Humans hear up to about 20 kHz. You need more than 2 × 20 kHz = 40 kHz to capture it, so 44.1 kHz covers the whole range of hearing.

Common mistakes

Practice quiz

1. A microphone changes:
2. Sample rate means:
3. MIDI stores:
4. Which control places a sound more to the left or right?
5. DAW stands for:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is music technology?

The tools and methods used to create, record, edit, mix, share and study music: microphones, audio interfaces, DAWs, MIDI instruments, effects and streaming.

What is the difference between MIDI and audio?

Audio is a recording of real sound. MIDI is a list of note instructions that tells a virtual instrument what to play.

What do I need to start making music at home?

A computer or phone, a free DAW or app, headphones, and optionally a USB microphone or MIDI keyboard.

Where this is taught

ItalySecondaria di secondo grado – classe 5ª (esame di Stato)Electronic music production
PolandSzkoła podstawowa, klasa VIILanguage of music, musical thinking and creativity
PolandLiceum ogólnokształcące, klasa IMusic in multimedia
Spain2º ESOListening and perception
Spain2º ESOPerformance, improvisation and stage creation
Spain3º ESOListening and perception
Spain3º ESOPerformance, improvisation and stage creation
Spain4º ESOListening and perception
Spain4º ESOPerformance, improvisation and stage creation
Spain1º BachilleratoIntroduction to music analysis
Spain1º BachilleratoMusical Practice
Spain2º BachilleratoMusic analysis techniques
Ukraine10 класElective: computer sound processing (35 h)
Ukraine11 класElective: computer sound processing (35 h)
Japan高校(専門学科)1〜3年Appreciation Studies
South Korea고등학교 2학년Exploring media
South Korea고등학교 2학년Practical links
South Korea고등학교 2학년Practice and communication
Germany (Bavaria)Jahrgangsstufe 12Music and technology
FrancePremièreMusic culture and science (music)
China九年级(初三)Sem.1 U1 Digital music

Learn first

Learn next

Related lessons

All Music lessons