Search found 306 matches

by honki-bobo
Fri Feb 18, 2022 8:29 pm
Forum: Tips and Tricks
Topic: Rudimentary pitch shifting and time stretching with Sampler 1
Replies: 0
Views: 4053

Rudimentary pitch shifting and time stretching with Sampler 1

I've been having a lot of fun the last hour or so playing around with Sampler 1 and "implementing" rudimentary pitch shifting and time stretching. It is pretty limited and sounds like early time stretching algorithms, but it actually works. I've set the "Sample End" value to 1200...
by honki-bobo
Wed Feb 16, 2022 10:11 am
Forum: Module Designer
Topic: Problem with Knob Update
Replies: 17
Views: 2874

Re: Problem with Knob Update

Wouldn't it be possible to set knob min and max values just during designing? Or is it really necessary to change min and max even during runtime? Sure. You could also do something like this in Notify(): if (component == knob1) { knob1Val = doubleValue; if (knob1Val > knob2Val) { knob2.SetValue(kno...
by honki-bobo
Wed Feb 16, 2022 8:36 am
Forum: Module Designer
Topic: Problem with Knob Update
Replies: 17
Views: 2874

Re: Problem with Knob Update

Ok, I see. You can try this: Set up 2 variables for storing the knob values: double knob1Val = 0.5; // knob default value double knob2Val = 0.5; // knob default value Then, in the case Knob_Changed in Notify(): if (component == knob1) { knob2.SetRange( Math.max(doubleValue, 0.0), // 0.0 := button mi...
by honki-bobo
Tue Feb 15, 2022 8:56 am
Forum: Module Designer
Topic: Problem with Knob Update
Replies: 17
Views: 2874

Re: Problem with Knob Update

I don't think it's a recursion problem; I think it's a problem with mouse handler updating. That's what I was trying to say. When you drag the knob with the mouse it updates the knob and calls Notify() which then resets the knobs value. I don't think it's a bug. I don't know what you are trying to ...
by honki-bobo
Mon Feb 14, 2022 3:18 pm
Forum: Module Designer
Topic: Problem with Knob Update
Replies: 17
Views: 2874

Re: Problem with Knob Update

I can't verify this right now, but my assumption is this: when you turn the knob away from the -1.0 value, the first value that is read is still below 0.0 and this gets reset to -1.0. Using SetValueNoNotification() breaks the notify-loop, but the value is still -1.0, because the newly read value is ...
by honki-bobo
Mon Feb 14, 2022 8:17 am
Forum: Module Designer
Topic: Problem with Knob Update
Replies: 17
Views: 2874

Re: Problem with Knob Update

It looks like you've created an infinite loop. If the knobs value is below 0 you set the value to -1, which is below 0 and causes a notification, where you check if the value is below zero, which it is, and then you set it to -1 again, which creates a notification and so on and so forth. The loop ca...
by honki-bobo
Sun Feb 06, 2022 11:23 am
Forum: Module Designer
Topic: Toggling Label Visibility
Replies: 2
Views: 850

Re: Toggling Label Visibility

A VoltageLabel extends VoltageComponent, which has the methods SetTransparency(double transparency) and SetVisible(boolean isVisible). Either one of these should do it.
by honki-bobo
Fri Feb 04, 2022 7:45 am
Forum: Module Designer
Topic: Numeric Displays
Replies: 9
Views: 2880

Re: Numeric Displays

Sorry about that, honki-bobo-san. My memory failed me. No worries, my friend :) So, that's just a text label update, eh? I'm guessing you have a nice custom background for it to draw over. Actually I just use the textlabels background color, border color and border width features and write the numb...
by honki-bobo
Thu Feb 03, 2022 4:23 pm
Forum: Module Designer
Topic: Numeric Displays
Replies: 9
Views: 2880

Re: Numeric Displays

UrbanCyborg wrote: Thu Feb 03, 2022 12:20 pm Monki-bobo's Volt Meter seems to be doing a custom draw.
I'm using a text label that I update on every GUI repaint.

And it's honki-bobo ;)
by honki-bobo
Wed Feb 02, 2022 12:43 pm
Forum: Cherry Audio
Topic: Ring Modulator is not ring modulating
Replies: 12
Views: 5884

Re: Ring Modulator is not ring modulating

Thanks, Danny, for passing this to the developers.

FWIW, I found that if I set the levels to 0.01 % and scale the output back up by about 120 db I get the expected ring modulation results.

ringmod_with_scaling.jpg
ringmod_with_scaling.jpg (224.58 KiB) Viewed 3395 times

Go to advanced search