SlideShare a Scribd company logo
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 04 Issue: 02 | Feb-2015, Available @ http://www.ijret.org 456
PLAYING SOUND FILES IN LabVIEW USING AUDACITY TOOLKIT
P.N.Vasantha1
, A.Abirami2
, N.Gayathri3
, G.Vijayalakshmi4
1
UG Student, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India
2
UG Student, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India
3
UG Student, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India
4
Assistant Professor, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India
Abstract
World is getting automated, where all the manual meters are being upgraded as smart meters. These are due to the effect of the
different technological developments in various spheres of engineering and sciences. This paper mainly focuses on Smart
programming using LabVIEW. LabVIEW is a virtual programming environment where we intend to play any form of music file
extensions and real time sound signals in LabVIEW. Since, LabVIEW supports only .wav file extensions, this paper provides a
solution to convert all types sound file extensions into .wav file. The toolkit called Audacity has been used for the conversion of
both real time and recorded music signal into .wav files.
Keywords: LabVIEW, Audio signal, Audacity, .wav file
--------------------------------------------------------------------***----------------------------------------------------------------------
1. INTRODUCTION
LabVIEW is the simulation software that has been widely
used to generate and acquire analog and digital signals from
both real time and virtual environment. The application of
LabVIEW has also been extended to include audio based
applications. But, LabVIEW does not support all the audio
formats. It employs only the .wav file extensions that can be
obtained from the Graphics and Sound in block diagram.
The real time audio signals can be captured from the sound
card and microphone in laptop. The recorded and real time
audio signal can be transformed into necessary conversion
format using the Audacity software.
2. SYSTEM OPERATION
The figure shown below describes the flow chart and
principle of operation of the simulation. This briefly
describes the effective conversion of different audio formats
into .wav files. The acquired audio signal stored in the
laptop of any extension is given as input to the Audacity
software. There are two ways in which the audio can be
acquired. The first method is to save the real time voice
signal from the sound card. By pressing the record button in
the Audacity software, the audio voice can be recorded.
Next method is for the conversion of the stored music file of
formats like .mp3, .wma, .aac into .wav extension.
After configuring the files in .wav format, they are then
exported using the export audio option in file menu. A
LabVIEW programming has been efficiently prepared to
provide audio output from the sound card of the laptop or
from the microphone of the headset.
Fig -1: Flowchart for operation
3. DESIGN OF SYSTEM SOFTWARE
3.1 LabVIEW
LabVIEW is the software that is used in implementing the
project. LabVIEW (Laboratory Virtual Instrumentation
Engineering Workbench) was developed by National
Instruments. LabVIEW is a graphical programming
language which is extremely supportive for engineering and
research field. LabVIEW is a graphical programming
language that uses icons instead of lines of text to create
applications. LabVIEW programs or codes are called Virtual
Instruments or VIs.
LabVIEW is commonly used for data acquisition,
instrument control, and industrial automation on a variety of
platforms including Microsoft Windows, various versions of
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 04 Issue: 02 | Feb-2015, Available @ http://www.ijret.org 457
UNIX, Linux, and Mac OS X. The latest version of
LabVIEW is LabVIEW 2014. This platform is largely
helpful to resolve complex problems and also comfortable
with data flow execution. This will support to work with
data types like arrays and clusters and also the loops and
structures.
LabVIEW environment having front panel and block
diagram is used to create a program in virtual
instrumentation field. In addition to that, tools palette and
finding functions are also present in this software. This will
also support the audio input and audio output. It is a
programming language used to automate testing and data
gathering. The graphical approach also allows non-
programmers to build programs by dragging and dropping
virtual representations of lab equipment with which they are
already familiar. [1]
3.2 Audacity
Audacity is a free open source digital audio editor and
recording computer software application, available for
Windows, Mac OS X and Linux. In addition to recording
audio from multiple sources, Audacity can be used for post-
processing of all types of audio, including podcasts by
adding effects such as normalization, trimming and fading in
and out. Audacity includes importing and exporting of
WAV, AIFF, MP3, Ogg Vorbis, and all file formats
supported by libsndfile library. the version 1.3.2 and later
support Free Lossless Audio Codec(FLAC). And the version
1.3.6 and later support additional formats such as WMA,
AAC, AMR and AC3.
Fig -2: Audacity toolkit
Recording and playing back sounds editing via cut, copy
and paste, with unlimited levels of undo, and multitrack
mixing can be done. Audacity support multi-channel modes
with sampling rates up to 96 kHz with 32 bits per sample. It
can also do cross-platform operation.
In addition to English language help, Audacity software also
helps in other languages like Afrikaans, Arabic, Basque,
Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Finnish,
French, Galician, German, Greek, Hungarian, Irish, Italian,
Japanese, Lithuanian, Macedonian, Norwegian and Polish.
[2]
4. TOOLS USED IN LabVIEW
The LabVIEW tools which are implemented in this program
are as mentioned below:
4.1 Graphics and Sound
The sound tools in LabVIEW enable to read and write real
time and pre-recorded data in to the programming. It enables
to read the sound file from the stored location in the folder.
These sound toolkits are used to integrate the sound files
and the functions in VI's. LabVIEW supports only .wav
format. To convert the real time and .mp3 extension to .wav
format, in this paper we have used the Audacity toolkit.
Fig -3: Sound tools in LabVIEW
The .wav sound format has been played using the read
sound file. The Sound File Path The Play Sound File VI
reads the file specified in the Sound File Path input and
starts playing the sound through the device the Device ID
input specifies. Using this VI, it is easy to configure how the
sound file plays, such as the bit rate of the file and the
channels through which the sound plays (mono, stereo, and
so on) [3]
Fig -4: Sound files tools in LabVIEW
4.2 File I/O - File Path Control
The file path control are used enter and display the file or
folder paths. This control refers to the path in the root
directory. This path control has been used to play the .wav
file from its stored location. [3]
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 04 Issue: 02 | Feb-2015, Available @ http://www.ijret.org 458
Fig -5: File path control
4.3 Play Waveform
This Express VI has been used to output the music data
stored in a location in the PC. It plays data from the sound
output device using finite sampling techniques. It has 16 bits
as the default resolution bits. The play waveform
automatically configures an output task and clears the task
after the output completes. It can output the sound using two
devices - 0 represents sound card and 1 represents headset.
[3]
Fig -6: Play waveform Express VI
5. RESULT
The entire software code is tested and simulated using tools
as mentioned above in LabVIEW. This involves the use of
effective conversion of the sound files to .wav format using
the Audacity toolkit. This toolkit can convert any form of
sound file to .wav audio file that can be played in
LabVIEW. Using file input/output functions the .wav file is
played using LabVIEW.
Fig -7: Output
The overall system has been programmed to output the
music data in the form of an array of numeric values. The
sound input to the program is given to the file input path.
The LabVIEW program supports only .wav file extensions.
Thus, we have used the Audacity software to convert the
real time signal into .wav file extension. The sound output
has been viewed in the form of array values.
6. CONCLUSION
From the investigations made, we have concluded that the
sound files can be played in LabVIEW by converting any
audio format files into .wav files. This paper involves the
use of Audacity software to transform to .wav sound file.
The output data from the sound file is stored in the form of
array values and they can be used further for playing it by
reconstructing and sampling at proper instance.
REFERENCES
[1]. G. Shanmuga Priya, Shruthi Srinath, R. Vidhya, Design
of strap on cardiac peril vigilance system, Proceedings of
4th IRF International Conference, Chennai, 9th March-2014.
[2]. Audacity software for creating .wav files available at
www.audacity.com.
[3]. NI LabVIEW2014 from www.ni.com.

