Hi All,
KnobsAndSlidersDS allows you to use your Nintendo DS touchscreen to control your Pure Data patches using the FUDI protocol over wifi. You can build interfaces dynamically on the DS touchscreen from inside Pure Data running on your PC/laptop.
http://mccormick.cx/projects/KnobsAndSlidersDS/
I wrote it because I am travelling next year, and I can't take my Midi hardware with me, and need something compact and portable with which to interact with my patches (and I don't like playing the 808 with a long stick).
Have fun!
Chris.
chris@mccormick.cx http://mccormick.cx
PD-announce mailing list PD-announce@iem.at http://lists.puredata.info/listinfo/pd-announce
Hallo, Chris McCormick hat gesagt: // Chris McCormick wrote:
KnobsAndSlidersDS allows you to use your Nintendo DS touchscreen to control your Pure Data patches using the FUDI protocol over wifi. You can build interfaces dynamically on the DS touchscreen from inside Pure Data running on your PC/laptop.
Wow, very cool. Made me finally setup Wifi on my DS, and indeed it works.
I already have some feature requests. ;)
It would be nice, if the sliders would somehow work a bit more like Pd's sliders in that they also react to movements that are not directly touching the slider's value indicator. I think, this 1px-line is sometimes hard to hit even in my well-lit desktop environment. I guess it will be even harder to hit the right spot on a dark stage.
And then I didn't really figure out how the knobs should be used. I just don't manage to move them any more than a quarter turn. I finished "Kirby's Canvas Course" with high scores, so I don't believe I'm too clumsy with the Stylus. ;)
And we need an XY-control, toggles, bangs and radio buttons next, please! What do you recommend as a NDS build environemnt for Debian/Linux?
Frank Barknecht _ ______footils.org_ __goto10.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
What do you recommend as a NDS build environemnt for Debian/Linux?
Never mind, I found and installed it from here: http://devkitpro.org/setup.shtml
However the newest toolchain has some changes that break compiling KnobsAndSlidersDS. Attached is a new version of template.c that I created by merging your code and the new templates from http://devkitpro.cvs.sourceforge.net/devkitpro/examples/nds/templates/combin...
Put this to arm7/source/template.c and it should compile with devkitARM release 20. Here it runs fine then. On to making KnobsAndSlidersDS into KnobsAndSlidersAndTogglesAndButtonsAndSurfaceAndLabelsAndColorsDS
Maybe I'll start with the ten DS buttons?
Frank Barknecht _ ______footils.org_ __goto10.org__
On Mon, Feb 26, 2007 at 11:25:14AM +0100, Frank Barknecht wrote:
It would be nice, if the sliders would somehow work a bit more like Pd's sliders in that they also react to movements that are not directly touching the slider's value indicator. I think, this 1px-line is sometimes hard to hit even in my well-lit desktop environment. I guess it will be even harder to hit the right spot on a dark stage.
It actually looks four or five pixels to the left or right of the 1px line, but you're right it's still difficult. I should make it more like Pd and have the option to 'jump' to the value you hit, or have anywhere on the slider itself be sensitive.
And then I didn't really figure out how the knobs should be used. I just don't manage to move them any more than a quarter turn. I finished "Kirby's Canvas Course" with high scores, so I don't believe I'm too clumsy with the Stylus. ;)
They work by pressing down and then moving left or right. I guess I should make this more intuitive. Do you have any suggestions?
Chris.
chris@mccormick.cx http://mccormick.cx
Hallo, Chris McCormick hat gesagt: // Chris McCormick wrote:
On Mon, Feb 26, 2007 at 11:25:14AM +0100, Frank Barknecht wrote:
It would be nice, if the sliders would somehow work a bit more like Pd's sliders
It actually looks four or five pixels to the left or right of the 1px line, but you're right it's still difficult. I should make it more like Pd and have the option to 'jump' to the value you hit, or have anywhere on the slider itself be sensitive.
I thought about this a bit more: Maybe it would be sufficient if the hit area of the slider's bar would be a bid bigger. "Jump" also probably is cool. But I'm not sure if it really would good if the movement wouldn't stop when the stylus leaves the slider area. The DS is a touchscreen, where the connection between stylus position and screen pointer position probably should be much tighter than on a computer screen where the handling is more indirect. Anybody knows some UI guidelines or best practices for touchscreen interfaces somewhere on the net?
And then I didn't really figure out how the knobs should be used. I just don't manage to move them any more than a quarter turn. I finished "Kirby's Canvas Course" with high scores, so I don't believe I'm too clumsy with the Stylus. ;)
They work by pressing down and then moving left or right. I guess I should make this more intuitive. Do you have any suggestions?
Ah, I thought, movement was either radial or up/down. I didn't even try left/right. It would be interesting to test radial movement. On a computer screen this is horrible of course, but it may work on a touchscreen, see above.
Another widget idea: Multisliders or [table] would be cool.
Frank Barknecht _ ______footils.org_ __goto10.org__
On Wed, Feb 28, 2007 at 08:39:46AM +0100, Frank Barknecht wrote:
I thought about this a bit more: Maybe it would be sufficient if the hit area of the slider's bar would be a bid bigger. "Jump" also probably is cool. But I'm not sure if it really would good if the movement wouldn't stop when the stylus leaves the slider area.
The double negatives in this sentence are confusing me. :) I think what you mean is if the stylus is moving outside of the slider area, there will be no effect on the slider. I think that's probably a good idea as long as it doesn't "let go" of the slider. So if you move back inside the area, it will continue to have an effect.
And then I didn't really figure out how the knobs should be used. I
They work by pressing down and then moving left or right. I guess I should make this more intuitive. Do you have any suggestions?
Ah, I thought, movement was either radial or up/down. I didn't even try left/right. It would be interesting to test radial movement. On a computer screen this is horrible of course, but it may work on a touchscreen, see above.
Radial movement could be pretty neat. I can put in up/down quite easily, but radial would be a bit more complex (but I will probably try it eventually).
Another widget idea: Multisliders or [table] would be cool.
That would be cool! I also think a number box would be great, and a general 'button' like a bang in Pd, and text/comments of some kind. My progress implementing these will probably be quite slow, but I need all these things before the end of the year, so I'll try to release early, release often.
Best,
Chris.
chris@mccormick.cx http://mccormick.cx
Hallo, Chris McCormick hat gesagt: // Chris McCormick wrote:
On Wed, Feb 28, 2007 at 08:39:46AM +0100, Frank Barknecht wrote:
I thought about this a bit more: Maybe it would be sufficient if the hit area of the slider's bar would be a bid bigger. "Jump" also probably is cool. But I'm not sure if it really would good if the movement wouldn't stop when the stylus leaves the slider area.
The double negatives in this sentence are confusing me. :) I think what you mean is if the stylus is moving outside of the slider area, there will be no effect on the slider. I think that's probably a good idea as long as it doesn't "let go" of the slider. So if you move back inside the area, it will continue to have an effect.
Yes, that's what I meant to write. ;)
Frank Barknecht _ ______footils.org_ __goto10.org__