Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Laboratory Report

On

EXPERIMENT NO-06

(SIMULATION LAB )

Submitted by
Isshika Sinha (2004152)
B.Tech Programme in Electronics and Telecommunication
Engineering
School of Electronics Engineering
Kalinga Institute of Industrial Technology, Deemed to be University
Bhubaneswar, India
May 2022
OBJECTIVE:

The aim of the experiment is to record the voice in an audio player


and convert the voice into signals and graph the image .

COMPONENTS:

Octave software

THEORY:

Octave provides a few functions for dealing with audio data. An audio
‘sample’ is a single output value from an A/D converter, i.e., a small integer
number (usually 8 or 16 bits), and audio data is just a series of such samples.
It can be characterized by three parameters: the sampling rate (measured in
samples per second or Hz, e.g., 8000 or 44100), the number of bits per
sample (e.g., 8 or 16), and the number of channels (1 for mono, 2 for stereo,
etc.).

CODE:

[y,Fs] = audioread('manju.wav');
l=length(y)
TotalTime = length(y)./Fs;
%t=linspace(0,TotalTime,l);
t = 0:TotalTime/(length(y)):TotalTime-TotalTime/length(y);
plot(t,y)
GRAPH:

CONCLUSION:

The following simulation has been successfully done using the octave software.

Signatures:

Isshika Sinha-25/04/22

You might also like