Active Noise control with Reinforcement Learning
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Supraja
2023-6-2
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Code Generation and Deployment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!