MATRIXSYNTH: Bubbles on Monome 100h with SkyMonome API and accelerometer


Sunday, April 25, 2010

Bubbles on Monome 100h with SkyMonome API and accelerometer


YouTube via pjskyman — April 25, 2010 — "Another demo of the SkyMonome API I developped especially for my needs (http://skymonome.org ). An ADXL203 accelerometer permits the "fall" of the bubbles. This Monome 100h is in construction. It will be a quad 40h in a plexiglas package.
Music : an unpublished track of PJ Skyman ( http://www.pjskyman.fr )
Code used to do this :
Monome monome=new Monome("Monome",MonomeSize.MONOME_256,"localhost","/40h",8000,8080);
/*the following variable is declared as a class member in order to be accessed by the two next listeners*/
inertiaMirroredFrameWindow=new InertiaMirroredFrameWindow(new PictureFrame(ImageIO.read(new File("C:\\...bmp")),false));
monome.addComponent(new FrameGroup("Bubbles",0,0,16,16,inertiaMirroredFrameWindow));
Analog analogX=new Analog("X-axis",0);
analogX.addAnalogListener(new AnalogListener()
{
public void analogMoved(AnalogEvent analogEvent)
{
inertiaMirroredFrameWindow.setXIncrement((analogEvent.getValue()-.5f)*25f);
}
});
monome.addComponent(analogX);
Analog analogY=new Analog("Y-axis",1);
analogY.addAnalogListener(new AnalogListener()
{
public void analogMoved(AnalogEvent analogEvent)
{
inertiaMirroredFrameWindow.setYIncrement((-analogEvent.getValue()+.5f)*25f);
}
});
monome.addComponent(analogY);
monome.refresh();"

No comments:

Post a Comment

To reduce spam, comments for posts older than one week are not displayed until approved, usually same day. Do not insult people. For items for sale, do not ask if it is still available. Check the auction link and search for the item. Auctions are from various sellers and expire over time. Posts remain for the pics and historical purposes. This site is meant to be a daily snapshot of some of what was out there in the world of synths.

PREVIOUS PAGE NEXT PAGE HOME


Patch n Tweak
Switched On Make Synthesizer Evolution Vintage Synthesizers Creating Sound Fundlementals of Synthesizer Programming Kraftwerk

© Matrixsynth - All posts are presented here for informative, historical and educative purposes as applicable within fair use.
MATRIXSYNTH is supported by affiliate links that use cookies to track clickthroughs and sales. See the privacy policy for details.
MATRIXSYNTH - EVERYTHING SYNTH