Community Profile

photo

jibrahim

Last seen: 12 jours il y a Actif depuis 2016

Statistics

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

Afficher les badges

Content Feed

Afficher par

A répondu
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, ...

20 jours il y a | 0

| A accepté

A répondu
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...

environ un mois il y a | 0

A répondu
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...

environ 2 mois il y a | 1

| A accepté

A répondu
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)

environ 2 mois il y a | 0

| A accepté

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

2 mois il y a | 0

A répondu
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 mois il y a | 1

A répondu
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 mois il y a | 1

| A accepté

A répondu
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 mois il y a | 0

| A accepté

A répondu
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...

4 mois il y a | 0

A répondu
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...

4 mois il y a | 0

A répondu
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....

4 mois il y a | 0

| A accepté

A répondu
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);

4 mois il y a | 0

A répondu
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...

4 mois il y a | 0

A répondu
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 mois il y a | 1

| A accepté

A répondu
AudioBasedAnomalyDetectionForMachineHealthMonitoringExample.mlx
Hi Monique, Sorry about this error. Here is the correct link to get the zip file.

4 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

| A accepté

A répondu
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....

6 mois il y a | 1

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

| A accepté

A répondu
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 mois il y a | 0

A répondu
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...

7 mois il y a | 0

A répondu
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 mois il y a | 0

| A accepté

A répondu
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 mois il y a | 0

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

7 mois il y a | 0

A répondu
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 mois il y a | 0

| A accepté

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

8 mois il y a | 0

| A accepté

A répondu
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 mois il y a | 0

A répondu
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 mois il y a | 0

Charger plus