KnobsAndSlidersDS: Difference between revisions
From GameBrew
More actions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
| author = Chris McCormick | | author = Chris McCormick | ||
| website = http://mccormick.cx/projects/KnobsAndSlidersDS/page/home | | website = http://mccormick.cx/projects/KnobsAndSlidersDS/page/home | ||
| download = | | download = https://dlhb.gamebrew.org/dshomebrew/knobsandslidersds.7z | ||
| source = | | source = https://dlhb.gamebrew.org/dshomebrew/knobsandslidersds.7z | ||
}} | }} | ||
KnobsAndSlidersDS allows you to use Nintendo DS touchscreen to control things remotely over wifi. | KnobsAndSlidersDS allows you to use Nintendo DS touchscreen to control things remotely over wifi. You can create widgets like knobs and sliders on the DS by sending it messages from your PC or laptop. Interact with the widgets using the NDS touch screen, which will send messages back over the network. | ||
You can create widgets like knobs and sliders on the DS by sending it messages from your PC or laptop. Interact with the widgets using the NDS touch screen, which will send messages back over the network. | |||
The main use-case for this software is controlling [http://puredata.org Pure Data] patches from the NDS touchscreen. It's intended as a replacement for complicated MIDI controller hardware in situations where more portability is required, such as when travelling. It communicates on the local wifi network using the [http://en.wikipedia.org/wiki/FUDI FUDI] protocol supported by Pure Data. Apparently it works ok with Max/MSP as well (check out the .pat file). | The main use-case for this software is controlling [http://puredata.org Pure Data] patches from the NDS touchscreen. It's intended as a replacement for complicated MIDI controller hardware in situations where more portability is required, such as when travelling. It communicates on the local wifi network using the [http://en.wikipedia.org/wiki/FUDI FUDI] protocol supported by Pure Data. Apparently it works ok with Max/MSP as well (check out the .pat file). | ||
==Installation== | ==Installation== | ||
Copy the KnobsAndSlidersDS.nds file onto NDS removable media and start the program. | Copy the KnobsAndSlidersDS.nds file onto NDS removable media and start the program. | ||
| Line 30: | Line 26: | ||
If you want to see how the FUDI protocol works, do the following. First is to set up a listening socket: | If you want to see how the FUDI protocol works, do the following. First is to set up a listening socket: | ||
nc -l -u -p 1234 | nc -l -u -p 1234 | ||
Launch KnobsAndSlidersDS on your DS console and after it connects you'll see "ip xxx.xxx.xxx.xx" appear on that socket. This is the IP address of the NDS on the local network. Create a new UDP connection to the DS: | Launch KnobsAndSlidersDS on your DS console and after it connects you'll see "ip xxx.xxx.xxx.xx" appear on that socket. This is the IP address of the NDS on the local network. Create a new UDP connection to the DS: | ||
nc -u xxx.xxx.xxx.xxx 1234 | nc -u xxx.xxx.xxx.xxx 1234 | ||
Now you can send messages to create knobs and sliders: | Now you can send messages to create knobs and sliders: | ||
add slider 1 10 60 2 127 16 h | add slider 1 10 60 2 127 16 h | ||
add knob 5 15 30 0 127 10 | add knob 5 15 30 0 127 10 | ||
del 1 | del 1 | ||
==Controls== | ==Controls== | ||
Uses Stylus. Touch the knobs and sliders to modify their values and these will show up on the first socket you created. | Uses Stylus. Touch the knobs and sliders to modify their values and these will show up on the first socket you created. | ||
==External links== | |||
* Author's website - http://mccormick.cx/projects/KnobsAndSlidersDS/page/home | |||
[[Category:DS homebrew applications]] | [[Category:DS homebrew applications]] | ||
[[Category:Music homebrews on DS]] | [[Category:Music homebrews on DS]] | ||