Community Profile

photo

jibrahim

Last seen: 6 giorni fa Attivo dal 2016

Statistics

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

Visualizza badge

Content Feed

Visto da

Risposto
Running generated C-code returns error "Could not open library: libmwhostlibaudio.dylib"
Hi Jio, The audio device blocks have a dependency on a dll that ships with MATLAB. If you want to execute your generated code, ...

13 giorni fa | 0

| accettato

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

30 giorni fa | 0

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

circa un mese fa | 1

| accettato

Risposto
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)

circa 2 mesi fa | 0

| accettato

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

2 mesi fa | 0

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

3 mesi fa | 1

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

3 mesi fa | 1

| accettato

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

3 mesi fa | 0

| accettato

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

3 mesi fa | 0

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

3 mesi fa | 0

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

3 mesi fa | 0

| accettato

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

3 mesi fa | 0

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

3 mesi fa | 0

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

4 mesi fa | 1

| accettato

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

4 mesi fa | 0

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

5 mesi fa | 0

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

5 mesi fa | 0

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

5 mesi fa | 0

| accettato

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

5 mesi fa | 1

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

6 mesi fa | 0

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

6 mesi fa | 0

| accettato

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

6 mesi fa | 0

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

6 mesi fa | 0

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

7 mesi fa | 0

| accettato

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

7 mesi fa | 0

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

7 mesi fa | 0

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

7 mesi fa | 0

| accettato

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

7 mesi fa | 0

| accettato

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

8 mesi fa | 0

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

8 mesi fa | 0

Carica altro