找到你要的答案

Q:Input 2 .wav audio files

Q:输入2。WAV音频文件

I need to have 2 .wav files reading and playing through a delay based function so that I can apply the effect to both signals at the same time and it seems like it should be easy, but I'm an amateur and could do with a bit of help. My idea was just to enhance the original signal with a slightly out of phase version but I can't seem to work it out. Is it possible to do this? So far: [Input, FS] = audioread('input_audio.wav');

but is there someway i can put in two? I've tried with commas, spaces, semi-colans, etc such as like this... [Input, FS] = audioread('Vln1_D4_open.wav':'Vln1_room_D4_open.wav'); but this doesn't work.

the next part of the function is:

% First, to make sure the audio is single channel
[LEN, channels] = size(Input);
if (channels == 2) Input = Input(:,1); end;

so do I need to change this part instead?

Thank you in advance to anyone who can help! =)

I need to have 2 .wav files reading and playing through a delay based function so that I can apply the effect to both signals at the same time and it seems like it should be easy, but I'm an amateur and could do with a bit of help. My idea was just to enhance the original signal with a slightly out of phase version but I can't seem to work it out. Is it possible to do this? So far: [Input, FS] = audioread('input_audio.wav');

but is there someway i can put in two? I've tried with commas, spaces, semi-colans, etc such as like this... [Input, FS] = audioread('Vln1_D4_open.wav':'Vln1_room_D4_open.wav'); but this doesn't work.

函数的下一部分是:

% First, to make sure the audio is single channel
[LEN, channels] = size(Input);
if (channels == 2) Input = Input(:,1); end;

所以我需要改变这部分吗?

提前感谢任何可以帮助的人!=)

matlab  input  wav