I've found the silently crashing gesture library, and looked through the documentation and at the examples...
I'm after a 'flick left' and 'flick right' functionality to work with the wiimote, in order to switch selections left and right. Ultimately it doesn't have to be a wiimote, can be a mouse or an iphone going over OSC... Anyway, could someone tell me whether this functionality exists in the gesture library, or if anyone has implemented this yet, and can share it?
I'm thinking that it makes sense to use the accelerometers, and sense for a threshold value which, when it is crossed, equates to a flick left...
Looks from the above post that this could be caused by using println() ...
Thus I have taken all my println's out, but still get the issue... I'm thinking it might be caused by the way that Toxiclibs prints this when it allocates space etc:
His example HelloManagedWorld recreates this behaviour, although I haven't replicated this error message yet just trying to export HelloManagedWorld...
Any ideas? Is this println behaviour what is giving me the windows executable error messages? And if so is there a way to turn off these messages within toxiclibs audiotools?
Thanks a lot, Sam
EDIT
doesn't seem to re-create this bug - might have been when I didn't have the java in the path a second ago.
I'm not getting the contents of my Data file across to the exe file as far as I know however... Is there a good post I should see for help with this one?
Either way, does toxiclibs - audiotools support exporting applications at all, or is this physically impossible due to having to install openAL on the receiving computers?
the delay() command only seems to work in the void draw()
I really need it, or something similar, to work inside the void setup() or alternatively another void such as the void keypressed().
Does anyone have anything which will do this?
More detail, and my code, follows:
I need this because I am using the mac speech engine to write an *.aiff file, and then I am using the unix program 'sox' (downloaded and installed using fink) to conver the *.aiff file into a *.wav file. I ned to do this because the next step in my project build wil be to read the *.wav file into toxiclibs' audioutils, which seem to only support *.wav files right now. This is so I can run it through OpenAL and get some 3D sound action on the go...
Basically the delay is needed because sox won't run if it's input file has not yet been created. Thus I need to give the mac speech engine time (about 100ms) to write the *.aiff file before I try to run sox on it. An alternative would be to tell processing "while *.aiff does not exist, wait, else run sox"... So if anyone knows how to ask processing whether a file exists yet, this would also solve my problem.
I have been using Toxiclibs - audiotools with OpenAL to start manipulating sound in space. However on the Mac I am only getting left-right panning, and not getting any of the 3D sound I was hoping for.
It looks from various posts/websites like I will need an extra sound card before I can get surround sound on the mac.
Has anyone done this successfully? Even if you have got surround sound working on a Windows setup, please let me know what hardware/software you have used to get it working, as surround sound is core to my project. As stated in subject line, speakers or headphones both fine, as long as 3D is achieved.
I am on a MacBookPro, 2009 machine (low spec 13") running SnowLeopard.