Respondida
How to get the name of each file in the folder
If you have access to Audio Toolbox, using an audioDatastore might simplify this. Here is an example (make sure the function myC...

casi 2 años hace | 0

Respondida
Error in Matlab Coder: "Property 'pBuffer.Cache' is undefined on some execution paths but is used inside the called function."
He Bernd, I suspect coder is not sure this while loop will ever be entered. This should work (I added a call to write outside t...

casi 2 años hace | 1

| aceptada

Respondida
How to use few files from audioDatastore after reading the whole wav files?
Hi Krishna, You can use subset for this. Something like: ads = subset(ads,ads.Labels==1 || ads.Labels==2)

casi 2 años hace | 0

| aceptada

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

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 1

Respondida
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...

casi 2 años hace | 1

| aceptada

Respondida
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]...

casi 2 años hace | 0

| aceptada

Respondida
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...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

Respondida
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....

casi 2 años hace | 0

| aceptada

Respondida
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);

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 0

Respondida
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...

casi 2 años hace | 1

| aceptada

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

alrededor de 2 años hace | 0

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

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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....

alrededor de 2 años hace | 1

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

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

Respondida
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...

alrededor de 2 años hace | 0

| aceptada

Respondida
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...

alrededor de 2 años hace | 0

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

más de 2 años hace | 0

Respondida
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...

más de 2 años hace | 0

| aceptada

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

más de 2 años hace | 0

| aceptada

Respondida
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...

más de 2 años hace | 0

Respondida
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/...

más de 2 años hace | 0

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

más de 2 años hace | 0

Cargar más