[Csnd] Flow chart from Csound code

Hi,

I seem to remember that someone wrote a tol to produce signal flow charts from Csound code.
But I do not remember who, or where I saw it.
If anyone remembers, I’d be grateful :wink:

Øyvind

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

I think CsoundQT had something like this using graphvis, but I’ve no idea how well it worked.

It worked great and still does!

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

Oh, that would be great. However, when I try View - View Code Graph, I get

Dot executable not found
Please install graphviz from graphviz.com

Then I installed graphviz, but still the same message.
Tested graphviz (dot) separately on the command line, and it works.
Rebooted to be sure, but still Qt can’t find dot

Does it export to a dot file? Then I could render it with dot manually.

Øyvind

fre. 29. nov. 2024 kl. 16:48 skrev Dr. Richard Boulanger <rboulanger@berklee.edu>:

It worked great and still does!

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

I think CsoundQT had something like this using graphvis, but I’ve no idea how well it worked.

Hi,

I seem to remember that someone wrote a tol to produce signal flow charts from Csound code.
But I do not remember who, or where I saw it.
If anyone remembers, I’d be grateful :wink:

Øyvind

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Did you set the path to dot in the CsoundQT preferences?

Prof. Victor Lazzarini
Maynooth University
Ireland

Hi!

To set the path of dot in CsoundQt, go to Configuration → External

t

Kontakt Victor Lazzarini (<000010b17ddd988e-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval R, 29. november 2024 kell 23:21:

Did you set the path to dot in the CsoundQT preferences?

Prof. Victor Lazzarini
Maynooth University
Ireland

Warning

This email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Oh, that would be great. However, when I try View - View Code Graph, I get

Dot executable not found
Please install graphviz from graphviz.com

Then I installed graphviz, but still the same message.
Tested graphviz (dot) separately on the command line, and it works.
Rebooted to be sure, but still Qt can’t find dot

Does it export to a dot file? Then I could render it with dot manually.

Øyvind

fre. 29. nov. 2024 kl. 16:48 skrev Dr. Richard Boulanger <rboulanger@berklee.edu>:

It worked great and still does!

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

I think CsoundQT had something like this using graphvis, but I’ve no idea how well it worked.

Hi,

I seem to remember that someone wrote a tol to produce signal flow charts from Csound code.
But I do not remember who, or where I saw it.
If anyone remembers, I’d be grateful :wink:

Øyvind

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Thanks for the nudge, I suspected it should be set but I could not find it. Assumed it would be in Configuration → Environment together with python :wink:
Found and set now, and get one step further. It produces a dot file, and also produce a png file. The png file can not be read by image viewer or other image editor. Should it be an svg file or png file?
all best
Øyvind

lør. 30. nov. 2024 kl. 00:20 skrev Tarmo Johannes <trmjhnns@gmail.com>:

Hi!

To set the path of dot in CsoundQt, go to Configuration → External

t

Kontakt Victor Lazzarini (<000010b17ddd988e-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval R, 29. november 2024 kell 23:21:

Did you set the path to dot in the CsoundQT preferences?

Prof. Victor Lazzarini
Maynooth University
Ireland

Warning

This email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Oh, that would be great. However, when I try View - View Code Graph, I get

Dot executable not found
Please install graphviz from graphviz.com

Then I installed graphviz, but still the same message.
Tested graphviz (dot) separately on the command line, and it works.
Rebooted to be sure, but still Qt can’t find dot

Does it export to a dot file? Then I could render it with dot manually.

Øyvind

fre. 29. nov. 2024 kl. 16:48 skrev Dr. Richard Boulanger <rboulanger@berklee.edu>:

It worked great and still does!

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

I think CsoundQT had something like this using graphvis, but I’ve no idea how well it worked.

Hi,

I seem to remember that someone wrote a tol to produce signal flow charts from Csound code.
But I do not remember who, or where I saw it.
If anyone remembers, I’d be grateful :wink:

Øyvind

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

… but I can render the png file with dot on the command line.
All ok.
Thanks for the help!

lør. 30. nov. 2024 kl. 00:30 skrev Oeyvind Brandtsegg <obrandts@gmail.com>:

Thanks for the nudge, I suspected it should be set but I could not find it. Assumed it would be in Configuration → Environment together with python :wink:
Found and set now, and get one step further. It produces a dot file, and also produce a png file. The png file can not be read by image viewer or other image editor. Should it be an svg file or png file?
all best
Øyvind

lør. 30. nov. 2024 kl. 00:20 skrev Tarmo Johannes <trmjhnns@gmail.com>:

Hi!

To set the path of dot in CsoundQt, go to Configuration → External

t

Kontakt Victor Lazzarini (<000010b17ddd988e-dmarc-request@listserv.heanet.ie>) kirjutas kuupäeval R, 29. november 2024 kell 23:21:

Did you set the path to dot in the CsoundQT preferences?

Prof. Victor Lazzarini
Maynooth University
Ireland

Warning

This email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

Oh, that would be great. However, when I try View - View Code Graph, I get

Dot executable not found
Please install graphviz from graphviz.com

Then I installed graphviz, but still the same message.
Tested graphviz (dot) separately on the command line, and it works.
Rebooted to be sure, but still Qt can’t find dot

Does it export to a dot file? Then I could render it with dot manually.

Øyvind

fre. 29. nov. 2024 kl. 16:48 skrev Dr. Richard Boulanger <rboulanger@berklee.edu>:

It worked great and still does!

Dr. Richard Boulanger
Professor
Electronic Production and Design
Berklee College of Music

I think CsoundQT had something like this using graphvis, but I’ve no idea how well it worked.

Hi,

I seem to remember that someone wrote a tol to produce signal flow charts from Csound code.
But I do not remember who, or where I saw it.
If anyone remembers, I’d be grateful :wink:

Øyvind

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here