# Visualize filter frequency response?

**URL:** <https://forum.csound.com/t/visualize-filter-frequency-response/523>\
**Category:** General\
**Created:** [October 5, 2021, 8:32pm UTC](https://forum.csound.com/t/visualize-filter-frequency-response/523 "2021-10-05T20:32:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![genell](https://forum.csound.com/user_avatar/forum.csound.com/genell/32/28_2.png) [@genell](https://forum.csound.com/u/genell)\
**Post date:** [October 5, 2021, 8:32pm UTC](https://forum.csound.com/t/visualize-filter-frequency-response/523/1 "2021-10-05T20:32:24Z")

</div>

Hi!  
I was wondering is there is any opcode that allows for easy visualization of filter frequency response in Csound? I suppose it could be done using e.g. dispfft in some clever way, but I just wanted to know if there was a ready-to-go opcode or so?

Regards,  
Anders

---

<div class="post-metadata">

**Author:** ![rory](https://forum.csound.com/user_avatar/forum.csound.com/rory/32/7_2.png) [@rory](https://forum.csound.com/u/rory)\
**Post date:** [October 26, 2021, 8:54am UTC](https://forum.csound.com/t/visualize-filter-frequency-response/523/2 "2021-10-26T08:54:03Z")

</div>

Did you ever find a solution for this? Victor uses ctcsound to display filters response curves in his computer instruments book, but they are not real time.

---

<div class="post-metadata">

**Author:** ![genell](https://forum.csound.com/user_avatar/forum.csound.com/genell/32/28_2.png) [@genell](https://forum.csound.com/u/genell)\
**Post date:** [October 28, 2021, 10:36am UTC](https://forum.csound.com/t/visualize-filter-frequency-response/523/3 "2021-10-28T10:36:16Z")

</div>

Not really, though I haven’t had time to explore it properly.  
I did a proof of concept a long while back where I displayed fft:s using the websocket opcode and Ed Costello’s examples with Canvas and whatnot. Worked reasonably ok so it might be an option, but it would of course be preferable with a proper opcode corresponding to something like the “freqz” function in matlab.

I haven’t really worked much with ctcsound, but as I have done some other work in python I might as well try that too. Thanks!

---

<div class="post-metadata">

**Author:** ![rory](https://forum.csound.com/user_avatar/forum.csound.com/rory/32/7_2.png) [@rory](https://forum.csound.com/u/rory)\
**Post date:** [October 28, 2021, 6:03pm UTC](https://forum.csound.com/t/visualize-filter-frequency-response/523/4 "2021-10-28T18:03:47Z")

</div>

If the speed of JS is enough for you then I’d recommend using the web build of Csound and drawing the data to the html5 canvas.
