Csound Csound-dev Csound-tekno Search About

[Csnd] Flow chart from Csound code

Date2024-11-29 15:06
FromOeyvind Brandtsegg
Subject[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 ;-)

Ø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

Date2024-11-29 15:28
FromRory Walsh
SubjectRe: [Csnd] Flow chart from Csound code
I think CsoundQT had something like this using graphvis, but I've no idea how well it worked.

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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

Date2024-11-29 15:48
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] Flow chart from Csound code
It worked great and still does!

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

On Nov 29, 2024, at 10:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:


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

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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

Date2024-11-29 21:00
FromOeyvind Brandtsegg
SubjectRe: [Csnd] Flow chart from Csound code
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

On Nov 29, 2024, at 10:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:


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

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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

Date2024-11-29 21:21
FromVictor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE>
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Flow chart from Csound code
Did you set the path to dot in the CsoundQT preferences?
Prof. Victor Lazzarini
Maynooth University
Ireland

On 29 Nov 2024, at 21:01, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:



*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

On Nov 29, 2024, at 10:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:


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

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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

Date2024-11-29 23:20
FromTarmo Johannes
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Flow chart from Csound code
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

On 29 Nov 2024, at 21:01, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:



*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

On Nov 29, 2024, at 10:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:


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

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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

Date2024-11-29 23:30
FromOeyvind Brandtsegg
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Flow chart from Csound code
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 ;-)
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

On 29 Nov 2024, at 21:01, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:



*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

On Nov 29, 2024, at 10:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:


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

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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

Date2024-11-29 23:34
FromOeyvind Brandtsegg
SubjectRe: [Csnd] [EXTERNAL] Re: [Csnd] Flow chart from Csound code
... 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 ;-)
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

On 29 Nov 2024, at 21:01, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:



*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

On Nov 29, 2024, at 10:29 AM, Rory Walsh <rorywalsh@ear.ie> wrote:


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

On Fri, 29 Nov 2024 at 15:06, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
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 ;-)

Ø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