More Related Content

Similar to Playing sound files in labview using audacity toolkit

IRJET- Audio Data Summarization System using Natural Language Processing
IRJET- Audio Data Summarization System using Natural Language ProcessingIRJET- Audio Data Summarization System using Natural Language Processing
IRJET- Audio Data Summarization System using Natural Language Processing
IRJET Journal
 
Exploring the HDXPRT 2014 Benchmark
Exploring the HDXPRT 2014 BenchmarkExploring the HDXPRT 2014 Benchmark
Exploring the HDXPRT 2014 Benchmark
Principled Technologies
 
Ig2 task 1 work sheet newi9979
Ig2 task 1 work sheet newi9979Ig2 task 1 work sheet newi9979
Ig2 task 1 work sheet newi9979
CallumDrakeCPFC
 
Ig2 task 1 work sheet 12378
Ig2 task 1 work sheet 12378Ig2 task 1 work sheet 12378
Ig2 task 1 work sheet 12378
CallumDrakeCPFC
 
Automatic subtitle generation
Automatic subtitle generationAutomatic subtitle generation
Automatic subtitle generation
tanyasaxena1611
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
Adambailey-eccles
 
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHONARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
IRJET Journal
 
IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)
IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)
IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)
IRJET Journal
 
Extract the Audio from Video by using python
Extract the Audio from Video by using pythonExtract the Audio from Video by using python
Extract the Audio from Video by using python
IRJET Journal
 
Towards building a message retrieval facility via telephone
Towards building a message retrieval facility via telephoneTowards building a message retrieval facility via telephone
Towards building a message retrieval facility via telephone
eSAT Journals
 
Robust Speech Recognition Technique using Mat lab
Robust Speech Recognition Technique using Mat labRobust Speech Recognition Technique using Mat lab
Robust Speech Recognition Technique using Mat lab
IRJET Journal
 
IG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence ByrneIG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence Byrne
terry96
 
Part 6
Part 6Part 6
Part 6
Videoguy
 
Desktop Based Voice Assistant Application Using Machine Learning Approach
Desktop Based Voice Assistant Application Using Machine Learning ApproachDesktop Based Voice Assistant Application Using Machine Learning Approach
Desktop Based Voice Assistant Application Using Machine Learning Approach
IRJET Journal
 
IRJET - Sign Language Recognition System
IRJET -  	  Sign Language Recognition SystemIRJET -  	  Sign Language Recognition System
IRJET - Sign Language Recognition System
IRJET Journal
 
IRJET- Hearing Loss Detection through Audiogram in Mobile Devices
IRJET-  	  Hearing Loss Detection through Audiogram in Mobile DevicesIRJET-  	  Hearing Loss Detection through Audiogram in Mobile Devices
IRJET- Hearing Loss Detection through Audiogram in Mobile Devices
IRJET Journal
 
IG2 Task 1 Work Sheet
IG2 Task 1 Work SheetIG2 Task 1 Work Sheet
IG2 Task 1 Work Sheet
JoshuaGillypoop
 
IRJET- Smart Gloves to Convert Sign Languages to Vocal Output
IRJET- Smart Gloves to Convert Sign Languages to Vocal OutputIRJET- Smart Gloves to Convert Sign Languages to Vocal Output
IRJET- Smart Gloves to Convert Sign Languages to Vocal Output
IRJET Journal
 
56_Implementation
56_Implementation56_Implementation
56_Implementation
Prerna Paliwal
 
Ig2 task 1 re edit version
Ig2 task 1 re edit versionIg2 task 1 re edit version
Ig2 task 1 re edit version
cameronbailey1996
 

Similar to Playing sound files in labview using audacity toolkit (20)

IRJET- Audio Data Summarization System using Natural Language Processing
IRJET- Audio Data Summarization System using Natural Language ProcessingIRJET- Audio Data Summarization System using Natural Language Processing
IRJET- Audio Data Summarization System using Natural Language Processing
 
Exploring the HDXPRT 2014 Benchmark
Exploring the HDXPRT 2014 BenchmarkExploring the HDXPRT 2014 Benchmark
Exploring the HDXPRT 2014 Benchmark
 
Ig2 task 1 work sheet newi9979
Ig2 task 1 work sheet newi9979Ig2 task 1 work sheet newi9979
Ig2 task 1 work sheet newi9979
 
