Permalink
Browse files

fix help text urls

  • Loading branch information...
1 parent 68b425f commit 25de7552c68e72f51fd7d6b78b0b70b99e0d559d @marvinthepa committed Jul 16, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/hackbrett/core.clj
View
10 src/hackbrett/core.clj
@@ -89,21 +89,21 @@ upload a new sample and play it immediately:
show nano-pad and bound samples:
curl 'http://%hostname%/pad'
details:
- curl 'http://%hostname%/scene/1'
- curl 'http://%hostname%/scene/1/button/1'
+ curl 'http://%hostname%/pad/scene/1'
+ curl 'http://%hostname%/pad/scene/1/button/1'
bind a sample to a button on nano pad:
- curl -X POST 'http://%hostname%/scene/1/button/1/sample/baby.wav'
+ curl -X POST 'http://%hostname%/pad/scene/1/button/1/sample/baby.wav'
play a sample by binding on nano-pad:
- curl -X POST 'http://%hostname%/scene/1/button/1'
+ curl -X POST 'http://%hostname%/pad/scene/1/button/1'
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'
"
"%hostname%"
- (.getHostName (java.net.InetAddress/getLocalHost))
+ (str (.getHostName (java.net.InetAddress/getLocalHost)) ":3000") ;; TODO get portname from environment
)})
; TODO check if this is a wav file, error or conversion (xuggle.com or mplayer)

0 comments on commit 25de755

Please sign in to comment.