Documentation
¶
Overview ¶
Package archive 提供音频文件处理和转换的功能,包括音频文件的检测、转换和存档
Index ¶
Constants ¶
View Source
const ( // AudioBookType 有声书类型标识 AudioBookType = "audiobook" // RapMusicType 说唱音乐类型标识 RapMusicType = "rap" // Speed = "1.54" //等效audition的65% // Speed = "1.43" 音频播放速度,等效audition的70% // Volume 音频音量增益值 Volume = "2.7" )
音频处理相关的常量定义
Variables ¶
This section is empty.
Functions ¶
func ConvertAudio ¶ added in v0.1.0
func ConvertAudio(src, mytype string)
ConvertAudio 转换音频文件 src 为源文件路径 mytype 为音频类型,决定处理方式
func GetAllAudioFiles ¶ added in v0.1.0
GetAllAudioFiles 返回指定目录下所有音频文件的绝对路径 root 为要搜索的根目录 返回音频文件路径列表和可能的错误
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.