Ig2 task 1 work sheet 12378
Ig2 task 1 work sheet 12378Ig2 task 1 work sheet 12378
Ig2 task 1 work sheet 12378
 
Automatic subtitle generation
Automatic subtitle generationAutomatic subtitle generation
Automatic subtitle generation
 
Ig2 task 1 work sheet
Ig2 task 1 work sheetIg2 task 1 work sheet
Ig2 task 1 work sheet
 
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHONARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
ARTIFICIAL INTELLIGENCE DESKTOP VOICE ASSISTANT IN PYTHON
 
IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)
IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)
IDE Code Compiler for the physically challenged (Deaf, Blind & Mute)
 
Extract the Audio from Video by using python
Extract the Audio from Video by using pythonExtract the Audio from Video by using python
Extract the Audio from Video by using python
 
Towards building a message retrieval facility via telephone
Towards building a message retrieval facility via telephoneTowards building a message retrieval facility via telephone
Towards building a message retrieval facility via telephone
 
Robust Speech Recognition Technique using Mat lab
Robust Speech Recognition Technique using Mat labRobust Speech Recognition Technique using Mat lab
Robust Speech Recognition Technique using Mat lab
 
IG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence ByrneIG2 Task 1 Work Sheet Terence Byrne
IG2 Task 1 Work Sheet Terence Byrne
 
Part 6
Part 6Part 6
Part 6
 
Desktop Based Voice Assistant Application Using Machine Learning Approach
Desktop Based Voice Assistant Application Using Machine Learning ApproachDesktop Based Voice Assistant Application Using Machine Learning Approach
Desktop Based Voice Assistant Application Using Machine Learning Approach
 
IRJET - Sign Language Recognition System
IRJET -  	  Sign Language Recognition SystemIRJET -  	  Sign Language Recognition System
IRJET - Sign Language Recognition System
 
IRJET- Hearing Loss Detection through Audiogram in Mobile Devices
IRJET-  	  Hearing Loss Detection through Audiogram in Mobile DevicesIRJET-  	  Hearing Loss Detection through Audiogram in Mobile Devices
IRJET- Hearing Loss Detection through Audiogram in Mobile Devices
 
IG2 Task 1 Work Sheet
IG2 Task 1 Work SheetIG2 Task 1 Work Sheet
IG2 Task 1 Work Sheet
 
IRJET- Smart Gloves to Convert Sign Languages to Vocal Output
IRJET- Smart Gloves to Convert Sign Languages to Vocal OutputIRJET- Smart Gloves to Convert Sign Languages to Vocal Output
IRJET- Smart Gloves to Convert Sign Languages to Vocal Output
 
56_Implementation
56_Implementation56_Implementation
56_Implementation
 
Ig2 task 1 re edit version
Ig2 task 1 re edit versionIg2 task 1 re edit version
Ig2 task 1 re edit version
 

More from eSAT Journals

Mechanical properties of hybrid fiber reinforced concrete for pavements
Mechanical properties of hybrid fiber reinforced concrete for pavementsMechanical properties of hybrid fiber reinforced concrete for pavements
Mechanical properties of hybrid fiber reinforced concrete for pavements
eSAT Journals
 
Material management in construction – a case study
Material management in construction – a case studyMaterial management in construction – a case study
Material management in construction – a case study
eSAT Journals
 
Managing drought short term strategies in semi arid regions a case study
Managing drought    short term strategies in semi arid regions  a case studyManaging drought    short term strategies in semi arid regions  a case study
Managing drought short term strategies in semi arid regions a case study
eSAT Journals
 
Life cycle cost analysis of overlay for an urban road in bangalore
Life cycle cost analysis of overlay for an urban road in bangaloreLife cycle cost analysis of overlay for an urban road in bangalore
Life cycle cost analysis of overlay for an urban road in bangalore
eSAT Journals
 
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materialsLaboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
eSAT Journals
 
