Browse files

add help text on how to convert with mplayer

  • Loading branch information...
1 parent 2c27a99 commit 85e481013e49f52050353c0655b58bb4acdb3aa1 @marvinthepa committed Jul 18, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/hackbrett/core.clj
@@ -103,6 +103,10 @@ list existing samples bound to midi-keys:
curl 'http://%hostname%/midi-key'
play an existing sample by midi-key:
curl -X POST 'http://%hostname%/midi-key/39'
+only wav is supported, but if you have mplayer, conversion is easy (also useful if you have a broken wav):
+ mplayer infile.mp3 -vc 'null' -vo 'null' -ao 'pcm:file=outfile.wav'
+if you don't have mplayer, just use
(str (.getHostName ( ":3000") ;; TODO get portname from environment

0 comments on commit 85e4810

Please sign in to comment.