SynthMaker

Graph Create

Archive · 2005 14 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

oddson ·

Does anyone have an example of how to use the "Graph Create" component?

Does anyone have a more complete explanation of what a 'graph' data type contains?

Best I can tell is it's an array of data pairs containing integer index values and floating point values.

But then why does the graph create have a "N" input? Wouldn't it know how many points are in it? Or is that just the number of data points that are output?:S

Tried to make it work a bunch of different ways to no avail.

An example schematic of this bit in action would be great.

(I'm making a more concerted effort to work my way through the toolbox. I hope I don't wear out may welcome asking too many questions.) 😇

[Devs - there's a missing 'e' in the word 'the' in the tool-tip text]

rl ·

oddson wrote: Does anyone have an example of how to use the "Graph Create" component?

hava a look at the LFO implementation in the example synth

oddson ·

rl wrote: ..hava a look at the LFO implementation in the example synth

At the expense of looking more stupid than usual:

The what now? 😕

Do you mean the "Classic synth" If so; the 'scopes all use the analyser like virtually every other example I can find.

Followup question - is there any difference between the float array and graph data types?

rl ·

oddson wrote: The what now? 😕

example.osm in your install folder. The one that is loaded automatically on startup

oddson ·

rl wrote: ...The one that is loaded automatically on startup

😕 😮 Oh.. 😊

That hasn't loaded on startup since day 1.

I remember playing with it and being completely intimidated by the seemingly endless nesting of modules that I couldn't grasp. It doesn't look quite as intimidating now (3 months later).

(BTW- it's freezing with a note hanging regularly - anyone else having trouble with it?)

I do see the component in question is used here. It will take me a while to figure out how it's being used. Thanks for helping me out.

And the other thing: As data types is there any difference between a float array and a graph? They both seem to be an indexed array of floating point data. Am I off base on this?

(EDIT - seems to be just what I originally thought - my problems in making it work must lay elsewhere as I was feeding it data correctly.)

stefan ·

oddson wrote: (BTW- it's freezing with a note hanging regularly - anyone else having trouble with it?)

When? When adjusting envelope values?

oddson ·

stefan wrote: When? When adjusting envelope values?

When? - lot's of times, lots of situations. Playing with the LFO bar graphs while notes are being played is an almost surefire freeze.

I unhooked the sound out / midi in just to get inside it to play with the graph component to figure it out.

Really unstable but I'm not sure how much of it is this schematic or how much is something going on with my machine.

I've had lots of freezes with really complex schematics lately.

The wife likes to install 'fun' stuff on our machine much to my chagrin and it could be something very specific to my setup.

But since you're here... do I have the graph thing straight? Is it similar to/same as a float array?

jorge ·

oddson wrote: do I have the graph thing straight? Is it similar to/same as a float array?

Yeah, you got it right. I remember some time ago introducing the new FloatArray connector which will probably replace the graph. For backward compatibility I left the old graph connectors working and made them also work as FloatArrays but I might have forgotten some. Basically Graph and FloatArray are the same ( if not its a bug ).

oddson ·

So is the N input just to stop you from dropping an out-of-range index into the graph? And/or to force it to the right size?

jorge ·

oddson wrote: So is the N input just to stop you from dropping an out-of-range index into the graph? And/or to force it to the right size?

When the Graph Create was implemented somehow at the time it made sense to have a fixed array size. Would you prefer a variable size? we're open to suggestions.

Here is an example using the Graph Create component:

[old link]

oddson ·

jorge wrote: When the Graph Create was implemented somehow at the time it made sense to have a fixed array size. Would you prefer a variable size? we're open to suggestions...

You give me way to much credit here Jorge. I don't think my opinion on this is informed enough to go making program changes. 😕 I'm just trying to wrap my head around everything in the program.

But if the graph and float arrays are equivalent then don't we already have a variable array-size component?

(EDIT - OK - I've tried to replace Graph Create with a Float Array. Seems they are equivalent in content not in function - you can't hook a float array up to a graph!?)

skOre ·

variable sized graphs would open up the way for multi-point-envelopes...

oddson ·

OK Jorge - there's someone you should be listening to. 😉

skOre ·

Well, was just a quick thought. Yet after some more thinking, wouldn't that already be possible with some little workaround? It would be more comfortable though (thats the way PAline gets its points, right?).

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.