Laboratory investigation of expansive soil stabilized with natural inorganic ...
Laboratory investigation of expansive soil stabilized with natural inorganic ...Laboratory investigation of expansive soil stabilized with natural inorganic ...
Laboratory investigation of expansive soil stabilized with natural inorganic ...
eSAT Journals
 
Influence of reinforcement on the behavior of hollow concrete block masonry p...
Influence of reinforcement on the behavior of hollow concrete block masonry p...Influence of reinforcement on the behavior of hollow concrete block masonry p...
Influence of reinforcement on the behavior of hollow concrete block masonry p...
eSAT Journals
 
Influence of compaction energy on soil stabilized with chemical stabilizer
Influence of compaction energy on soil stabilized with chemical stabilizerInfluence of compaction energy on soil stabilized with chemical stabilizer
Influence of compaction energy on soil stabilized with chemical stabilizer
eSAT Journals
 
Geographical information system (gis) for water resources management
Geographical information system (gis) for water resources managementGeographical information system (gis) for water resources management
Geographical information system (gis) for water resources management
eSAT Journals
 
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
Forest type mapping of bidar forest division, karnataka using geoinformatics ...Forest type mapping of bidar forest division, karnataka using geoinformatics ...
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
eSAT Journals
 
Factors influencing compressive strength of geopolymer concrete
Factors influencing compressive strength of geopolymer concreteFactors influencing compressive strength of geopolymer concrete
Factors influencing compressive strength of geopolymer concrete
eSAT Journals
 
Experimental investigation on circular hollow steel columns in filled with li...
Experimental investigation on circular hollow steel columns in filled with li...Experimental investigation on circular hollow steel columns in filled with li...
Experimental investigation on circular hollow steel columns in filled with li...
eSAT Journals
 
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
Experimental behavior of circular hsscfrc filled steel tubular columns under ...Experimental behavior of circular hsscfrc filled steel tubular columns under ...
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
eSAT Journals
 
Evaluation of punching shear in flat slabs
Evaluation of punching shear in flat slabsEvaluation of punching shear in flat slabs
Evaluation of punching shear in flat slabs
eSAT Journals
 
Evaluation of performance of intake tower dam for recent earthquake in india
Evaluation of performance of intake tower dam for recent earthquake in indiaEvaluation of performance of intake tower dam for recent earthquake in india
Evaluation of performance of intake tower dam for recent earthquake in india
eSAT Journals
 
Evaluation of operational efficiency of urban road network using travel time ...
Evaluation of operational efficiency of urban road network using travel time ...Evaluation of operational efficiency of urban road network using travel time ...
Evaluation of operational efficiency of urban road network using travel time ...
eSAT Journals
 
Estimation of surface runoff in nallur amanikere watershed using scs cn method
Estimation of surface runoff in nallur amanikere watershed using scs cn methodEstimation of surface runoff in nallur amanikere watershed using scs cn method
Estimation of surface runoff in nallur amanikere watershed using scs cn method
eSAT Journals
 
Estimation of morphometric parameters and runoff using rs & gis techniques
Estimation of morphometric parameters and runoff using rs & gis techniquesEstimation of morphometric parameters and runoff using rs & gis techniques
Estimation of morphometric parameters and runoff using rs & gis techniques
eSAT Journals
 
Effect of variation of plastic hinge length on the results of non linear anal...
Effect of variation of plastic hinge length on the results of non linear anal...Effect of variation of plastic hinge length on the results of non linear anal...
Effect of variation of plastic hinge length on the results of non linear anal...
eSAT Journals
 
Effect of use of recycled materials on indirect tensile strength of asphalt c...
Effect of use of recycled materials on indirect tensile strength of asphalt c...Effect of use of recycled materials on indirect tensile strength of asphalt c...
Effect of use of recycled materials on indirect tensile strength of asphalt c...
eSAT Journals
 

More from eSAT Journals (20)

Mechanical properties of hybrid fiber reinforced concrete for pavements
Mechanical properties of hybrid fiber reinforced concrete for pavementsMechanical properties of hybrid fiber reinforced concrete for pavements
Mechanical properties of hybrid fiber reinforced concrete for pavements
 
