Community Profile

photo

jibrahim

Last seen: Today Active since 2016

Statistics

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

View badges

Content Feed

View by

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

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

ungefär en månad 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...

ungefär en månad 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....

ungefär en månad 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

ungefär 2 månader 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...

2 månader 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...

3 månader 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...

3 månader ago | 0

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

3 månader 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...

3 månader 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. ...

3 månader 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...

4 månader 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/...

4 månader 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

5 månader 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...

5 månader 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: ...

5 månader 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.

6 månader ago | 1

| accepted

Answered
Saving images quickly for huge datasets
Hi Joenam, A couple of things I noticed in your code: 1) You rely on melSpectrogram to generate a plot for you, which is fin...

6 månader ago | 1

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

6 månader 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...

6 månader 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...

6 månader 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...

6 månader 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...

7 månader 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...

7 månader 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...

7 månader 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 ...

7 månader 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 ...

8 månader 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...

8 månader ago | 0

| accepted

Load more