FL SDK and adding notes to piano roll

Discuss how to use FL Studio

Return to “FL Studio Users Forum (Looptalk)”

Forum rules
Please read them here.
[You can only see part of this thread as you are not logged in to the forums]
benthedog
Fri Nov 03, 2017 4:53 pm

x

FL SDK and adding notes to piano roll

I am wondering if anyone has any ideas on a problem I am stuck on.
I am trying to code a C++ FL native effect plugin that I want to generate notes to send to piano roll using FHD_AddNotesToPR.
I seem to be able to direct the notes into different patterns o.k. by altering TNotesParams.PatNum

But so far I can only direct notes into the currently selected channel, what I want to do is control that from the plugin too.
i.e. fill multiple patterns and channels / instruments all in one go, without having to select the channel outside of the plugin by hand.

I see that there is a TNotesParams.ChanNum in that structure and I had assumed this to be some sort of index to the desired channel where the notes end up, but putting differing values in there seems to have no effect and the notes always end up in whatever channel is currently just been selected with the mouse.

Maybe I am doing something wrong, or I misunderstand and it's not possible. :?
Does anyone have any clues please?


einfachfelix
Sat Nov 04, 2017 10:52 pm

x

Re: FL SDK and adding notes to piano roll

couldnt you just make your programm select the ...

benthedog
Sun Nov 05, 2017 1:24 pm

x

Re: FL SDK and adding notes to piano roll

Thanks. I think will try a different approach. ...

Tim Brookvale
Sun May 23, 2021 8:27 am

x

Re: FL SDK and adding notes to piano roll

benthedog wrote: ↑Sun Nov 05, 2017 1:24 pm Than...

ConnectedCosmos
Wed Aug 04, 2021 3:41 pm

x

Re: FL SDK and adding notes to piano roll

Tim Brookvale wrote: ↑Sun May 23, 2021 8:27 am ...


Return to “FL Studio Users Forum (Looptalk)”