Unable to resolve the name audio.inte​rnal.visua​lizer.Filt​er.

Hello!
I keep getting the following error when executing the script AudioSystemToolboxIntroMain.m that accopanies the webinar "Real-time Audio Processing for Algorithm Prototyping and Custom Measurements" (https://se.mathworks.com/videos/real-time-audio-processing-for-algorithm-prototyping-and-custom-measurements-121075.html):
(Executing RealTimeStreaming.m works.)
Unable to resolve the name audio.internal.visualizer.Filter.
Error in ThreeBandParamEQ/visualize (line 122)
obj.visualObj = audio.internal.visualizer.Filter(coeffs,...
Error in AudioSystemToolboxIntroMain (line 10)
visualize(eq)
I believe that I have all required toolboxes installed:
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1467703 (R2020b)
MATLAB License Number: XXX
Operating System: Mac OS X Version: 10.15.7 Build: 19H2
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Antenna Toolbox Version 4.3 (R2020b)
Audio Toolbox Version 2.3 (R2020b)
Computer Vision Toolbox Version 9.3 (R2020b)
Curve Fitting Toolbox Version 3.5.12 (R2020b)
DSP System Toolbox Version 9.11 (R2020b)
Image Acquisition Toolbox Version 6.3 (R2020b)
Image Processing Toolbox Version 11.2 (R2020b)
MATLAB Compiler Version 8.1 (R2020b)
MATLAB Compiler SDK Version 6.9 (R2020b)
Optimization Toolbox Version 9.0 (R2020b)
Phased Array System Toolbox Version 4.4 (R2020b)
Signal Processing Toolbox Version 8.5 (R2020b)
Statistics and Machine Learning Toolbox Version 12.0 (R2020b)
Symbolic Math Toolbox Version 8.6 (R2020b)
I've tried
rehash toolboxcache
and reverting pathdef.m without success.
Thanks!

 Accepted Answer

This code was indeed last updated when its accompanying video was recorded. I understand we decided to kept the two "in sync" to let the code match what's seen in the video.
The documentation of Audio Toolbox these days includes many examples illustrating these and more workflows and I would encourage to refer to those first.
If you are still interested in using this code with a more recent MATLAB release, you can try to upgrade it yourself by replacing the discontinued helper object audio.internal.visualizer.Filter with the newer dsp.DynamicFilterVisualizer. Other small updates may be necessary.
If getting a working version of this code is important to you and you can't easily fix yourself, please message me privately and I will do my best to help.

9 Comments

This one works, indeed. Thanks for looking into this so quickly!
I got the same error, but the code was deleted. Could you please share the code one more time? Thank u!
Apologies as I haven't yet been abel to update the original repository. Please download the updated version using the link and credentials below (link valid for 30 days as earlier):
https://sft.mathworks.com/human.aspx?r=&Arg07=717131777&Arg12=fileview
Username: Customer
Password: MathWorks
Thanks,
Gabriele.
Thank you very much! It really helps me!
Hi Mr. Bunkheila, I too am having this problem months later. If it is not too much trouble, could you send the link again? If you have any additional feedback, that would be awesome! Thank you.
Thank you for posting here. Please download the updated code using the link and credentials below (the archive will be automatically deleted after 30 days):
https://sft.mathworks.com/human.aspx?r=&Arg07=754574544&Arg12=fileview
Username: Lakeside
Password: 8bem7n3d
You can refer to the readme file in the archive to get started. I hope this helps.
Thanks,
Gabriele
I am having the same problem, could I get a new link to the code?
Hi, I got the same problem. it shows
' Unable to resolve name: 'audio.internal.visualizer.Filter' '
Could I get more infos about that?
Hi Mr. Bunkheila, I too am having this problem many months later. If it is not too much trouble, could create a new download link to share the new version? Thank you.

Sign in to comment.

More Answers (1)

Hello Jens, I got the same error when running the code, and I really need it to do my research. Could you please share the latest version of the code to me? Thanks!

Products

Release

R2020b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!