Material management in construction – a case study
Material management in construction – a case studyMaterial management in construction – a case study
Material management in construction – a case study
 
Managing drought short term strategies in semi arid regions a case study
Managing drought    short term strategies in semi arid regions  a case studyManaging drought    short term strategies in semi arid regions  a case study
Managing drought short term strategies in semi arid regions a case study
 
Life cycle cost analysis of overlay for an urban road in bangalore
Life cycle cost analysis of overlay for an urban road in bangaloreLife cycle cost analysis of overlay for an urban road in bangalore
Life cycle cost analysis of overlay for an urban road in bangalore
 
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materialsLaboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
Laboratory studies of dense bituminous mixes ii with reclaimed asphalt materials
 
Laboratory investigation of expansive soil stabilized with natural inorganic ...
Laboratory investigation of expansive soil stabilized with natural inorganic ...Laboratory investigation of expansive soil stabilized with natural inorganic ...
Laboratory investigation of expansive soil stabilized with natural inorganic ...
 
Influence of reinforcement on the behavior of hollow concrete block masonry p...
Influence of reinforcement on the behavior of hollow concrete block masonry p...Influence of reinforcement on the behavior of hollow concrete block masonry p...
Influence of reinforcement on the behavior of hollow concrete block masonry p...
 
Influence of compaction energy on soil stabilized with chemical stabilizer
Influence of compaction energy on soil stabilized with chemical stabilizerInfluence of compaction energy on soil stabilized with chemical stabilizer
Influence of compaction energy on soil stabilized with chemical stabilizer
 
Geographical information system (gis) for water resources management
Geographical information system (gis) for water resources managementGeographical information system (gis) for water resources management
Geographical information system (gis) for water resources management
 
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
Forest type mapping of bidar forest division, karnataka using geoinformatics ...Forest type mapping of bidar forest division, karnataka using geoinformatics ...
Forest type mapping of bidar forest division, karnataka using geoinformatics ...
 
Factors influencing compressive strength of geopolymer concrete
Factors influencing compressive strength of geopolymer concreteFactors influencing compressive strength of geopolymer concrete
Factors influencing compressive strength of geopolymer concrete
 
Experimental investigation on circular hollow steel columns in filled with li...
Experimental investigation on circular hollow steel columns in filled with li...Experimental investigation on circular hollow steel columns in filled with li...
Experimental investigation on circular hollow steel columns in filled with li...
 
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
Experimental behavior of circular hsscfrc filled steel tubular columns under ...Experimental behavior of circular hsscfrc filled steel tubular columns under ...
Experimental behavior of circular hsscfrc filled steel tubular columns under ...
 
Evaluation of punching shear in flat slabs
Evaluation of punching shear in flat slabsEvaluation of punching shear in flat slabs
Evaluation of punching shear in flat slabs
 
Evaluation of performance of intake tower dam for recent earthquake in india
Evaluation of performance of intake tower dam for recent earthquake in indiaEvaluation of performance of intake tower dam for recent earthquake in india
Evaluation of performance of intake tower dam for recent earthquake in india
 
Evaluation of operational efficiency of urban road network using travel time ...
Evaluation of operational efficiency of urban road network using travel time ...Evaluation of operational efficiency of urban road network using travel time ...
Evaluation of operational efficiency of urban road network using travel time ...
 
Estimation of surface runoff in nallur amanikere watershed using scs cn method
Estimation of surface runoff in nallur amanikere watershed using scs cn methodEstimation of surface runoff in nallur amanikere watershed using scs cn method
Estimation of surface runoff in nallur amanikere watershed using scs cn method
 
Estimation of morphometric parameters and runoff using rs & gis techniques
Estimation of morphometric parameters and runoff using rs & gis techniquesEstimation of morphometric parameters and runoff using rs & gis techniques
Estimation of morphometric parameters and runoff using rs & gis techniques
 
