How to use TrigPlayer in widget C application | developer.brewmp.com How to use TrigPlayer in widget C application | developer.brewmp.com

Developer

How to use TrigPlayer in widget C application

I have been going thru the TrigML How-To's and I have built a simple trig bar file using the AppCreator.

I want to integrate this trig with my "standard" Brew MP application by loading it and playing it with the TrigPlayer but I cannot find an example or a how-to for this.

Does anybody know who to do this? Am I barking up the wrong tree?

Thanks,

theByteKing

Hi,
TrigPlayer is a widget and the Trig is its associated model. The default launcher applet creates a TrigPlayer instance and hooks it in with widgets. You can see how this is done by looking at the example source code in a uiOne SDK (\Examples\ExampleTrigApplet). This kind of example code is not shipped with the Brew MP SDK, but it will give you an idea of what is involved in creating and setting up TrigPlayer.
Thanks,
Sam.

Hi,
TrigPlayer is a widget and the Trig is its associated model. The default launcher applet creates a TrigPlayer instance and hooks it in with widgets. You can see how this is done by looking at the example source code in a uiOne SDK (\Examples\ExampleTrigApplet). This kind of example code is not shipped with the Brew MP SDK, but it will give you an idea of what is involved in creating and setting up TrigPlayer.
Thanks,
Sam.