Answered
Trying to convert whole folder into spectrograms
Hi Justine, consider using an audioDatastore to do this. then you don't have to write the for loop. for example: % This audioDa...

8 maanden ago | 0

| accepted

Answered
VGGishPreprocess not accepting input
Hi Joshua, First, sorry we had a local funtion name with the same name as a function we ship. We are fixing this. The functi...

8 maanden ago | 1

| accepted

Answered
Need help with Volume Slider GUI
Hi Nikos, Consider using audioDeviceWriter to play the audio, and dsp.AudioFileReader to read from the audio file. You do not...

8 maanden ago | 0

| accepted

Answered
Speech To Text SAPI Offine mode
Hi Nikos, You can try out wav2vec 2.0. You can find a MATLAB implementation here: https://github.com/matlab-deep-learning/wav2...

8 maanden ago | 1

| accepted

Answered
Audio Files in a Triggered Subsystem?
Hi Benjamin, You can't use this audio block in a triggered subsystem. You can try an enabled subsystem though. Both From Multim...

9 maanden ago | 0

Answered
Howto explore large collection of audio files with custom parameters display beside time and frequency domain graphs ?
Hi Robert, audioDatastore will help you manage a large number files. The signal analyzer app will help you visualize files, a...

9 maanden ago | 0

Answered
Recorded Audio is Shorter than Expected
Hi Xiwen, I suspect the scope is taking a long time to set up the first time you call it. Consider adding this code outside...

9 maanden ago | 0

| accepted

Answered
How to extract VGGish features from audio files shorter than 1s?
Hi Robert-Valentin, The VGGIsh network accepts auditory spectrograms that correspond to roughly one second of audio, so you do ...

9 maanden ago | 1

Answered
How can I change the database and pretrained generator ?
Hi Aseel, The example starts off by showcasing the pretrained network. The network was trained to produce drum-like sounds. If ...

10 maanden ago | 0

Answered
For a network with 1 inputs and 1 output, the datastore read function must return a cell array with 2 columns, but it returns an cell array with 1 columns.
Hi Gudimalla, The training process typically expects a pair from the datastore: For classification problems, it expects a mel s...

10 maanden ago | 0

| accepted

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

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

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

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

11 maanden 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);...

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

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

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar ago | 0

| accepted

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

ongeveer een jaar 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...

ongeveer een jaar 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...

ongeveer een jaar 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)...

ongeveer een jaar 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...

meer dan een jaar 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...

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

Load more