Active Noise control with Reinforcement Learning
5 ビュー (過去 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!