Effect of variation of plastic hinge length on the results of non linear anal...
Effect of variation of plastic hinge length on the results of non linear anal...Effect of variation of plastic hinge length on the results of non linear anal...
Effect of variation of plastic hinge length on the results of non linear anal...
 
Effect of use of recycled materials on indirect tensile strength of asphalt c...
Effect of use of recycled materials on indirect tensile strength of asphalt c...Effect of use of recycled materials on indirect tensile strength of asphalt c...
Effect of use of recycled materials on indirect tensile strength of asphalt c...
 

Recently uploaded

Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 

Recently uploaded (20)

Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 

Playing sound files in labview using audacity toolkit

  • 1. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 04 Issue: 02 | Feb-2015, Available @ http://www.ijret.org 456 PLAYING SOUND FILES IN LabVIEW USING AUDACITY TOOLKIT P.N.Vasantha1 , A.Abirami2 , N.Gayathri3 , G.Vijayalakshmi4 1 UG Student, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India 2 UG Student, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India 3 UG Student, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India 4 Assistant Professor, Instrumentation and Control Engg., Saranathan College of Engineering, TamilNadu, India Abstract World is getting automated, where all the manual meters are being upgraded as smart meters. These are due to the effect of the different technological developments in various spheres of engineering and sciences. This paper mainly focuses on Smart programming using LabVIEW. LabVIEW is a virtual programming environment where we intend to play any form of music file extensions and real time sound signals in LabVIEW. Since, LabVIEW supports only .wav file extensions, this paper provides a solution to convert all types sound file extensions into .wav file. The toolkit called Audacity has been used for the conversion of both real time and recorded music signal into .wav files. Keywords: LabVIEW, Audio signal, Audacity, .wav file --------------------------------------------------------------------***---------------------------------------------------------------------- 1. INTRODUCTION LabVIEW is the simulation software that has been widely used to generate and acquire analog and digital signals from both real time and virtual environment. The application of LabVIEW has also been extended to include audio based applications. But, LabVIEW does not support all the audio formats. It employs only the .wav file extensions that can be obtained from the Graphics and Sound in block diagram. The real time audio signals can be captured from the sound card and microphone in laptop. The recorded and real time audio signal can be transformed into necessary conversion format using the Audacity software. 2. SYSTEM OPERATION The figure shown below describes the flow chart and principle of operation of the simulation. This briefly describes the effective conversion of different audio formats into .wav files. The acquired audio signal stored in the laptop of any extension is given as input to the Audacity software. There are two ways in which the audio can be acquired. The first method is to save the real time voice signal from the sound card. By pressing the record button in the Audacity software, the audio voice can be recorded. Next method is for the conversion of the stored music file of formats like .mp3, .wma, .aac into .wav extension. After configuring the files in .wav format, they are then exported using the export audio option in file menu. A LabVIEW programming has been efficiently prepared to provide audio output from the sound card of the laptop or from the microphone of the headset. Fig -1: Flowchart for operation 3. DESIGN OF SYSTEM SOFTWARE 3.1 LabVIEW LabVIEW is the software that is used in implementing the project. LabVIEW (Laboratory Virtual Instrumentation Engineering Workbench) was developed by National Instruments. LabVIEW is a graphical programming language which is extremely supportive for engineering and research field. LabVIEW is a graphical programming language that uses icons instead of lines of text to create applications. LabVIEW programs or codes are called Virtual Instruments or VIs. LabVIEW is commonly used for data acquisition, instrument control, and industrial automation on a variety of platforms including Microsoft Windows, various versions of
  • 2. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 04 Issue: 02 | Feb-2015, Available @ http://www.ijret.org 457 UNIX, Linux, and Mac OS X. The latest version of LabVIEW is LabVIEW 2014. This platform is largely helpful to resolve complex problems and also comfortable with data flow execution. This will support to work with data types like arrays and clusters and also the loops and structures. LabVIEW environment having front panel and block diagram is used to create a program in virtual instrumentation field. In addition to that, tools palette and finding functions are also present in this software. This will also support the audio input and audio output. It is a programming language used to automate testing and data gathering. The graphical approach also allows non- programmers to build programs by dragging and dropping virtual representations of lab equipment with which they are already familiar. [1] 3.2 Audacity Audacity is a free open source digital audio editor and recording computer software application, available for Windows, Mac OS X and Linux. In addition to recording audio from multiple sources, Audacity can be used for post- processing of all types of audio, including podcasts by adding effects such as normalization, trimming and fading in and out. Audacity includes importing and exporting of WAV, AIFF, MP3, Ogg Vorbis, and all file formats supported by libsndfile library. the version 1.3.2 and later support Free Lossless Audio Codec(FLAC). And the version 1.3.6 and later support additional formats such as WMA, AAC, AMR and AC3. Fig -2: Audacity toolkit Recording and playing back sounds editing via cut, copy and paste, with unlimited levels of undo, and multitrack mixing can be done. Audacity support multi-channel modes with sampling rates up to 96 kHz with 32 bits per sample. It can also do cross-platform operation. In addition to English language help, Audacity software also helps in other languages like Afrikaans, Arabic, Basque, Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Finnish, French, Galician, German, Greek, Hungarian, Irish, Italian, Japanese, Lithuanian, Macedonian, Norwegian and Polish. [2] 4. TOOLS USED IN LabVIEW The LabVIEW tools which are implemented in this program are as mentioned below: 4.1 Graphics and Sound The sound tools in LabVIEW enable to read and write real time and pre-recorded data in to the programming. It enables to read the sound file from the stored location in the folder. These sound toolkits are used to integrate the sound files and the functions in VI's. LabVIEW supports only .wav format. To convert the real time and .mp3 extension to .wav format, in this paper we have used the Audacity toolkit. Fig -3: Sound tools in LabVIEW The .wav sound format has been played using the read sound file. The Sound File Path The Play Sound File VI reads the file specified in the Sound File Path input and starts playing the sound through the device the Device ID input specifies. Using this VI, it is easy to configure how the sound file plays, such as the bit rate of the file and the channels through which the sound plays (mono, stereo, and so on) [3] Fig -4: Sound files tools in LabVIEW 4.2 File I/O - File Path Control The file path control are used enter and display the file or folder paths. This control refers to the path in the root directory. This path control has been used to play the .wav file from its stored location. [3]
  • 3. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 04 Issue: 02 | Feb-2015, Available @ http://www.ijret.org 458 Fig -5: File path control 4.3 Play Waveform This Express VI has been used to output the music data stored in a location in the PC. It plays data from the sound output device using finite sampling techniques. It has 16 bits as the default resolution bits. The play waveform automatically configures an output task and clears the task after the output completes. It can output the sound using two devices - 0 represents sound card and 1 represents headset. [3] Fig -6: Play waveform Express VI 5. RESULT The entire software code is tested and simulated using tools as mentioned above in LabVIEW. This involves the use of effective conversion of the sound files to .wav format using the Audacity toolkit. This toolkit can convert any form of sound file to .wav audio file that can be played in LabVIEW. Using file input/output functions the .wav file is played using LabVIEW. Fig -7: Output The overall system has been programmed to output the music data in the form of an array of numeric values. The sound input to the program is given to the file input path. The LabVIEW program supports only .wav file extensions. Thus, we have used the Audacity software to convert the real time signal into .wav file extension. The sound output has been viewed in the form of array values. 6. CONCLUSION From the investigations made, we have concluded that the sound files can be played in LabVIEW by converting any audio format files into .wav files. This paper involves the use of Audacity software to transform to .wav sound file. The output data from the sound file is stored in the form of array values and they can be used further for playing it by reconstructing and sampling at proper instance. REFERENCES [1]. G. Shanmuga Priya, Shruthi Srinath, R. Vidhya, Design of strap on cardiac peril vigilance system, Proceedings of 4th IRF International Conference, Chennai, 9th March-2014. [2]. Audacity software for creating .wav files available at www.audacity.com. [3]. NI LabVIEW2014 from www.ni.com.