Answered
Use StretchAudio in realtime
Hi youngz, I suggest you use audioTimeScaler: https://www.mathworks.com/help/audio/ref/audiotimescaler-system-object.html T...

meer dan een jaar ago | 0

Answered
Help trouble shooting my code that uses a voice recognition system to identify fruits in real time
Hi Elliot, That file (weightedClassificationLayer) is not on path by default. It is attached to the example. From the doc, op...

meer dan een jaar ago | 0

Answered
Finding multiple fundamental frequencies using the pitch function
Hi Heeje, You've specified WindowLength as size(1,wsize). I suspect you mean wsize. The pitch function accepts a Range proper...

meer dan een jaar ago | 1

Answered
code for triangular filter banks and MFCC
There are two functions in Audio Toolbox that you can use for this task: mfcc: Computes MFCC codefficients for you designAudit...

meer dan een jaar ago | 0

| accepted

Answered
Speech Command Recognition Code Generation on Raspberry Pi - HelperSpeechCommandRecognitionRasPi
The function is part of the example. You can access it by clicking the 'Open Live Script' button on the doc page of the example ...

meer dan een jaar ago | 0

Answered
is there any code for detect human age and gender from voice
You can take a look at this example: https://www.mathworks.com/help/audio/ug/classify-gender-using-long-short-term-memory-netwo...

meer dan een jaar ago | 0

Answered
How to make a audio compressor and audio expander?
Haider, Audio Toolbox has functionality for dynamic range compression and expansion. I recommend you use it in your GUI. https...

meer dan een jaar ago | 0

Answered
How to import an audio file to simulink from app designer
Hi Roberto, Maybe this answers your scenario: In your App designer code, once the user has selected the file, you can use set...

meer dan een jaar ago | 0

| accepted

Answered
Extracting the individual filters in a crossover filter
Hi Simon, There is no documented way to get the individual filters. However, there is a hidden function that should help you: ...

meer dan een jaar ago | 0

| accepted

Answered
System Object Variable Size Tuneable Properties
Hi Michael, Your property u_hold is growing in size, which is problematic in simulink and in code generation in principal, whe...

meer dan een jaar ago | 0

| accepted

Answered
How to change test signal in "Denoise Speech Using Deep Learning Networks"?
Hi Charlotte, You can try changing the first line of code in that section to something likeL adsTest = audioDatastore(myfolde...

bijna 2 jaar ago | 0

| accepted

Answered
Out of memory gather()
Hi Maxim, In many practical situations, your data might not all fit in memory. There is a modified workflow for that case. Se...

bijna 2 jaar ago | 0

| accepted

Answered
Matlab, Audio Toolbox, Live Audio Tuning Problem with Plugin: How do I handle more than one property?
Hi Laurids, The process function defines how the output is computed based on the input and plugin property values. Maybe I am m...

bijna 2 jaar ago | 0

Answered
how to calculate sound level (spL) audio file (*.wav) ?
Hi ngoc, You can use splMeter from Audio Toolbox. % EXAMPLE: Calculate sound pressure level of signal audFileName = 'FunkyD...

bijna 2 jaar ago | 1

Answered
ScaleValues property error in designing a filter with designParamEQ and dsp.BiquadFilter
Hi Patrick, I can't run your code because certain variables are missing (N1, GVector, in, out, etc), but in R2020a, this code s...

bijna 2 jaar ago | 0

| accepted

Answered
Invalid training data. Responses must be nonempty.
Hi Martin, You can't pass an audioDatastore directly to the network. Create a transform datastore that organizes the data into ...

bijna 2 jaar ago | 1

| accepted

Answered
Read and compare multiple audio files
% Use an audioDatastore to point to all audio files in a folder % Set IncludeSubFolders to true to read subfolders too ads = a...

bijna 2 jaar ago | 0

Answered
run a loop until a sound plays
% Set this to the folder containing your images imageFolder = pwd; imd = imageDatastore(pwd,'IncludeSubfolders',true); imd = ...

bijna 2 jaar ago | 0

| accepted

Answered
Reducing Noise and Artifacts with the Pitch Function
Hi Manash, If you want the rate of pitch estimates to be higher, you will need to increase the overlap length: p = pitch(aud,a...

bijna 2 jaar ago | 0

| accepted

Answered
Distortion Plugin with variable Oversampling
Hi Adrian, There are multiple issues here. First, to reproduce the error, execute this: h = PickOversampling2 h.oF = 3 ...

bijna 2 jaar ago | 1

| accepted

Answered
How to use Audio Plugin Example System Objects in a custom Plugin
Hi Adrian, Take a look at the plugin below and see if this answers your needs. What this plugin does is essentially internally ...

bijna 2 jaar ago | 1

| accepted

Answered
Testing classifying gender on LSTM
Alfi, The second section of this example (Classify Gender with a Pre-Trained Network) addresses this:

ongeveer 2 jaar ago | 0

| accepted

Answered
Recovering SampleRate from 'From Mutimedia File " Block in simulink
Hi Younes, One way to do this is with a probe block. Use a probe fo get the port sample time and dimensions. You get the samp...

ongeveer 2 jaar ago | 0

Answered
spectral centroid in matlab
Hi Abhijit, spectralCentroid uses a window internally to compute the STFT of the signal. The default window length is 30 millis...

ongeveer 2 jaar ago | 0

Answered
reverb effect in MATLAB
Hi Adnan, You can accomplish this with the reverberator object in Audio Toolbox: https://www.mathworks.com/help/audio/ref/re...

ongeveer 2 jaar ago | 1

| accepted

Answered
how do i read multiple audio file from different files name ?
If you have access to Audio Toolbox, there is no need for much custom code to accomplish this. Just use audioDatastore. From th...

ongeveer 2 jaar ago | 1

Answered
Perfect reconstruction linear phase FIR filterbank for audio without reconstruction filterbank?
Hi Pythagorean, Audio Toolbox has a crossoverFilter that supports up to 5 bands. The summed magnitude response is flat. http...

ongeveer 2 jaar ago | 1

Answered
MFCC extraction for audio files in a folder
Hi Camille, The size of the output of mfcc, coeffs, is L-by-M for mono audio signals, where L depends on the audio input length...

ongeveer 2 jaar ago | 0

| accepted

Answered
Is there a better way to write my downsampling function?
Hi Adriana, You should be able to use one of many resampling functions in Signal Processing Toolbox: https://www.mathworks....

ongeveer 2 jaar ago | 0

Answered
Audio Plugin - cascade
Hi Nuno, I recommend you first try crossoverFilter. It implements a Linkwitz-Riley and supports up to 4 crossovers. You can c...

ongeveer 2 jaar ago | 1

| accepted

Load more