Raw-data Note Extractor/Creator

Discussion about the Bidule SDK, post your questions, feature request and plugins here.

Moderators: davidv, seb@plogue

seb@plogue
Site Admin
Posts: 9592
Joined: Tue Mar 02, 2004 7:23 pm
Location: Montreal
Contact:

Re: Raw-data Note Extractor/Creator

Postby seb@plogue » Wed May 18, 2011 10:22 am

detune is a float so pretty much impossible to index all possibilities unless you restrict the possible values (and possibly add tolerance).

boonier
Posts: 984
Joined: Wed Sep 14, 2005 6:34 am
Location: Brighton, UK

Re: Raw-data Note Extractor/Creator

Postby boonier » Wed May 18, 2011 10:32 am

Ok right, so currently with the orignal NC/NE bidules, is there some kind of restriction in place? With microtuning checked, then theres obviously going to be a huge amount of values like you say.

I'm guessing that you've used the same technique for storing keys for voice management here, or something different....

Also, what do you mean by 'possibly add tolerance' ?

thx Seb

seb@plogue
Site Admin
Posts: 9592
Joined: Tue Mar 02, 2004 7:23 pm
Location: Montreal
Contact:

Re: Raw-data Note Extractor/Creator

Postby seb@plogue » Wed May 18, 2011 10:58 am

The fdetune value is kept as is in a struct, since there is only a fixed array of active voices where the note+fdetune is kept and use in a comparison this is not really an issue (unless someone builds their layout in a way that the fdetune member for the Note Off is calculated differently...)

However in your case if you need to use the fdetune as a way to index that is another matter, but if you restrict yourself to only use integer cents for fdetune
(making sure to round the value that is coming in in the extractor) for indexing it should work. Otherwise you would need to something where you would dynamically search for the correct parameters based on the incoming event.


Return to “Bidule SDK”

Who is online

Users browsing this forum: No registered users and 1 guest