SlideShare a Scribd company logo
1 of 3
Download to read offline
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 ProcessingIRJET Journal
 
Ig2 task 1 work sheet newi9979
Ig2 task 1 work sheet newi9979Ig2 task 1 work sheet newi9979
Ig2 task 1 work sheet newi9979CallumDrakeCPFC
 
Ig2 task 1 work sheet 12378
Ig2 task 1 work sheet 12378Ig2 task 1 work sheet 12378
Ig2 task 1 work sheet 12378CallumDrakeCPFC
 
Automatic subtitle generation
Automatic subtitle generationAutomatic subtitle generation
Automatic subtitle generationtanyasaxena1611
 
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 PYTHONIRJET 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 pythonIRJET 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 telephoneeSAT 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 labIRJET 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 Byrneterry96
 
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 ApproachIRJET Journal
 
IRJET - Sign Language Recognition System
IRJET -  	  Sign Language Recognition SystemIRJET -  	  Sign Language Recognition System
IRJET - Sign Language Recognition SystemIRJET 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 DevicesIRJET Journal
 
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 OutputIRJET Journal
 

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 pavementseSAT 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 studyeSAT 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 studyeSAT 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 bangaloreeSAT 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 materialseSAT 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 stabilizereSAT 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 managementeSAT 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 concreteeSAT 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 slabseSAT 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 indiaeSAT 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 methodeSAT 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 techniqueseSAT 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

GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 

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.