# Very elementary lessons about tables

**URL:** <https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161>\
**Category:** Cabbage recipes\
**Created:** [11 March 2016 22:35 UTC](https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161 "2016-03-11T22:35:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Codesound](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/c/41988e/32.png) [@Codesound](https://forum.cabbageaudio.com/u/Codesound)\
**Post date:** [11 March 2016 22:35 UTC](https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161/1 "2016-03-11T22:35:33Z")

</div>

Hi,

I hope can be useful to someone 😉

PS: If the experts find errors or improvements, they are welcome 😊  
how can I view the contents of more ftgen with just a one gentable? 😊

 ![](https://forum.cabbageaudio.com/uploads/default/original/1X/ceaae6d06c48088f1437561c7fa5b9316390dfa2.png) 

[2016.03\_Tonetta\_Ivan\_Tables 001.zip](https://forum.cabbageaudio.com/uploads/default/original/1X/e524ca7c0c9ea93daeef43ac5691b5bc086803ba.zip) (85.1 KB)

R

---

<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:** [12 March 2016 00:12 UTC](https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161/2 "2016-03-12T00:12:51Z")

</div>

Pass more than one table to the **tableNumber()** identifier. For example **tableNumber(1, 2, 3)** will load tables 1 2 and 3 in the same table widget.

---

<div class="post-metadata">

**Author:** ![Codesound](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/c/41988e/32.png) [@Codesound](https://forum.cabbageaudio.com/u/Codesound)\
**Post date:** [12 March 2016 06:55 UTC](https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161/3 "2016-03-12T06:55:17Z")

</div>

> [@rorywalsh](#):
>
> tableNumber(1, 2, 3)

Hi,

thanks for reply. I would like it to be shown the contents of one table at a time in the same vidget. It can be done?  
when table 2 is selected, only table 2 is showed but when table 3 is selected only the table 3 is showed in the same widget…

R

---

<div class="post-metadata">

**Author:** ![iainmccurdy](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/i/8baadc/32.png) [@iainmccurdy](https://forum.cabbageaudio.com/u/iainmccurdy)\
**Post date:** [12 March 2016 11:13 UTC](https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161/4 "2016-03-12T11:13:42Z")

</div>

I think below is along the lines of what Rory is suggesting. It’s a little hard to see as the tables are all quite similar in shape and because the unselected tables are still visible, albeit more faint. Maybe some future development might allow unselected tables to be rendered completely invisible.  
Below is a amended Cabbage section from your example ‘001 - f1\_Score\_TIMBRE\_oscili\_GUI.csd’

```
<Cabbage>
form size(500, 400), pluginID("plu1")
; Note: each function in the score sending your values in same "gentable" opcode number
gentable bounds(005,005,245,175), tablenumber(1,2,3,4), tablecolour("blue","red","yellow","green") ; receive the values?of the score function 1
label bounds(005,370,180,015), text("Tonetta Ivan - 2016.03"), align("left"), fontcolour("blue")
</Cabbage>
```

---

<div class="post-metadata">

**Author:** ![Codesound](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/c/41988e/32.png) [@Codesound](https://forum.cabbageaudio.com/u/Codesound)\
**Post date:** [12 March 2016 13:30 UTC](https://forum.cabbageaudio.com/t/very-elementary-lessons-about-tables/161/5 "2016-03-12T13:30:52Z")

</div>

Hi,

thanks for reply. I imagine a drum machine that sends its also waveform for display in GUI by updating the table every time.

Many thanks for all!!!

R
