Community Profile

photo

jibrahim

MathWorks

Last seen: 4 dagen ago Active since 2016

MathWorks developer, Audio Toolbox

Statistics

All
  • 12 Month Streak
  • Knowledgeable Level 3
  • Revival Level 2
  • First Review
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
what should be the constraint on window length in function melspectrogram?
Hi Krishna, This looks fine. Make sure that your input x is a column vector, not a row vector. The function treats each column ...

6 dagen ago | 0

| accepted

Answered
Need continuous sound played from buffer A then B. I fill B while A is playing, then visa versa.
Hi David, For real-time sound applications, you should use audioDeviceWriter: https://www.mathworks.com/help/audio/ref/audiode...

12 dagen ago | 0

| accepted

Answered
"audioread" multiple audio files in a folder
For future reference, I recommend you use audioDatastore: https://www.mathworks.com/help/audio/ref/audiodatastore.html You won...

20 dagen ago | 0

Answered
Get sample rate in a Matlab function block in Simulink
Hi Glenn, I've accomplished this in the past using a probe block: https://www.mathworks.com/help/simulink/slref/probe.html Th...

21 dagen ago | 0

Answered
Is there a function or a way to write/read bit by bit to/from a buffer in MATLAB?
Hi An, Maybe dsp.AsyncBuffer works for you? b = dsp.AsyncBuffer; write(b,1); % write the number 1 to the buffer write(b,2);...

ongeveer een maand ago | 0

| accepted

Answered
Iterate speech frames through all the audio file in the folder
Hi Camille, The function mfcc breaks the signal into frames for you, so you do not need to perform the frame processing yoursel...

ongeveer een maand ago | 0

| accepted

Answered
how to separate an audio file based on different speakers
Hi Andrei, Speaker diarization is one way to address it. Check out this example: https://www.mathworks.com/help/audio/ug/spe...

2 maanden ago | 0

Answered
How do I connect my ASIO sound card to Matlab??
Hi Wilmer, You should be able to use the ASIO sound card with the objects in Audio toolbox: audioDeviceWriter, audioDeviceRead...

3 maanden ago | 0

Answered
I am missing the test signal "WashingMachine-16-8-mono-200secs.mp3" from the denoise example.
We've changed this example over the releases, but everything should work as long as the demo you're reading matches with your MA...

3 maanden ago | 0

| accepted

Answered
How to create and train a LSTM network for audio denoising in MATLAB
This example does not use LSTMs, but it should be useful: https://www.mathworks.com/help/deeplearning/ug/denoise-speech-using-d...

3 maanden ago | 0

Answered
How to implement Trained CNN for audio denoising in simulink
Hi Arvinda, This is possible. You can leverage your trained network by using one of these Simulink blocks (Image Classifier, Pr...

3 maanden ago | 0

Answered
How to create a MATLAB code for generating audio sine wave signal of frequency ranges from 1Hz to 15kHz and plot it on real time.
Zafar, you can achieve this with audioOscillator and timescope. Here is an example. % Generate and visualize a sine wave with v...

4 maanden ago | 0

Answered
spl_meter function output vlaue difference
Hi Hamin, splMeter contains filters that remember the previous output, i.e. it has states. You should not expect the same input...

4 maanden ago | 0

| accepted

Answered
How to read datastore from specified position?
Hi Neal, Here is one way to read files from a custom position: adsSub = subset(adsTest,20:40); allSignals = readall(adsSub)...

4 maanden ago | 0

Answered
Is there a possibility to scale the x-axis of the splMeter Window?
Hi Bjorn, I noticed that you set TimeSpanSource to true on the scope, but did not change the actual time span value. Maybe that...

5 maanden ago | 0

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

6 maanden 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...

6 maanden 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...

6 maanden 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...

6 maanden 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 ...

6 maanden 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...

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

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

8 maanden 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: ...

9 maanden 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...

9 maanden 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...

9 maanden 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...

9 maanden 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...

10 maanden 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...

11 maanden ago | 0

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

11 maanden ago | 0

| accepted

Load more