• 大小: 14.40M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 转换  Mp3  wav  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Windows.Forms;
using NAudio.Wave;
namespace WindowsFormsApplication1
{


  
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            string mp3file;
            mp3file = System.IO.Path.Combine(AppDomain.CurrentDomain.baseDirectory “sssscccc.mp3“); //“d:\\sssscccc.mp3“;
            string wavfile = mp3file.Replace(“.mp3“ “.wav“);
            //string wavfile = mp3file.Replace(“.wav“ “.mp3“);
            string wavpath = wavfile;
            //程序名
            int index = wavfile.LastIndexOf(“\\“);
            string wavname = wavfile.Substring(index + 1 wavfile.Length - index - 1);
     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-03-13 23:38  WindowsFormsApplication1\
     目录           0  2019-03-13 23:33  WindowsFormsApplication1\.vs\
     目录           0  2019-03-13 23:39  WindowsFormsApplication1\.vs\WindowsFormsApplication1\
     目录           0  2019-03-13 23:39  WindowsFormsApplication1\.vs\WindowsFormsApplication1\DesignTimeBuild\
     文件         250  2019-03-13 23:39  WindowsFormsApplication1\.vs\WindowsFormsApplication1\DesignTimeBuild\.dtbcache
     目录           0  2019-03-13 23:33  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v14\
     文件       41472  2019-03-12 22:10  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v14\.suo
     目录           0  2019-03-13 23:36  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\
     文件       36352  2019-03-13 23:39  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\.suo
     目录           0  2019-03-13 23:36  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\Server\
     目录           0  2019-03-13 23:36  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\Server\sqlite3\
     文件           0  2019-03-13 23:36  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\Server\sqlite3\db.lock
     文件        4096  2019-03-13 23:36  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\Server\sqlite3\storage.ide
     文件       32768  2019-03-13 23:36  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\Server\sqlite3\storage.ide-shm
     文件      914672  2019-03-13 23:38  WindowsFormsApplication1\.vs\WindowsFormsApplication1\v15\Server\sqlite3\storage.ide-wal
     文件         189  2019-02-27 07:08  WindowsFormsApplication1\App.config
     文件        2527  2019-03-13 23:37  WindowsFormsApplication1\Form1.Designer.cs
     文件        1465  2019-03-13 23:38  WindowsFormsApplication1\Form1.cs
     文件        5817  2019-03-13 23:37  WindowsFormsApplication1\Form1.resx
     文件         536  2019-02-27 07:08  WindowsFormsApplication1\Program.cs
     目录           0  2019-03-13 23:33  WindowsFormsApplication1\Properties\
     文件        1374  2019-02-27 07:08  WindowsFormsApplication1\Properties\AssemblyInfo.cs
     文件        2861  2019-02-27 07:08  WindowsFormsApplication1\Properties\Resources.Designer.cs
     文件        5612  2019-02-27 07:08  WindowsFormsApplication1\Properties\Resources.resx
     文件        1111  2019-02-27 07:08  WindowsFormsApplication1\Properties\Settings.Designer.cs
     文件         249  2019-02-27 07:08  WindowsFormsApplication1\Properties\Settings.settings
     文件        4311  2019-03-13 23:38  WindowsFormsApplication1\WindowsFormsApplication1.csproj
     文件        1014  2019-03-11 08:38  WindowsFormsApplication1\WindowsFormsApplication1.sln
     目录           0  2019-03-13 23:33  WindowsFormsApplication1\bin\
     目录           0  2019-03-13 23:39  WindowsFormsApplication1\bin\Debug\
     文件      475136  2018-07-02 13:53  WindowsFormsApplication1\bin\Debug\NAudio.dll
............此处省略26个文件信息

评论

共有 条评论