Answered
Matlab Audio Filter with changing Frequency
Hi Hans, Take a look at dsp.VariableBandwidthFIRFilter or dsp.VariableBandwidthIIRFIlter. They both support bandpass tunable fi...

1 year ago | 0

Answered
creating the chorus effect without using a loop
Damien, Audio Toolbox has a Chorus object that might be helpful. See audiopluginexample.Chorus here. It is used in this example...

1 year ago | 1

Answered
What "Window" value or size mean when using the audioFeatureExtractor function
Feature extraction operates along windows of audioIn: You first take the first 1024 samples of audioIn and process them, then yo...

1 year ago | 1

| accepted

Answered
Timestamp of Pitch in Audio file
The pitch function has a second output argument that returns the location of the corresponding pitch values in f0. [f0, loc]...

1 year ago | 0

| accepted

Answered
How to classify Speech feature using local datset
There are many classification examples you can go through as a staritng point. Here are two: Acoustics-Based Machine Fault Reco...

1 year ago | 0

Answered
Audio Pitch Manipulation Through Time
you can use shiftPitch for this: %Read in an audio file and listen to it. [audioIn,fs] = audioread('Counting-16-44p1-mono-15se...

1 year ago | 0

Answered
Voice Audio Data and Pitch Extraction
You can use the pitch function to get pitch values along with the time stamps [x,fs] = audioread("SingingAMajor-16-mono-18secs....

1 year ago | 0

| accepted

Answered
segmentation of 66s signal in 1s each
The buffer function can do this for you: fs = 16e3; x = randn(66*fs,1); y = buffer(x,fs);

1 year ago | 0

Answered
how can i load multiple/all audio files(.wav) in matlab ? all files have different names.
I recommend using audioDatastore for such tasks: % specify your folder folder = fullfile(matlabroot,'toolbox','audio','samples...

1 year ago | 0

Answered
Code generation error while using the Audio Toolbox
Hi Alberto, I see two issues here: 1) First, you have hit a limitation of dsp.FilterCascade. It does not support variable-size...

1 year ago | 1

| accepted

Answered
AudioBasedAnomalyDetectionForMachineHealthMonitoringExample.mlx
Hi Monique, Sorry about this error. Here is the correct link to get the zip file.

1 year ago | 0

Answered
playing a nonstop audio file
You can use dsp.AudioFileReader with PlayCount set to Inf: afr = dsp.AudioFileReader('speech_dft.mp3','PlayCount',Inf); adw = ...

1 year ago | 0

Answered
I have a folder full of audio files and i want read files one by one and compute some parameters and store the result in a matrix any one plese help
Hi Kalyan, For this sort of task, consider using audioDatastore. For example, here is the code to point to a number of audio...

1 year ago | 0

Answered
Recreating Sine Wave from pitch detection
Hi Hans, Here is some code that approximates what you want. It uses: audioOscillator to create a frequency-varying sine wave s...

1 year ago | 0

| accepted

Answered
Generate VST Plug-in from Simulink Model
Hi Michael, This is not possible yet. Today, you can use Audio Toolbox to generate VST plug-ins from MATLAB code: https://www....

1 year ago | 1

Answered
looping in all audio files
audioDatastore can simplify this type of task. ads = audioDatastore(yourFolder); % Read all files, one by one, using a while...

1 year ago | 0

Answered
Unexpected output of octaveFilter
Hi Leonard, The first thing to check is that your input is a column vector. octaveFilter treats each column of data as an ind...

1 year ago | 0

| accepted

Answered
i want to use LSTM based audio network to work with Live audio
Hi Arslan, audioDeviceReader supports multi-mic devices. Use the ChannelMappingSource and ChannelMapping properties to map betw...

1 year ago | 0

Answered
i want to use LSTM based audio network to work with Live audio
Hi Arslan, There is a function in that repo (streamingClassifier) that should get the job done in conjunction with an audio dev...

1 year ago | 0

Answered
Cannot find files or folders matching: 'C:\Users\Computer Complex\AppData\Local\Temp\free-spoken-digit-dataset-master\recordings'.
This dataset does not ship with the product. The introduction/description of this example should have the info on where to downl...

1 year ago | 0

| accepted

Answered
How to record audio for infinite time?
Hi Harsha, You can record for as long as you want with audioDeviceReader: deviceReader = audioDeviceReader; while 1 % for ex...

1 year ago | 0

Answered
I want to stop my simulink code after 10 seconds of running
This should work: sim(modelname, 15)

1 year ago | 0

Answered
why does the wave player Block in Simulink do this when i loop a sound and how can i fix it?
Hi ALCA, the From Multimedia File block has a 'Samples per audio channel' parameter. This determines the size of the frame. If...

1 year ago | 0

| accepted

Answered
record and analyse real-time audio
Hi Oskar, When working with real-time audio, you should consider audioDeviceWriter, audioDeviceReader and audioPlayerRecorder. ...

1 year ago | 0

| accepted

Answered
Expected audioIn to be one of these types: single, double Instead its type was cell.
Hi FOG, In this call to extract,trainAudio is a cell array: featuresTrain = extract(aFE,trainAudio); extract does not support...

2 years ago | 0

Answered
How to use getaudiodata() in Simulink?
Hi Ahmet, To interact with a microphone device in Simulink, use the Audio Device Reader block: https://www.mathworks.com/help/...

2 years ago | 0

Answered
Pre-trained network on the raspberry pi
Hi Joenam, This example might be helpful to you: Speech Command Recognition Code Generation on Raspberry Pi

2 years ago | 0

Answered
Labeling raw audio dataset
Hi Abdelhakim, Signal Labeler is the APP to use to label your audio data: https://www.mathworks.com/help/signal/ug/using-sig...

2 years ago | 0

| accepted

Answered
Rewind - Fast Forward Button (Audio Player)
Hi Nikos, dsp.AudioFileReader has a ReadRange property that controls the range of samples you want to read. Here is an idea: ...

2 years ago | 0

Answered
What is the default normalization in plot of stft function in Short-time Fourier transform
Hi Muhammad, I beleive the plot you get with STFT uses log, so 20*log10(abs(S)+eps) is plotted.

2 years ago | 1

| accepted

Load more