Drawing a circle-based graph with a WAV file

Hello!

I just took a look at this file:
Read_WAV.gh (122.8 KB)
Source

With it, it’s possible to draw the graph of a WAV file:

Now I’m wondering if there is a way to get the base shape as a circle instead of a straight line. Does anyone know how to do that?

The WAV C# is mine.

For the “star” like thing you don’t need the bazooka - unless you really need a “closed” WAV Polyline (does this makes any sence?).

Notify if you need a rather simple C# that does the job (but is also doable with components).

1 Like

@PeterFotiadis, thank you for your answer! It’s already a pretty cool script, I like it.

It would be cool if it would be perfectly closed. I would prefer components, but also think C# is fine, if it’s not too complex.

NOT for this goal of yours by any means. Avoid the bazooka and be a happy bunny.

Get an entry level take.

I could control various things with a far more elaborated way like “how random” the nodes are (their angles in fact) blah, blah … but I’m after windsurfing matters right now (1M++ miles from base).

Polyline_RandomOnCirc_V1.gh (124.3 KB)

What means perfectly closed? A Polyine is either closed or not, you know.

1 Like

Hello
you question is related to transforming something in 2D euclidian space (x, y) to a polar coordinate system.

So you could transform your x y coordinate to teta radius.
You will have to use these components
Point Cylindrical or
Point Polar or


xy to polar.gh (170.2 KB)

1 Like

Download

Thanks a lot! I think my question was not clear enough, and updated it, sorry. The idea was to still keep the WAV file import. But visually, what you did, is the kind of style that I imagined, thanks!

Now I was wondering if I can understand C# enough to copy the import logic of the WAV file to the new file. I got headache, and definitely rather would get a Ducati instead.

Does it make sense to copy something together here?

Hello! Thanks for your reply! Interesting logic. How can be this WAV sound graph be used as input?

Wise words:

Want the immortal thing? get a 998S
Want the ugliest thing ever? get a 999
Want to die ASAP? get a Pani V4S
Want to live? get a Pani V2.
Want the ultimate? get a NCR Millona

Want the trad update? Get this:

Polyline_RandomOnCirc_V1A.gh (119.5 KB)

1 Like

You just have to use the numbers that are outputted by Peter tool, these number are the Y (amplitude of sound), so you must add a time (X) for example 0, 1, 2 …

1 Like

Pani V4S pls.

The outputted numbers are the values from LChannel? And then I pin it to the component points where the Y values ​​used to be? And for the panel I wrote now 1 needs to be a time value? :face_with_spiral_eyes:


no-idea.gh (103.3 KB)

If you haven’t spend your life riding lethal things … then:

It’s time. :cucumber:

1 Like

You must learn to explore a definition.

On the output of first @PeterFotiadis component there is an amplitude
image
Count the number then use a serie component and you will get a time
here with a little N (step) in order to see something.

1 Like

Want an advise? Spend 2 years in a CB500, then the next 3 in a CBR600 then the next 5 in a CBR1000RR … and if you are still around (hope dies last) … enter the 5th dimension.

1 Like

Try this plugin Mosquito

1 Like


still-no-idea.gh (103.7 KB)

Something like this? But yes, I should start to understand it. :sob:

Waiting 10 years? Maybe then Ducati will only produce retro shirts.

Thank you! I have looked at it, but this plugin seems not to work on macOS with Rhino 7.

no-idea.gh (121.2 KB)

1 Like