KnobsAndSlidersDS

From GameBrew
Revision as of 04:42, 24 October 2012 by HydeWing (talk | contribs) (Created page with "{{Infobox homebrew | title = KnobsAndSlidersDS | image = | type = Music Application | version = 0.3 | licence = GPL | author = Chris McCormick...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
KnobsAndSlidersDS
General
Author(s)Chris McCormick
TypeMusic Application
Version0.3
LicenceGPL
Links
[Media:Knobsandsliders03ds.rar Download]
Website
[Media:Knobsandsliders03dssrc.rar Source]
Advertisements

<htmlet>adsense</htmlet>


KnobsAndSlidersDS allows user to use Nintendo DS touchscreen to control things remotely over wifi.

User can dynamically 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 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 FUDI protocol supported by Pure Data. Apparently it works ok with Max/MSP as well (check out the .pat file).

Installation

  1. Download and extract file
  2. Copy the KnobsAndSlidersDS.nds file onto NDS removable media and start the program

The program uses inbuilt WFC data in order to connect to your network, which means that you have to have configured your WFC data already using an NDS game such as Tetris or Mario Kart.

The program will connect to your local network using WFC and then broadcast all data to the local network. Any computer on the local network listening to the right port (1234) will receive data from KnobsAndSlidersDS.

User guide

If you use Pure Data and have it installed, then load up the patch "KnobsAndSlidersDS-test.pd" and then start the KnobsAndSlidersDS program. Once the program connects using the WFC data you should see messages from it in the Pd console. After that you can experiment with the patch to create and destroy knobs and sliders, and receive data from the DS. There is also a demo patch called DSjammer.pd which you can try out.

If you want to see how the FUDI protocol works, do the following:

First, set up a listening socket:

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:

nc -u xxx.xxx.xxx.xxx 1234

Now you can send messages to create knobs and sliders:

add slider 1 10 60 2 127 16 h
add knob 5 15 30 0 127 10
del 1

Controls

Uses Stylus. Touch the knobs and sliders to modify their values and these will show up on the first socket you created.

Advertising: