当前位置:网站首页>批量读取文件夹下的全部语音文件
批量读取文件夹下的全部语音文件
2022-06-13 09:01:00 【qq-120】
如何批量读取文件夹下的全部语音文件:
% fileFolder1 = fullfile('path'); % 搜索目录
dirOutput1 = dir(fullfile(fileFolder1,'*.wav')); % 获取目录下所有 wav 格式音频文件信息
fileNames1 = {
dirOutput1.name}; % 获取音频文件的名字,放入数组fileNames中
filePath1 = {
dirOutput1.folder}; % 获取音频文件目录,存放入数组filePath中
如何读取语音增强文件:
[sp_noisy,fs] = audioread([fileFolder1 fileNames1{
ii}]);
如何写入语音增强文件:
audiowrite('sp_enhanced.wav',enhanced_speech,fs); % 将混合的语音写入
边栏推荐
- Message Oriented Middleware
- 20211020 段院士全驱系统
- Subspace of 20211004 matrix
- 【网络安全】SQL注入新思维之webshell提权
- Onnx crop intermediate node
- Drill down to protobuf - Introduction
- How excel adds hyperlinks to some text in a cell
- System analysis - detailed description
- 20211108 differential tracker
- Cesium common events, including click events, mouse events, and camera movement events
猜你喜欢
Completely uninstall PostgreSQL under Linux
【安全】零基础如何从0到1逆袭成为安全工程师
Top+jstack to analyze the causes of excessive CPU
How excel adds hyperlinks to some text in a cell
20211104 why are the traces of similar matrices the same
final 原理
Neo4j - CQL use
Basic use of cesium, including loading images, terrain, models, vector data, etc
QObject::connect: Cannot queue arguments of type ‘QTextCursor‘ (Make sure ‘QTextCursor‘ is registere
JUC原子引用与ABA问题
随机推荐
Tutorial (5.0) 02 Management * fortiedr * Fortinet network security expert NSE 5
Tutorial (5.0) 01 Product introduction and installation * fortiedr * Fortinet network security expert NSE 5
教程篇(5.0) 02. 管理 * FortiEDR * Fortinet 网络安全专家 NSE 5
20211108 det(AB)=det(A)det(B)
QT multithreaded TCP server
Top+jstack to analyze the causes of excessive CPU
20211020 段院士全驱系统
""? "& in URL Role of "" sign
CAS无锁
Is it safe to open an account online? Can a novice open an account?
Onnx crop intermediate node
13.inline,const,mutable,this,static
【网络安全】SQL注入新思维之webshell提权
Talking about acid of database
Module build failed: TypeError: this. getOptions is not a function at Object. stylusLoader
【网络安全渗透】如果你还不懂CSRF?这一篇让你彻底掌握
transforms. ColorJitter(0.3, 0, 0, 0)
JUC atomic integer
Void* pointer
20211028 调节和跟踪