Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
0
1
Rectangular waveform
Level
Level
Sawtooth waveform
1
0
1
Time (T0 )
Level
1
0
1
pulse width
Discontinuous Aliasing!
Time (T0 )
Output
Filter
Source
P 1
Time (T0 )
Triangle waveform
Jussi Pekonen
3/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Outline
0
3. Alias-Suppressing Oscillators
4. Special Approaches to Classical Waveform Synthesis
Frequency (kHz)
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
2/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
4/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
1
Ideally Bandlimited Oscillator
Algorithms
Wavetable Synthesis
O(1)
Memory requirements Huge! There are techniques to reduce the
requirements, however, they are still large. . .
Additive Synthesis
Count
fc = 20 kHz
fc = 15 kHz
20
40
100
200
400
1000
2000
f0 (Hz)
Wavetable Synthesis II
600
400
200
0
6/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
100
7/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
1,000
750
500
250
0
Count
5/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
100
200
400
1000
2000
200
400
1000
2000
Maximum f0 (Hz)
8/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
k=1
cos(kn) =
sin((2N + 1)n/2) 1
2 sin(n/2)
2
Issues
9/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Issues
11/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
2
Quasi-Bandlimited Oscillator
Algorithms
10/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
12/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
2f0
2f0 1
2f0 2
d
dt
2T0
T0
2T0
T0
2f0
2f0 1
2f0 2
Time (s)
A
f0
Hlp ()
T0
2T0
13/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Amplitude
Polarity
Phase
counter
Discontinuity
detector
Level
0
0
P 1
BLIT
synthesis
y(n)
Fractional delay
4f0
Time (T0 )
Time (T0 )
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
14/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
15/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Hann-windowed sinc
N = 4, M = 8
0
50
100
4f0
Stilson and Smith, 1996, ICMC & Stilson, 2006, PhD Thesis
fs
2T0
BLIT Algorithm
T0
Time (s)
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
Play
10 15 20
1
0
1
Magnitude (dB)
0
50
100
Play
Frequency (kHz)
10 15 20
Frequency (kHz)
16/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Level
Time (samples)
1
0.5
0
2
1
0.5
0
2
Time (samples)
19/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Magn. (dB)
17/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
0
50
Magn. (dB)
1
0.5
0
2
1
0.5
0
2
1
0.5
0
2
Level
0
50
100
100
Play
10
15
20
Play
10
15
20
Magn. (dB)
Level
Level
Level
0
50
100
Play
Frequency (kHz)
10
15
20
Frequency (kHz)
18/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
20/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Phase
1
0.5
0
1
2
Output
Example of FD-BLIT
BLIT
Hint,2 (z) =
d = 0.732
d = 0.197
d = 0.662
d = 0.127
21/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
y(n)
Hfd (z)
In the beginning
1
0
1
0
10 20
zD
30
40
Magn. (dB)
A(n)
1 z1
(1 cz1 )2
0
1
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
23/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
30
40
22/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
24/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Issues
25/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Level
Level
Level
1
0
1
1
0.5
0
1
0
1
10
20
26/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
30
40
10
20
30
40
10
20
30
40
Sample
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
27/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
28/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Differentiation of
Waveforms (DPW)
Piecewise
Polynomial
Higher-Order DPWs
3rd-order
dB
= (i)F(f (t))
F(f (t))
f (t)dt =
+C
i
0.2
0
0.2
30
40
dB
1
0.5
0
20
10
20
30
40
10
20
30
40
15
20
5
0
5
102
0
f0 = 2.637 kHz
10
15
20
5
0
5
103
0
10
15
20
f0 = 800 Hz
20
40
60
80
Sample
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
Frequency (kHz)
31/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
DPW Scaling
Vlimki, 2005, IEEE SPL; Vlimki and Huovilainen, 2006, CMJ &
Vlimki et al., 2010a, IEEE TransASLP
Piece-wise parabolic
waveform
dB
Level
Level
Level
Vlimki, 2005, IEEE SPL & Huovilainen and Vlimki, 2005, ICMC
10
10
29/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Second-Order DPW
Sample
1
0
1
0
40
80
Frequency (kHz)
0
40
80
Level
d
f (t)
dt
Level
4th-order
dB
One differentiator
0
40
80
10
15
20
0
40
80
10
15
20
Frequency (kHz)
Sample
Antialiasing Oscillator Algorithms
Jussi Pekonen
Aalto SPA
30/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
32/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
Comb filters require the highpass filter also as they will pass DC
33/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
4
Special Approaches to
Classical Waveform Synthesis
35/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
34/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
36/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
37/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
5
Summary of the Lecture
39/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
38/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
40/40
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References II
Appendix
References
1/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References
3/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References III
2/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
4/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References IV
References VI
http://www.acoustics.hut.fi/publications/files/theses/pekonen_mst/.
J. Pekonen and V. Vlimki. Filter-based alias reduction in classical waveform
synthesis. In Proceedings of the 2008 IEEE International Conference on
Acoustics, Speech, and Signal Processing (ICASSP08), pages 133136, Las
Vegas, NV, April 2008.
J. Pekonen, J. Nam, J. O. Smith, J. S. Abel, and V. Vlimki. On minimizing the
look-up table size in quasi bandlimited classical waveform synthesis. In
Proceedings of the 13th International Conference on Digital Audio Effects
(DAFx-10), pages 5764, Graz, Austria, September 2010a.
5/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References V
7/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References VII
6/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
8/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References VIII
References X
G. Winham and K. Steiglitz. Input generators for digital sound synthesis. Journal
of the Acoustical Society of America, 47(2):665666, February 1970.
9/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
References IX
10/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5
11/11
October 15, 2010
S-89.3580/S-89.4820 Lecture 5