Csound Csound-dev Csound-tekno Search About

[Csnd] graphviz

Date2008-05-23 01:25
Fromatir ajnopse
Subject[Csnd] graphviz
Attachmentstrapped_1.pdf  instrument_graph.py  
hi.

as a side effect of a current project, I did a small visualization 
script in python to view an instrument as a graphviz diagram. It still 
does not parse gotos, ifs and the like, and since it parses instruments 
and not complete CSDs, global variables are also not supported. But it 
does help clarify big instruments (i did it for debugging). I attached 
one sample pdf.

If someone finds it useful, here it is.

it needs pyparsing and pydot.

cheers,

eduardo

Date2008-05-23 09:20
From"Oeyvind Brandtsegg"
Subject[Csnd] Re: graphviz
AttachmentsNone  

Date2008-05-23 09:27
FromAndrea Valle
Subject[Csnd] Re: Re: graphviz
very easy. At each node/edge level or a as a general style property.

(very interesting work: in SuperCollider there is something strictly analogous. 
I'm using for my graph-based composition system graphviz too. 
With ZGRViewer for interactive exploration
)

Best
-a-

-a-

On 23 May 2008, at 10:20, Oeyvind Brandtsegg wrote:

This looks useful.
I'm not so familiar with graphwiz (have used it briefly to create
callgraphs with autodoc tools, but I would not say I'm in control)
Is it easy to configure the graphic style (symbols, connections, layout) ?

Oeyvind

2008/5/23, atir ajnopse <atir.ajnopse@gmx.de>:
hi.

as a side effect of a current project, I did a small visualization script in
python to view an instrument as a graphviz diagram. It still does not parse
gotos, ifs and the like, and since it parses instruments and not complete
CSDs, global variables are also not supported. But it does help clarify big
instruments (i did it for debugging). I attached one sample pdf.

If someone finds it useful, here it is.

it needs pyparsing and pydot.

cheers,

eduardo

Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






Date2008-05-23 09:50
From"Oeyvind Brandtsegg"
Subject[Csnd] Re: Re: Re: graphviz
AttachmentsNone