Active Noise control with Reinforcement Learning
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I need some more information for TSM320C6748.I want to use multiple microphones as an input and loudspeaker as an output.
So how does it perform to connect a multi-channel Active Noise Controller inside DSP?
I want to measure incoming audio from different microphones from different places near by the audio source and as a output different loudspeakers in different places to generate anti noise signals to reduce the incoming noise from Industrial Fan.
We also checked for the TMS320C6748 entire LSDK kit, but we need 3rd party software as well. So how will we get that software to run my system? Also it is interesting task to use Reinforcement Learning model deploy to the Hardware part. If any one have knowledge regarding the topic Active Noise control with help of Reinforcement Learning then it might be helpful for me.
Thank you in advance for the support.
Best regards,
0 Kommentare
Antworten (1)
Supraja
am 2 Jun. 2023
I understand that you want to use multiple microphones as input and loudspeaker as an output in TSM320C6748. You can try the following code:
% Create the audio recorder
recorder = dsp.AudioRecorder('Driver','ASIO','SampleRate',48000,...
'NumChannels',2,'BufferSize',48000,'DeviceName','AudioBox');
% Create the audio player
player = dsp.AudioPlayer('Driver','ASIO','SampleRate',48000,...
'NumChannels',2,'BufferSize',48000,'DeviceName','AudioBox');
% Create the SAI device reader and writer
saiReader = dsp.SAIDeviceReader('Driver','TI C674x SAIDevice Driver',...
'DeviceIndex',0,'NumChannels',2);
saiWriter = dsp.SAIDeviceWriter('Driver','TI C674x SAIDevice Driver',...
'DeviceIndex',1,'NumChannels',2);
% Set up the signal processing algorithm
alg = mySignalProcessingAlgorithm();
% Compile the algorithm and execute it on the TMS320C6748
hwobj = compile(partition, alg);
runOnHardware(hwobj, recorder, player, saiReader, saiWriter);
% Cleanup
release(recorder);
release(player);
release(saiReader);
release(saiWriter);
release(hwobj);
Hope this helps!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Code Generation and Deployment finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!