
HOW TO : 

1. Turn on your Steam Controller

2. Drag the midi file onto steamcontrollersinger.exe

3. When prompted, press ENTER

4. Enjoy !


MORE INFORMATIONS :

Usage from command prompt :
	steamcontrollersinger [-r][-lDEBUG_LEVEL] [-iINTERVAL] MIDI_FILE"

	-iINTERVAL argument to choose player sleep interval (in microseconds). Lower generally means better song fidelity, but higher cpu usage, and at some point goidn lower won't improve any more. Default value is 10000

	-lDEBUG_LEVEL argument to choose libusb debug level. Default is 0, no debug output. max is 4, max verbosity output
	
	-r to enable repeat mode, which plays continously (restart the song when finished)


Midi files tips :
	Notes from midi channel 0 are played on right haptic
	Notes from midi channel 1 are played on left haptic
	Notes from others channels are ignored

	Avoid multiple notes active at the same time on the same channel, since haptic actuators can only play one note

CHANGELOG :
[V1.6]
	-Fixed major bugs in playback algorithm

[V1.5]
	- Changed debug level argument from -d to -l
	- Added -r argument to enable demo mode
	- Enhanced arguments parsing
	- Does not rely on Steam Controller duration anymore
	- Updated note display
	- Now stops playing when interrupting the process ( on Ctrl+C )

[V1.4]
	- Fixed a bug in MIDI librairie that would compute a null duration for notes when ON event and previous OFF event had the same timetick

[V1.3]
	- Added -iINTERVAL argument
	- Added -dDEBUG_LEVEL argument 

[V1.2]
	- Fixed beeing stuck on "Command error" when disconnecting controller while playing. Now continue playing (even if keep failing)
	- Removed the now deprecated 20ms note duration reduction