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... smiley-wink)
3  Forum 2005-2010 (read only) / Interfacing / Re: Audio out using PCM (synth trial runs) on: January 05, 2007, 06:58:23 pm
I looked into using the chip from a nes, but i was unable to find any datasheets at all... I don't know if that is me not looking very well... there seems to be a few synths made from the C64 SID chip tho... http://www.ucapps.de/
4  Forum 2005-2010 (read only) / Exhibition / Re: workout TV on: March 16, 2007, 10:27:42 pm
haha, I very much enjoyed the video!
5  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video on: July 15, 2007, 03:30:09 pm
Nice, I'll have to give this a go in a bit smiley
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?
7  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video on: March 12, 2007, 03:55:21 pm
I'm going to start work on an ASM version of this to get the timing exact.

How would I go about writing a block of ASM code in C? Would you just stick all the lines in an asm() ?
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!
9  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video on: January 04, 2007, 08:21:05 pm
I think possibly the problem might be that the DigitalWrite command takes a few microseconds to work... maybe you could try using port registers to switch the outputs?

http://www.arduino.cc/playground/Code/BitMath#registers

You might need to add up the cycles that you're using to make sure you get exact timing...

Sorry if all of what I've said is total rubbish... this is just my guess at a possible solution
10  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Generating Composite Video on: December 31, 2006, 11:24:13 pm
Wow, lots of interesting links! I'm definitely gonna have a go at making a pong system when i get my arduino through! (after I get my darn university project finished too...)
11  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Serial > Midi driver on: March 30, 2007, 02:48:18 pm
I got the info from this thread http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1161023163
smiley
12  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Serial > Midi driver on: March 26, 2007, 06:06:56 pm
Yeah, I'm using windows at the moment, but i'm tempted to give OS X a look at some point, cos I'd like to be able to use the controller I'm making with Isadora on the mac.
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Serial > Midi driver on: March 16, 2007, 10:22:42 pm
Nevermind, I got it working now, I hadn't altered the FTDI settings correctly. Controlling the crossfader in Traktor and controls in Ableton with it now!
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
15  Forum 2005-2010 (read only) / Bar Sport / Re: Poll: Use of the Arduino board on: March 16, 2007, 10:30:34 pm
I'm using it with Director, Roland Serial to Midi Driver, and MIDIio xtra.

I've got some project ideas involving processing in the future though, and I'm always using VVVV for stuff
Pages: [1]