Advanced Audio Processing Flashcards

(103 cards)

1
Q

Procedural Programming takes what approach?

A

Structural

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Arduino has this form of programming.

A

Procedural.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Procedural Programming is a series…

A

of functions, one leading to the next.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Is Procedural Programming flexible?

A

No.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Is Procedural Programming more or less abstraction?

A

Less. We dont know how it works

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which analogy can be referred to when considering Procedural Programming Abstraction?

A

TV Remote.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the second form of programming?

A

Object Oriented Programming.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In Object Oriented Programming, programs are…

A

divided into smaller sections called objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Object Oriented Programming is…

A

reusable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Is Object Oriented Programming more or less abstraction?

A

More. We can understand what happens better.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is Object Oriented Programming more or less flexible?

A

More.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are a key part of Object Oriented Programming?

A

Classes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are classes?

A

Blueprint for something.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What software similarly uses classes?

A

Unreal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do classes do?

A

Encapsulatescomplex data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Classes allow you to define…

A

custom data types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Classes can do what with other classes?

A

Inherit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What do classes contain? (4)

A

Data members of different types
Function members
Constructor
Destructor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What are classes in relation to objects?

A

Blueprints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is unique about a classes name?

A

Normally starts with capital letter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What files are classes made into?

A

.cpp and header

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is an object?

A

Instance of class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What are the three access modifiers?

A

Public
Private
Protected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the default access modifier?

A

Private.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does the protected access modifier do?
Only allows code with class to inherit from it.
26
Objects have... (2)
States and behaviours.
27
Where are object states stored?
in member variables.
28
How does object expose behaviour?
Through member function.
29
What do member functions work on?
objects internal state.
30
What is encapulation?
hiding the internal state of object.
31
What are the key features of classes? (4)
Ease of debugging Maintenance Encapsulation Reusability
32
What two things can be inherited?
States and Behaviours
33
What is the largest umbrella class called?
Parent class.
34
Typical buffer range?
32 - 1024 samples
35
Smaller buffer = ___ latency
Lower latency
36
smaller buffer, ____ computational cost
Higher CPU cost.
37
What is the buffer tradeoff?
Dropout.
38
What is dropout?
Buffers empties faster than it refills
39
Buffer uses...
FIFO.
40
What are the two terms used for buffer input and output?
push and pop.
41
What is audio callback?
Periodic function that processes audio.
42
What is AudioBuffer?
A class.
43
AudioBuffer contains...
a reference variable.
44
AudioBuffer uses...
call by reference.
45
AudioBuffer must be larger than...
the max amount of either input or output channels.
46
What are the two types of reference parameters?
Call by Value Call by Reference
47
What does Call by Value do?
Copy OG data sent to function Doesnt affect OG data
48
What does Call by Reference do?
Has direct access to OG data Will overwrite OG data
49
What classes uses Call by Reference?
AudioBuffer.
50
What is the difference between pure virtual and virtual?
Pure Virtual need defined.
51
Subjects are...
Broadcasters.
52
Observers are...
Listeners.
53
Subjects send...
Updates to Observers when event occurs
54
Functions should be...
small and do one thing.
55
two examples of static delays
comb filter slapback
56
two examples of variable delays
flanger vibrato
57
max delay calc
buffer / SR * 1000
58
min delay calc
1 / SR * 1000000
59
what is max delay measured in?
milliseconds
60
what is min delay measured in?
microseconds
61
what type of data type causes artefacts in delay line?
int / whole numbers
62
what is fractional delay?
allows precise float point number divisions on buffer samples
63
what is interpolation?
technique to approximate values that lie between samples in buffer.
64
How does linear interpolation work?
it draws a line between two points and takes approximation of half way point.
65
Two pros of linear interpolation
improves sound of modulating delay line computationally efficient
66
Linear interpolation has audible effect on... (3)
Low pass filters  phase distortion  aliasing 
67
buffer modulation range must...
fall between min and max delay line values.
68
sampling operation contains... (2)
write operation read operation
69
should read or write occur first during sampling operation?
read.
70
linear system changes
amplitude and phase
71
in linear systems, the waveform is...
not modified
72
examples of linear systems (3)
gain panner  delay
73
what is a non linear system?
changes waveform, adding additional frequency content
74
examples of non linear systems (3)
compression  distortion  ring mod
75
distortion is...
non linear
76
as non linearity increases...
harmonic content increases
77
what is half wave rectification?
all negative amplitude samples are changed to zero
78
what is full wave rectification?
negative amplitude values are changed to identical positive values
79
what harmonics is THD bases on?
2 to 6
80
low THD means...
low distortion
81
odd symmetrical =
only odd harmonics 
82
even symmetrical =
only even harmonics
83
asymmetrical =
both harmonics
84
distortion effect pros (2)
cheap to run  memoryless
85
IIR (5)
feedback network low latency low cost can be analogue no linear phase filtering
86
FIR (5)
no feedback network high latency  high cost  only digital  linear phase filtering
87
crossover filter criteria (3)
flat pass band with no distortion max attenuation in stop band output of filters should sum to flat response
88
Butterworth meets...
all three criteria
89
higher order filters have
steeper slopes
90
how steep should filters be?
as steep as possible
91
what is the butterworth issue? (2)
when crossed over, filters are completely out of phase EQ boost at crossover
92
What is the butterworth solution?
Linkwitz-Riley Filter 
93
How do you make a Linkwitz-Riley filter?
Two butterworth filters in series
94
What response does Linkwitz Riley have?
flat EQ
95
What does a detection path do?
Detects how much gain a signal should be reduced by
96
What scale does the detection path work in?
dB
97
What process happens at the start of the detection path?
Linear to dB conversion
98
What are threshold, ratio and knee known as?
Static characteristics
99
Gain change doesn’t happen
Instantaneously
100
Gain change consists of what two parameters?
Attack and release
101
What process happens at the end of the detection path?
dB to linear conversion
102
What is the full signal chain of the detection path?
Linear to dB, Static Characteristics, Gain Change, Gain Smoothing, dB to Linear
103