KnobsAndSlidersDS: Difference between revisions

From GameBrew
(Created page with "{{Infobox homebrew | title = KnobsAndSlidersDS | image = | type = Music Application | version = 0.3 | licence = GPL | author = Chris McCormick...")
 
No edit summary
Line 2: Line 2:
| title      = KnobsAndSlidersDS
| title      = KnobsAndSlidersDS
| image      =  
| image      =  
| type        = Music Application
| type        = Music
| version    = 0.3
| version    = 0.3
| licence    = GPL
| licence    = GPL
Line 11: Line 11:
}}     
}}     


KnobsAndSlidersDS allows user 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.  


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.
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).
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==
#Download and extract file
Download and extract file.
#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.


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 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.  
Line 26: Line 27:


==User guide==
==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 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:
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 <br>


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 <br>
  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 <br>


==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.


 
<br>
[[Category:Homebrew applications]]
[[Category:DS homebrew applications]]
[[Category:Music homebrews on DS]]

Revision as of 12:56, 22 May 2021

KnobsAndSlidersDS
General
Author(s)Chris McCormick
TypeMusic
Version0.3
LicenceGPL
Links
[Media:Knobsandsliders03ds.rar Download]
Website
[Media:Knobsandsliders03dssrc.rar Source]
Advertisements

<htmlet>adsense</htmlet>


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

Download and extract file.

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.


Advertising: