[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

Converting mp3 to wav or visa-versa

I am trying to convert an mp3 to a wav file or visa-versa using visual studio 2003. I have found sample software packages on the net but i need code samples in vb.net. I have searched and searched.........any ideas experts?
0
ab2ae
Asked:
ab2ae
  • 4
  • 3
  • 2
1 Solution
 
ElrondCTCommented:
Are you saying you want to reinvent the wheel and program the actual conversion, reading in the mp3 data, processing it, and outputting it as wav? Why do that rather than calling one of the programs that is available? I'm sure one or more of them would allow you to specify the input & output filenames on a command line, and you could then do something like:

System.Diagnostics.Process.Start("c:\converter\audioconverter.exe old.mp3 new.wav")

or whatever the proper syntax is for the particular package you use.
0
 
ab2aeAuthor Commented:
ElrondCT


i dont know too much about this, hence my question. I certainly dont want to reinvent the wheel. What package are you referring to? This seems to be on the right track though
0
 
dancebertCommented:
I use this and recommend it to anyone.

http://www.nch.com.au/switch/plus.html
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
dancebertCommented:
Oops!

I don't know if it can be controlled by a .net program, or any other program for that matter.
0
 
ab2aeAuthor Commented:
ElrondCT

i typed in 'converter' inin the windows search and found 4 dll's......................

Microsoft.VisualStudio.Converters.Interop.dll
Miscrsoft.VisualStudio.ProjectConverts.dll
VSConvertersPackage.dll
VSConvertersPackageUI.dll

I am using windows XP and Visual Studio 2003, does this help?
0
 
ab2aeAuthor Commented:
dancebert

The problem is i need to use an existing program built-in on my system to get this working via vb.net. It needs to be converted via my program, i think i need to do something like ...

System.Diagnostics.Process.Start("c:\converter\audioconverter.exe old.mp3 new.wav")

as ElrondCT said

0
 
ElrondCTCommented:
I don't have a recommendation of a specific program. You said you found a number of packages on the net; you might want to contact some of them and ask them if they have a command-line interface that would allow specifying input and output names either on the command line or in an initialization file so that the conversion can be done without user interaction.
0
 
ab2aeAuthor Commented:
I was under the assumption that there was a built-in codec to do such file conversions, hmmm
0
 
dancebertCommented:
>I was under the assumption that there was a built-in codec to do such file conversions

If there is, then all the companies that have built converters have missed it.

I verified the Switch app runs from the command line.  A license is US $20.


0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now