# Signaldisplay zoom min/max?

**URL:** <https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311>\
**Category:** Cabbage Stew\
**Created:** [19 February 2021 03:40 UTC](https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311 "2021-02-19T03:40:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fellusive](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/fellusive/32/4515_2.png) [@fellusive](https://forum.cabbageaudio.com/u/fellusive)\
**Post date:** [19 February 2021 03:40 UTC](https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311/1 "2021-02-19T03:40:52Z")

</div>

hi there! I’ve been playing around with the `signaldisplay` widget a little (but evidently not enough), and I’m wondering if there’s a certain range of values for the `zoom` argument. Also, is there some significance to the min/max values if they exist? For example, if the maximum zoom is meant to display only one full cycle of a waveform played at a certain frequency?

thanks!

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [19 February 2021 09:17 UTC](https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311/2 "2021-02-19T09:17:48Z")

</div>

> [@fellusive](#):
>
> For example, if the maximum zoom is meant to display only one full cycle of a waveform played at a certain frequency?

No, it’s more a rough guide to how many samples are displayed on screen. A value of 2 will show half the number of samples of a value of 1. I would need to look over the source code to give you more info that that. I know a value of -1 will disable the zoom buttons.

Are you trying to display a single cycle of a waveform to gives user an idea of the shape of the current output? I would just use a `gentable` for that. If that’s something you’re trying to do let me know and I can prepare a quick demo.

---

<div class="post-metadata">

**Author:** ![fellusive](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/fellusive/32/4515_2.png) [@fellusive](https://forum.cabbageaudio.com/u/fellusive)\
**Post date:** [19 February 2021 16:37 UTC](https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311/3 "2021-02-19T16:37:11Z")

</div>

thanks for your reply, rory - your short explanation helped me understand the widget more.

I am in fact trying to display a single cycle of a waveform in `signaldisplay` - however, I also want to show how the waveform evolves over time, so I’m not sure if `gentable` could do that (unless it actually can!).

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [19 February 2021 16:40 UTC](https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311/4 "2021-02-19T16:40:23Z")

</div>

`gentable` all the way in this case 😄 Check out the SimpleTable csd in the Misc examples. That should get you started 😉

---

<div class="post-metadata">

**Author:** ![fellusive](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/fellusive/32/4515_2.png) [@fellusive](https://forum.cabbageaudio.com/u/fellusive)\
**Post date:** [19 February 2021 16:53 UTC](https://forum.cabbageaudio.com/t/signaldisplay-zoom-min-max/2311/5 "2021-02-19T16:53:09Z")

</div>

oh! Thanks for the example. It seems that maybe if I create some kind of metro+trigger thing then I can make the table update automatically at a defined rate… I’ll look into it! Thanks again 😊
