这个有什么好的教程吗? ! [英] Any good tutorial for this? !

查看:76
本文介绍了这个有什么好的教程吗? !的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨......有没有人知道在Visual Basic 2015中将MP3转换为WAV的任何好教程?!!





我尝试了什么:



i试过这段代码......它说转换后它的wav但我对它有点了不起因为文件大小仍然和mp3一样!!!



Hi...does anyone knows any good tutorial for converting MP3 to WAV in Visual Basic 2015?!!


What I have tried:

i have tried this code...it says its wav after converting but i am a bit ceptic about it cause the filesize remains the same than the mp3 one!!!

OpenFileDialog1.FileOK:
TextBox1.Text = OpenFileDialog1.FileName

Form1.Load:
ComboBox1.SelectedItem = ".MP4"

Button1.click:
OpenFileDialog1.ShowDialog()

Button2.click:
        If TextBox1.Text = "" Then
            MsgBox("Please select the file you with to convert", MsgBoxStyle.Critical, "Error")
        Else
            Dim type As String = ComboBox1.Text
            MsgBox("The file has sucsessfully been converted into a " & type & " file.", MsgBoxStyle.Information, "Sucsess")
            Dim oldFile As String = Mid(TextBox1.Text, 1, Len(TextBox1.Text) - 4)
            FileCopy(TextBox1.Text, oldFile + type)

        End If

推荐答案

更改文件的扩展名不会改变它的编码方式。

您可以获取.mp3文件并将其扩展名更改为.wav,它仍然是.mp3文件,只是扩展名不合适。媒体播放器不依赖于扩展来解码媒体文件,而是依赖于它的标题,它明确地定义了它的编码方式。



你可以拥有谷歌搜索.net媒体转码,以全面了解你可以尝试的不同解决方案。
Changing the extension of a file does not change the way it is encoded.
You can take a .mp3 file and change its extension to .wav, it will still be an .mp3 file, just the extension will not be the proper one. A media player does not rely on the extension to decode a media file, but rather on its header, which unambiguously defines the way it has been encoded.

You could have a google search for ".net media transcoding" to have a global idea of the different solutions you can try for that.


如果你想做的只是转换,我建议你下载和使用 Audacity(音频编辑器) - 维基百科 [ ^ ]



它比简单的转换器要多得多 - 如果你愿意使用if以获得更多。



它的开源和免费。
If all you want to do is convert, I suggest you download and use Audacity (audio editor) - Wikipedia[^]

It's a lot more than a simple converter - if you care to use if for more.

It's Open Source and Free.


这篇关于这个有什么好的教程吗? !的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