Statistics: Posted by martignasse — 22 Apr 2015, 17:54
]]>2015-04-20T13:52:27+02:002015-04-20T13:52:27+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=32361#p32361Statistics: Posted by oli_lab — 20 Apr 2015, 13:52
]]>
2015-04-15T14:42:22+02:002015-04-15T14:42:22+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=32263#p32263 we don't have timer callback exposed in the sdk for now, but you can do it pretty easily.
in the onProcess you check the time with sdkGetTimeMs(), when it pass the period of your framerate goal , you send a callback notification to usine. using sdkNotifyUsine (int Target, int Msg, int Param1=0, int Param2=0) with Target = NOTIFY_TARGET_USER_MODULE Msg = NOTIFY_MSG_USINE_CALLBACK Param1 correspond to the Message->wParam (so the param index) Param2 = MSG_CHANGE
make sure your pParamInfo->CallBackType = ctImmediate; for the concerned param
but depending on what you are doing in this callback, making a dedicated thread is maybe more appropriate
tell me if you need more
Statistics: Posted by martignasse — 15 Apr 2015, 14:42
]]>2015-04-15T08:10:55+02:002015-04-15T08:10:55+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=32257#p32257 in the Processing program, there is a framerate that is setup by default in Processing but here in SDK I'd need some sort of a clock to trigger the callback section at regular interval...
?
Statistics: Posted by oli_lab — 15 Apr 2015, 08:10
]]>2015-03-10T13:38:53+02:002015-03-10T13:38:53+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=31557#p31557 y a plus qu'à
Statistics: Posted by martignasse — 10 Mar 2015, 12:38
outputs xy coordinates of mass 1 (origin is a fix point as in XY pad) xy coordinates of mass 2 (origin is a fix point as in XY pad) xy coordinates of mass 2 (origin is mass 1)
all outputs will be 0 to 1
Statistics: Posted by oli_lab — 10 Mar 2015, 08:23
thank you, that's encouraging I was thinking of using the coordinates and angular datas of the 2 pendulae as modulation sources for spatialisation and/or FX...
yep, seems like it makes sense, but what does it mean in term of module params inputs/outputs
it's the big job (other than putting an algo in) about module... how you control it and what they deliver (in a params point of view) answer it and 50% of the job is done
Statistics: Posted by martignasse — 09 Mar 2015, 22:49
]]>2015-03-09T22:29:21+02:002015-03-09T22:29:21+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=31551#p31551I was thinking of using the coordinates and angular datas of the 2 pendulae as modulation sources for spatialisation and/or FX...
Statistics: Posted by oli_lab — 09 Mar 2015, 21:29
]]>2015-03-09T19:39:12+02:002015-03-09T19:39:12+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=31549#p31549 after a quick look at the sources, the first one rely on 3 file for the algorythm, the rest is for QT integration. it should be pretty easy to isolate the algo part, the 'big' work is to reconstruct the graphic part and how you sync that with the audio... But you should be pretty comfortable with C++ coding to understand the file and code organisation and plug code at the right place
the second on is more simple, only one file for the algo and one for processing integration, but it's java, maybe require some code modif.
i suggest the second one,if it take you only few hours to make a module from it, you are on the right track.
Statistics: Posted by martignasse — 09 Mar 2015, 18:39
Statistics: Posted by martignasse — 22 Apr 2015, 17:54
]]>2015-04-20T13:52:27+02:002015-04-20T13:52:27+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=32361#p32361Statistics: Posted by oli_lab — 20 Apr 2015, 13:52
]]>2015-04-15T14:42:22+02:002015-04-15T14:42:22+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=32263#p32263 we don't have timer callback exposed in the sdk for now, but you can do it pretty easily.
in the onProcess you check the time with sdkGetTimeMs(), when it pass the period of your framerate goal , you send a callback notification to usine. using sdkNotifyUsine (int Target, int Msg, int Param1=0, int Param2=0) with Target = NOTIFY_TARGET_USER_MODULE Msg = NOTIFY_MSG_USINE_CALLBACK Param1 correspond to the Message->wParam (so the param index) Param2 = MSG_CHANGE
make sure your pParamInfo->CallBackType = ctImmediate; for the concerned param
but depending on what you are doing in this callback, making a dedicated thread is maybe more appropriate
tell me if you need more
Statistics: Posted by martignasse — 15 Apr 2015, 14:42
]]>2015-04-15T08:10:55+02:002015-04-15T08:10:55+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=32257#p32257 in the Processing program, there is a framerate that is setup by default in Processing but here in SDK I'd need some sort of a clock to trigger the callback section at regular interval...
?
Statistics: Posted by oli_lab — 15 Apr 2015, 08:10
]]>2015-03-10T13:38:53+02:002015-03-10T13:38:53+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=31557#p31557 y a plus qu'à
Statistics: Posted by martignasse — 10 Mar 2015, 12:38
outputs xy coordinates of mass 1 (origin is a fix point as in XY pad) xy coordinates of mass 2 (origin is a fix point as in XY pad) xy coordinates of mass 2 (origin is mass 1)
all outputs will be 0 to 1
Statistics: Posted by oli_lab — 10 Mar 2015, 08:23
thank you, that's encouraging I was thinking of using the coordinates and angular datas of the 2 pendulae as modulation sources for spatialisation and/or FX...
yep, seems like it makes sense, but what does it mean in term of module params inputs/outputs
it's the big job (other than putting an algo in) about module... how you control it and what they deliver (in a params point of view) answer it and 50% of the job is done
Statistics: Posted by martignasse — 09 Mar 2015, 22:49
]]>2015-03-09T22:29:21+02:002015-03-09T22:29:21+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=31551#p31551I was thinking of using the coordinates and angular datas of the 2 pendulae as modulation sources for spatialisation and/or FX...
Statistics: Posted by oli_lab — 09 Mar 2015, 21:29
]]>2015-03-09T19:39:12+02:002015-03-09T19:39:12+02:00https://www.brainmodular.com/forums/viewtopic.php?t=4738&p=31549#p31549 after a quick look at the sources, the first one rely on 3 file for the algorythm, the rest is for QT integration. it should be pretty easy to isolate the algo part, the 'big' work is to reconstruct the graphic part and how you sync that with the audio... But you should be pretty comfortable with C++ coding to understand the file and code organisation and plug code at the right place
the second on is more simple, only one file for the algo and one for processing integration, but it's java, maybe require some code modif.
i suggest the second one,if it take you only few hours to make a module from it, you are on the right track.
Statistics: Posted by martignasse — 09 Mar 2015, 18:39