Show Posts
|
|
Pages: [1]
|
|
1
|
Forum 2005-2010 (read only) / Interfacing / Arduino > Director > Flash
|
on: February 27, 2007, 09:33:32 am
|
|
Hi,
I'm trying to make a controller with the arduino, it will have some analogue controls and some digital buttons.
I want Director to read what is happening on the arduino, and for it then to control a flash app, but i want the flash app to be seperate, as I need both the Director app and the Flash app fullscreen on different screens.
As it stands, I've got Director talking to flash via OSC (oscXtra for Director and flosc for flash), but i'm finding this a bit slow (I assume because flosc is java). I was planning to use the MidiXtra for Director to take data from the arduino, but you have to buy it.
I'm just wondering if anyone has any better solutions- I assume that using director as an XML socket server would be the best way to talk to flash, and using the MSCOMM activeX control in Director would be the best way of recieving data from the arduino, but I've not had much luck with the XML server idea as I'm finding that documentation for Director is scarce these days.
As it stands, a better Director > Flash solution is needed, as I don't think having flash assets in Director allows you to run them in seperate windows/screens.
Sorry if I don't make much sense, but I would appreciate it if anyone has any ideas/links to tutorials etc.
Thanks
|
|
|
|
|
2
|
Forum 2005-2010 (read only) / Interfacing / Re: Audio out using PCM (synth trial runs)
|
on: January 06, 2007, 07:04:18 am
|
Ahh, that explains it... I've seen quite a few nes cartridge midi hacks, but thats not really what i'm after- i think i'll have a go at building a sid synth, but i need to get my hands on an old commodore 64 somehow, or at least the sid chip from one (if anyone has an old one they don't want...  )
|
|
|
|
|
6
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video
|
on: May 21, 2007, 07:43:17 pm
|
|
The best way that I've seen to do this is by using 2 micros- one of them is programmed in ASM and reads the pixel data from a ram chip, which the other micro updates. There would be a sync line between the two to make sure one isn't trying to write while the other is reading. This would eliminate timing problems and also allow for more complex programs to be run.
I'm thinking of giving this approach a try soon- what does everyone think?
|
|
|
|
|
8
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video
|
on: January 05, 2007, 06:16:54 pm
|
|
Yeah, the guy who did the pic pong counted each clock cycle- I'm hoping that the arduino's delay functions are accurate enough for this... does anyone know of a way to delay a specific amount of cycles in code? If a specific amount can be delayed, and one knows how many cycles each instruction uses, you could get perfect timing this way I should have thought...
The arduino does seem to have quite a bit more processing power than the pic he used, so i'm hoping you could get some better game logic in there...
Keep us updated with your progress though, this is one of the things i want to try when i get my arduino! Roll on a wave of arduino based games I say!
|
|
|
|
|
14
|
Forum 2005-2010 (read only) / Frequently-Asked Questions / Serial > Midi driver
|
on: March 16, 2007, 10:10:24 am
|
|
Hi,
I've been having problems getting the roland serial > midi driver working correctly. I've set up the driver with the arduino on COM2 (as it only supports COM1 > COM4) and I've altered the arduino serial usb drivers to support the correct rate, but I'm not getting any serial output from the arduino with the driver (the transmit light doesn't come on). I've got some basic code on the arduino sending a midi control change message repeatedly (getting the value from a potentiometer)
Does anybody have any idea why I might be getting these problems?
Thanks,
Andy
|
|
|
|
|