Search found 27 matches

by marbangens
Fri Apr 17, 2020 7:05 am
Forum: Developer's Section
Topic: DPF midi time
Replies: 5
Views: 323

Re: DPF midi time

thanks for the tip :D you where right, it only runs continually if it gets loaded as an "Instrument" in Renoise. You can load midi utilities on a audio channel and then send it to an "Renoise Instrument" but then It requires some kind of input... Renoise is a strange host, but I love it :D Edit: Wha...
by marbangens
Thu Apr 16, 2020 9:23 am
Forum: Developer's Section
Topic: DPF midi time
Replies: 5
Views: 323

Re: DPF midi time

Okey, the host (Renoise) only calls run() when the plugin get midi in. But I want the plugin to be alive all the time and keep generating random numbers. How can I do that?
by marbangens
Wed Apr 15, 2020 9:45 pm
Forum: Developer's Section
Topic: DPF midi time
Replies: 5
Views: 323

Re: DPF midi time

That seem to be about the time position during transport playback? That is not what I want

I could create new data typ from struct MidiEvent and edit data member frame. And then send that out. I'll try tomorrow.

ZzZz
by marbangens
Wed Apr 15, 2020 2:09 pm
Forum: Developer's Section
Topic: DPF midi time
Replies: 5
Views: 323

DPF midi time

Hello I'm wondering how would you keep track of time in dpf without audio in? I used to think of every frame as a sample and then refer to the current sample rate. I have a midi input that seems to be based on "events"? if I'm right I need to keep track of the "stream of time" or some clock, not to ...
by marbangens
Fri Apr 10, 2020 8:48 pm
Forum: Developer's Section
Topic: DPF run() with only midi out help
Replies: 2
Views: 244

Re: DPF run() with only midi out help

Okey, thanks. seems dirty, but I guess I could use midi input for something fun :D

edit: I realized I could use the midi input just like an "midi thru". :wink: not so dirty after all...
by marbangens
Fri Apr 10, 2020 8:02 pm
Forum: Developer's Section
Topic: DPF run() with only midi out help
Replies: 2
Views: 244

DPF run() with only midi out help

Hey everyone my name is Martin and I am learning how to program plugins (and also still learning c++) I'm making a plugin that will generate random midi cc messages, values within a specific range (max 0-127), and also with a randomness in time (if the user want, 20ms-2000ms). I'm using DISTRHO Plug...
by marbangens
Sun Sep 22, 2019 2:16 pm
Forum: Developer's Section
Topic: Video tutorial and lessons about dsp for starters
Replies: 1
Views: 810

Video tutorial and lessons about dsp for starters

Hey, I'm a person that learn new stuff by looking at videos or persons talking.
I found this cool old playlist on youtube https://www.youtube.com/watch?v=6xaaeop ... B7FA7FF7B6.
I was wondering what else is out there? Good stuff for beginners, if you happen to know?
by marbangens
Mon Sep 02, 2019 10:09 pm
Forum: Developer's Section
Topic: [Proposal] LV2 for VST2 developers guide
Replies: 16
Views: 1768

Re: [Proposal] LV2 for VST2 developers guide

Hey, I just wanna say this, I would select lv2 support only if all host supported it. Renoise for example don't have lv2. I would love to use lv2 format only but host don't support it. We can't just make lv2 plugins if there is no hosts that runs it. I think the way is to make hosts support it first...
by marbangens
Mon Sep 02, 2019 9:48 pm
Forum: Marketplace
Topic: Renoise 3.2 released
Replies: 6
Views: 1119

Re: Renoise 3.2 released

The only problem is that now that we have a screen detachable mixer and sampler, I feel the urge for a second screen ;-) :D yeah that was the first thing I thought when looking at the changeling. That is not new, I detached mixer and sampler from Renoise loong time ago :wink: the line curve editing...
by marbangens
Sun Sep 01, 2019 7:10 am
Forum: Developer's Section
Topic: Improved code generator for Faust
Replies: 3
Views: 1029

Re: Improved code generator for Faust

Cool 8) Must try Faust, thanks
by marbangens
Fri Aug 30, 2019 12:43 pm
Forum: Developer's Section
Topic: DPF to VST data problem ?
Replies: 7
Views: 1115

Re: DPF to VST data problem ?

I found the problem :D

Code: Select all

sig = sig * (2*gain);
  
  if (sig < 0.000000001f and sig > -0.000000001f){
   sig = sin(sig);
  }
  sig = sig + sin(0.000000000000000000000000001f);
Don't do that :lol:
but now one of them was created with full volume :lol:
oh man...
by marbangens
Mon Aug 26, 2019 12:36 pm
Forum: Developer's Section
Topic: DPF to VST data problem ?
Replies: 7
Views: 1115

Re: DPF to VST data problem ?

I got this with DEBUG=true had_NuN=1 seems to be from the one vst of 3 that failed I can't really separate them. so something like this // Wet knob final blend in outFinalL = (sigL1*0.0001*fWet) + sigDryL1 - (sigDryL1*0.0001*fWet); outFinalR = (sigR2*0.0001*fWet) + sigDryR2 - (sigDryR2*0.0001*fWet);...
by marbangens
Sun Aug 25, 2019 11:08 am
Forum: Developer's Section
Topic: DPF to VST data problem ?
Replies: 7
Views: 1115

Re: DPF to VST data problem ?

Don't get any NuN or Inf from std::fpclassify() like this float CheckForBadEggs(double input){ switch(std::fpclassify(input)) { case FP_INFINITE: had_Inf = true; return 0.0; case FP_NAN: had_NuN = true; return 0.0; default: return 0.0; } } That code would work for checking that correctly right? I th...
by marbangens
Sat Aug 24, 2019 7:08 pm
Forum: Developer's Section
Topic: DPF to VST data problem ?
Replies: 7
Views: 1115

Re: DPF to VST data problem ?

Thanks :D gonna look into it :D