Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

KnobsAndSlidersDS: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
|title=KnobsAndSlidersDS
|title=KnobsAndSlidersDS
|image=nds.png
|image=nds.png
|description=Use NDS to control things remotely over wifi.
|description=Use NDS to control things remotely over WiFi.
|author=Chris McCormick
|author=Chris McCormick
|lastupdated=2007/05/25
|lastupdated=2007/05/25
|type=Music Apps
|type=Other Apps
|version=0.3
|version=0.3
|license=GPL
|license=GPL
|download=https://dlhb.gamebrew.org/dshomebrew/knobsandslidersds.7z
|download=https://dlhb.gamebrew.org/dshomebrew2/knobsandslidersds.7z
|website=http://mccormick.cx/projects/KnobsAndSlidersDS/page/home
|website=http://mccormick.cx/projects/KnobsAndSlidersDS/page/home
|source=https://dlhb.gamebrew.org/dshomebrew/knobsandslidersds.7z
|source=https://dlhb.gamebrew.org/dshomebrew2/knobsandslidersds.7z
}}
}}
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.
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.
Line 28: Line 28:
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.
Line 42: Line 42:
==External links==
==External links==
* Author's website - http://mccormick.cx/projects/KnobsAndSlidersDS/page/home
* Author's website - http://mccormick.cx/projects/KnobsAndSlidersDS/page/home
[[Category:DS homebrew applications]]
[[Category:Music homebrews on DS]]

Latest revision as of 06:10, 24 August 2024

KnobsAndSlidersDS
Nds.png
General
AuthorChris McCormick
TypeOther Apps
Version0.3
LicenseGPL
Last Updated2007/05/25
Links
Download
Website
Source

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.

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

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 is to 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.

External links

Advertising: