DS MIDI Keyboard: Difference between revisions

From GameBrew
(Created page with "{{Infobox homebrew | title = DS MIDI Keyboard | image = File:Dsmidikeyboard.png | type = Music Application | version = 1.5 | licence = Mixed | a...")
 
No edit summary
Line 2: Line 2:
| title      = DS MIDI Keyboard
| title      = DS MIDI Keyboard
| image      = [[File:Dsmidikeyboard.png]]
| image      = [[File:Dsmidikeyboard.png]]
| type        = Music Application
| type        = Music
| version    = 1.5
| version    = 1.5
| licence    = Mixed
| licence    = Mixed
Line 11: Line 11:
}}     
}}     


DS MIDI Keyboard acts as a MIDI keyboard, including pitch wheel / MIDI control adjustment.
DS MIDI Keyboard acts as a MIDI keyboard, including pitch wheel/MIDI control adjustment.


It is an application demonstrating the use of DSMI (DS Music Interface) which runs on your computer receives MIDI commands and feeds them to your MIDI applications.  
It is an application demonstrating the use of DSMI (DS Music Interface) which runs on your computer receives MIDI commands and feeds them to your MIDI applications.  


==Controls==
==User guide==
Slide stylus vertically/horizonally - MIDI control adjustment
===FAQ===
'''MIDI over WiFi? Sounds unreliable and slow?'''


==Media==
Of course, wireless networks are not the best method for time-critical applications like MIDI, but the latency and packet loss turned out much smaller than what we expected in the first place. In OSX, the average latency we measured was about 17 ms. We were unable to measure it on other platforms, but subjectively, the latency feels about as low in Linux and horribly high in Windows (due to the Midi Loopback that has to be used because of Windows' inflexible MIDI framework). But better try it out for yourself.
<youtube>AYDF313Ae7A</youtube>


==Frequently Asked Questions==
'''Oh no! Half of my MIDI messages get lost!''
Q: '''MIDI over WiFi? Sounds unreliable and slow!'''


A: Of course, wireless networks are not the best method for time-critical applications like MIDI, but the latency and packet loss turned out much smaller than what we expected in the first place. In OSX, the average latency we measured was about 17 ms. We were unable to measure it on other platforms, but subjectively, the latency feels about as low in Linux and horribly high in Windows (due to the Midi Loopback that has to be used because of Windows' inflexible MIDI framework). But better try it out for yourself :-)
Probably the connection is disturbed. Make sure that the DS is in range of the access point and that no other (bigger) traffic is going over it. Limiting your access point's bandwidth to 2MBit might also help, because the DS's WiFi has 2MBit.


Q: '''Oh no! Half of my MIDI messages get lost!'''
'''My DS can't connect to the access point?'''


A: Probably the connection is disturbed. Make sure that the DS is in range of the access point and that no other (bigger) traffic is going over it. Limiting your access point's bandwidth to 2MBit might also help, because the DS's WiFi has 2MBit.
Make sure you set up the connection correctly using a Nintendo WiFi Connection game like Mario Kart or the Opera Browser. If it still doesn't work, try entering the WEP key in hex representation instead of ASCII in the WFC configuration. You could also try restarting your access point (this has really helped a couple of times). If everything fails, try throttling the bandwidth to 2MBit or disabling WEP (not recommended though).


Q: '''My DS can't connect to the access point!'''
'''My DS says it is connected but the server does not seem to receive any messages.'''


A: Make sure you set up the connection correctly using a Nintendo WiFi Connection game like Mario Kart or the Opera Browser. If it still doesn't work, try entering the WEP key in hex representation instead of ASCII in the WFC configuration. You could also try restarting your access point (this has really helped a couple of times). If everything fails, try throttling the bandwidth to 2MBit or disabling WEP (not recommended though).
Make sure the computer and the DS are in the same subnet, i.e. the first three numbers of their IPs are identical. For example, if the DS has the IP 192.168.1.x, then the computer has to have 192.168.1.y. Also make sure there is no firewall that blocks incomping packets on port 9000 or outgoing packets on port 9001.


Q: '''My DS says it is connected but the server does not seem to receive any messages.'''
'''I'm connected but I cannot receive data?'''


A: Make sure the computer and the DS are in the same subnet, i.e. the first three numbers of their IPs are identical. For example, if the DS has the IP 192.168.1.x, then the computer has to have 192.168.1.y. Also make sure there is no firewall that blocks incomping packets on port 9000 or outgoing packets on port 9001.
This happens sometimes for an unknown reason. Restart the DS and try again.


Q: '''I'm connected but I cannot receive data!'''
'''How do the PC and the DS find each other? I haven't entered their IPs anywhere.'''


A: This happens sometimes for an unknown reason. Restart the DS and try again.
The magic is called "broadcasting". The DS just sends the MIDI packets to all hosts in the current subnet. So, if the DS is 192.168.1.88, then the packets are sent to 192.168.1.*.
 
Q: '''How do the PC and the DS find each other. I haven't entered their IPs anywhere.'''
 
A: The magic is called "broadcasting". The DS just sends the MIDI packets to all hosts in the current subnet. So, if the DS is 192.168.1.88, then the packets are sent to 192.168.1.*.


==Controls==
Slide stylus vertically/horizonally - MIDI control adjustment


==Media==
<youtube>AYDF313Ae7A</youtube>


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

Revision as of 09:13, 22 May 2021

DS MIDI Keyboard
File:Dsmidikeyboard.png
General
Author(s)tobw
TypeMusic
Version1.5
LicenceMixed
Links
[Media:Dsmidikeyboard15ds.zip Download]
Website
Advertisements

<htmlet>adsense</htmlet>


DS MIDI Keyboard acts as a MIDI keyboard, including pitch wheel/MIDI control adjustment.

It is an application demonstrating the use of DSMI (DS Music Interface) which runs on your computer receives MIDI commands and feeds them to your MIDI applications.

User guide

FAQ

MIDI over WiFi? Sounds unreliable and slow?

Of course, wireless networks are not the best method for time-critical applications like MIDI, but the latency and packet loss turned out much smaller than what we expected in the first place. In OSX, the average latency we measured was about 17 ms. We were unable to measure it on other platforms, but subjectively, the latency feels about as low in Linux and horribly high in Windows (due to the Midi Loopback that has to be used because of Windows' inflexible MIDI framework). But better try it out for yourself.

'Oh no! Half of my MIDI messages get lost!

Probably the connection is disturbed. Make sure that the DS is in range of the access point and that no other (bigger) traffic is going over it. Limiting your access point's bandwidth to 2MBit might also help, because the DS's WiFi has 2MBit.

My DS can't connect to the access point?

Make sure you set up the connection correctly using a Nintendo WiFi Connection game like Mario Kart or the Opera Browser. If it still doesn't work, try entering the WEP key in hex representation instead of ASCII in the WFC configuration. You could also try restarting your access point (this has really helped a couple of times). If everything fails, try throttling the bandwidth to 2MBit or disabling WEP (not recommended though).

My DS says it is connected but the server does not seem to receive any messages.

Make sure the computer and the DS are in the same subnet, i.e. the first three numbers of their IPs are identical. For example, if the DS has the IP 192.168.1.x, then the computer has to have 192.168.1.y. Also make sure there is no firewall that blocks incomping packets on port 9000 or outgoing packets on port 9001.

I'm connected but I cannot receive data?

This happens sometimes for an unknown reason. Restart the DS and try again.

How do the PC and the DS find each other? I haven't entered their IPs anywhere.

The magic is called "broadcasting". The DS just sends the MIDI packets to all hosts in the current subnet. So, if the DS is 192.168.1.88, then the packets are sent to 192.168.1.*.

Controls

Slide stylus vertically/horizonally - MIDI control adjustment

Media


Advertising: