SLR 13 - coding sound and music Flashcards
How does digital to analogue conversion work?
- you use a digital to analogue converter
the device reads a bit pattern representing an analogue signal - it outputs an alternating, analogue electrical current
What’s the difference between analogue and digital data?
analogue is continuous (smooth curves) whereas whereas digital is discrete (sharp edges and vertical drops)
What can analogue sound waves do?
can take ay values and can change as frequently as required
What can digital sound waves do?
must always take one of a specified range of values and can only change value at specified intervals
How does analogue to digital conversion work?
- sensors (temp sensors and microphone) output an analogue signal
- Computers use ADCs convert them
- the device samples the analogue signal at regular intervals
What is frequency?
- given in Hertz
- it determines the number samples taken per second
What does a larger number of frequencies mean?
Better reproduction of an analogue signal
How do computers represent sound?
as a sequence of samples, each taking a discrete digital value
What is sampling rate and what is it measured in?
the number of samples per second (hertz)
What is sample resolution?
the number of bits allocated to each sample
A higher sample resolution means…
greater audio quality and increased file size
What is Nyquist’s theorem?
the sampling rate of a digital audio file must be at least twice the frequency of the sound so that the sound may be accurately represented
What does MIDI stand for?
Musical Instrument Digital Interface
What is MIDI used with?
electronic musical instruments which can be connected to computers
What does MIDI store instead of sound samples?
a series of event messages, each representing an event in a piece of music
What information could event messages contain?
- the duration of a note
- the instrument with which the note is played
- the volume of the note
- if a note should be sustained