⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 控件,支持MP3,WAV相互转换,支持编程语言:DELPHI
💻 FRM
字号:
VERSION 5.00
Object = "{3D35F170-9B39-472A-804E-4F45F785D2DE}#1.0#0"; "CsAudio.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   5685
   ClientTop       =   4380
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   Begin CsAudio.CsAConvert CsAConvert1 
      Left            =   3240
      Top             =   1800
      InputFile       =   "F:\歌曲视频\回来我的爱.mp3"
      OutputFile      =   "F:\回来我的爱.wav"
      Code            =   ""
      Company         =   ""
      Mode            =   0
      Bitrate         =   128
      SampleRate      =   44100
      BitsPerSample   =   16
      Channels        =   2
   End
   Begin VB.CommandButton Command1 
      Caption         =   "转换"
      Height          =   495
      Left            =   840
      TabIndex        =   4
      Top             =   2160
      Width           =   2655
   End
   Begin VB.TextBox Text2 
      Height          =   375
      Left            =   240
      TabIndex        =   2
      Text            =   "F:\回来我的爱.wav"
      Top             =   1320
      Width           =   3975
   End
   Begin VB.TextBox Text1 
      Height          =   285
      Left            =   240
      TabIndex        =   0
      Text            =   "F:\歌曲视频\回来我的爱.mp3"
      Top             =   480
      Width           =   3735
   End
   Begin VB.Label Labelper 
      Caption         =   "100%"
      Height          =   255
      Left            =   3720
      TabIndex        =   5
      Top             =   2280
      Width           =   735
   End
   Begin VB.Label Label2 
      Caption         =   "目标WAV文件"
      Height          =   255
      Left            =   240
      TabIndex        =   3
      Top             =   960
      Width           =   1095
   End
   Begin VB.Label Label1 
      Caption         =   "MP3文件"
      Height          =   255
      Left            =   240
      TabIndex        =   1
      Top             =   120
      Width           =   975
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

 CsAConvert1.InputFile = Text1.Text

 CsAConvert1.OutputFile = Text2.Text
 
 CsAConvert1.BeginConvertToWave
 
End Sub

Private Sub CsAConvert1_OnProgress(ByVal PercentComplete As Long)

   Labelper.Caption = CStr(PercentComplete)
   
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -