LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make LABVIEW add mp3 Decoder

Solved!
Go to solution

I don't want to use ActiveX, I just want Labview to play music in mp3 format directly.
How can it be realized?

 

If you can help me,i would be appreciated.

0 Kudos
Message 1 of 7
(1,717 Views)
Solution
Accepted by topic author Alexander_Son

You could go to the Web and see if the MP3 specifications are publicized.  If so, you can write LabVIEW code taso parse how the sound waveforms are encoded, then generate LabVIEW code to produce those waveforms (either with a D/A encoder or with other hardware, or perhaps translating the MP3 API into whatever API Windows (or whatever other "sound-producing" API you choose to use.

 

It sounds (to me) like an awful lot of work.  Maybe use some other Sound Player and write LabVIEW code to capture two channels of "sound" (as time-varying voltages at 44,100 Hz), save this (humongous) waveform file, then play it back (using two D/A channels at 44.1 kHz) through stereo speakers.  This bypasses all the hard work and hidden features of MP3 and other sound APIs ...

 

Bob Schor

0 Kudos
Message 2 of 7
(1,710 Views)

You can do this with the G-Audio toolkit: https://www.vipm.io/package/dataflow_g_lib_g_audio/

Message 3 of 7
(1,642 Views)

 


@cordm wrote:

You can do this with the G-Audio toolkit: https://www.vipm.io/package/dataflow_g_lib_g_audio/


It appears that @dataflowg has, indeed, done the work (over at least a year) to develop (and make available) the MP3 LabVIEW package that @alexander_Son was asking about.  It would be helpful to the LabVIEW Community if he (or she) tried it out and, if it "solves the problem", marks @cordm's Reply as the Solution.

 

Bob Schor

0 Kudos
Message 4 of 7
(1,637 Views)

Oh,thank you very much!you helped me solve a big problem!!By the way,the reason for the question is that i want to imitate a music software called NetEase Cloud. And i have aready built a framework! Thanks again.

0 Kudos
Message 5 of 7
(1,625 Views)

thank you!

0 Kudos
Message 6 of 7
(1,624 Views)

Umm, I think you gave the wrong person credit for the Solution!  I said "It's too much work!", and @cordm mentioned the G-Audio Toolkit (which I didn't know about) ...

 

Bob Schor

0 Kudos
Message 7 of 7
(1,580 Views)