# Your go-to csound debugging commands

**URL:** <https://forum.cabbageaudio.com/t/your-go-to-csound-debugging-commands/4435>\
**Category:** Csound Noobs\
**Created:** [19 July 2024 01:19 UTC](https://forum.cabbageaudio.com/t/your-go-to-csound-debugging-commands/4435 "2024-07-19T01:19:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_T](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/bryan_t/32/5680_2.png) [@Bryan\_T](https://forum.cabbageaudio.com/u/Bryan_T)\
**Post date:** [19 July 2024 01:19 UTC](https://forum.cabbageaudio.com/t/your-go-to-csound-debugging-commands/4435/1 "2024-07-19T01:19:54Z")

</div>

What are your go-to debugging commands?

I use printk2 a lot and formatted print statements (when I can remember the syntax!). But i’m never sure what to do if I want to see an audio-rate envelope or a sample of an audio signal.

What are your favorites?

---

<div class="post-metadata">

**Author:** ![Bryan\_T](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/bryan_t/32/5680_2.png) [@Bryan\_T](https://forum.cabbageaudio.com/u/Bryan_T)\
**Post date:** [19 July 2024 02:36 UTC](https://forum.cabbageaudio.com/t/your-go-to-csound-debugging-commands/4435/2 "2024-07-19T02:36:52Z")

</div>

I see references to “display” but I don’t see how to use that with Cabbage on my mac.

I’m trying to track down the cause of a click and it is slowly driving me crazy. 🙂

---

<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 July 2024 12:23 UTC](https://forum.cabbageaudio.com/t/your-go-to-csound-debugging-commands/4435/3 "2024-07-19T12:23:25Z")

</div>

For audio rate signals you can write them to a table and then display them using a gentable. Another simple method is to write the audio to disk and then use something like Audacity to view them.

---

<div class="post-metadata">

**Author:** ![RZorn](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rzorn/32/2611_2.png) [@RZorn](https://forum.cabbageaudio.com/u/RZorn)\
**Post date:** [21 July 2024 13:56 UTC](https://forum.cabbageaudio.com/t/your-go-to-csound-debugging-commands/4435/4 "2024-07-21T13:56:03Z")

</div>

That’s also what I do. Here is a line that writes a ‘dry’ signal to a wav file before any effects are applied:

```
fout "/Users/zorn/Cabbage/AntiA/pre_all.wav", 4 ,aDry

```
