# SOUND with MATLAB. SOUND INPUT [a, fa, na]= wavread(’mim-44100.wav') Sound data Sampling Frequency #bit representation.

## Presentation on theme: "SOUND with MATLAB. SOUND INPUT [a, fa, na]= wavread(’mim-44100.wav') Sound data Sampling Frequency #bit representation."— Presentation transcript:

SOUND with MATLAB

SOUND INPUT [a, fa, na]= wavread(’mim-44100.wav') Sound data Sampling Frequency #bit representation

a = ….. -0.0001 0.0001 ……. fa = 44100 na = 16 Teknik Multimedia Fakultas Ilmu Komputer UI 3

SAMPLING sound(a, 44100) sound(a, 16000) sound(a, 11025) sound(a, 8000) 4

WRITING SAMPLED SOUND wavwrite(a, 30000, ‘gbush-30000.wav’) PLOTTING plot(a) Teknik Multimedia Fakultas Ilmu Komputer UI 5

Working with Frequency Domain - use discrete cosine transform or discrete fourier transform to convert from wave spatial signal to frequency domain; in matlab we could use fft function transform = fft(a, fs) fs = the number of sample frequency misal transform = fft (a, 41500) Learning Introductory Signal Processing Using Multimedia 6

SOUND with AUDACITY Demonstrated in class

Download ppt "SOUND with MATLAB. SOUND INPUT [a, fa, na]= wavread(’mim-44100.wav') Sound data Sampling Frequency #bit representation."

Similar presentations