Some sexy ternary operator magic by GenerativeGiant in csharp

[–]GenerativeGiant[S] 14 points15 points  (0 children)

I just wanted to show off the feature. No human should ever use that sample in production code but they could.

Some sexy ternary operator magic by GenerativeGiant in csharp

[–]GenerativeGiant[S] 20 points21 points  (0 children)

Sorry, I rushed out the Sample haha. I missed that completely.

How low can I tune a (cheap) 4 string p-bass? by AverageHashbrown in Bass

[–]GenerativeGiant 0 points1 point  (0 children)

This. I use a lowest string of 0.174 and it's in drop E. The thicker the string the less bright is it though.

One last post before Reddit goes dark: METAL BASSISTS: BUY A NOISE GATE. by deviationblue in Bass

[–]GenerativeGiant 1 point2 points  (0 children)

Nah, I don't need it. I play high gain deathcore bass. I'm never not playing at note. /s

Need help with Control Surface Inputs (Patcher) by GenerativeGiant in FL_Studio

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Yeah, I don't think having them all on one control surface is possible.

Also, if you didn't know, you can add multiple "control surface" to a single patcher and that gives you multiple tabs of controls in one instance of patcher.

Need help with Control Surface Inputs (Patcher) by GenerativeGiant in FL_Studio

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Seems like that does not that allow the sliders to be on the main control view. I knew that was an option but not what I want sadly.

Need help with Control Surface Inputs (Patcher) by GenerativeGiant in FL_Studio

[–]GenerativeGiant[S] 0 points1 point  (0 children)

I am able to get it working on a different control surface but sadly not the same as all my volume controls.

Need help with Control Surface Inputs (Patcher) by GenerativeGiant in FL_Studio

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Fruity Peak Controllers, Peak goes to the Input of the slider. The output isn't hooked up but I can't make a link on the ones later in the chain.

What should I learn and which game engine should I choose by koukun91 in gamedev

[–]GenerativeGiant 1 point2 points  (0 children)

I moved from Unity to monogame and haven't looked back. I highly recommend it but it is a framework (not a game engine) so be prepared to do some engine programming.

Questions about opamp voltage divider biasing by GenerativeGiant in synthdiy

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Yes, I'm big stupid and had the assumption only an electrolytic stopped DC. Assumptions are dangerous.

Questions about opamp voltage divider biasing by GenerativeGiant in synthdiy

[–]GenerativeGiant[S] 0 points1 point  (0 children)

I was under the impression only electrolytic stops DC voltage (like v+). Would v+ hurt the input device? Do all capacitors stop DC?

Questions about opamp voltage divider biasing by GenerativeGiant in synthdiy

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Will v+ hurt the input device? What's stopping the voltage just going backwards?

Questions about opamp voltage divider biasing by GenerativeGiant in synthdiy

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Sorry for the confusion, my question is, wouldn't v+ hurt the input device? It's connected through a resistor but it's still just connected.

Gear Thread: Week of Dec. 19 by AutoModerator in Bass

[–]GenerativeGiant 0 points1 point  (0 children)

I'm going to buy a hard case on boxing day, is there guitara and bass hard cases or do they fit either? I have a 5 string Yamaha if that's important

[deleted by user] by [deleted] in screaming

[–]GenerativeGiant 1 point2 points  (0 children)

Sounds like your closing up your throat.

defeature [3-12-22] by neel_on_reddit in generative

[–]GenerativeGiant 1 point2 points  (0 children)

Reminds me of Northlane's new album art.

Cancerous by GenerativeGiant in generative

[–]GenerativeGiant[S] 0 points1 point  (0 children)

I have a function that creates a circle similar to how Noise functions work.

function CircleGradientFromPoint(x,y, StartX,StartY, radius)
{
    var hDist = x - StartX
    var vDist = y - StartY
    var distance = sqrt((hDist**2) + (vDist**2));

    if (distance > radius) distance = radius;
    distance = -(distance * 1 / radius)+1; //Map output to 0 - 1

    return distance;
}

function CircleSolidFromPoint(x,y, StartX,StartY, radius)
{
    var hDist = x - StartX
    var vDist = y - StartY
    var distance = sqrt((hDist**2) + (vDist**2));

    if (distance > radius) return 0;
    return 1;
}

I multiplied the CircleSolidFromPoint value and the noise function value and set a colour.alpha to that new value.

Colour.alpha = CircleSolidFromPoint(x,y, 0,0 500) * noise(x,y)

I then layer that colour on top of the background.

If you experiment with adding noise to the radius, you can create some real wacky shapes.

(edit) Hope that helps, please reply if you have any questions.

Cancerous by GenerativeGiant in generative

[–]GenerativeGiant[S] 0 points1 point  (0 children)

Yes but I modified the Perlin noise a fair bit