Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fix help text urls

  • Loading branch information...
commit 25de7552c68e72f51fd7d6b78b0b70b99e0d559d 1 parent 68b425f
Martin Sander authored

Showing 1 changed file with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +5 5 src/hackbrett/core.clj
10 src/hackbrett/core.clj
@@ -89,13 +89,13 @@ upload a new sample and play it immediately:
89 89 show nano-pad and bound samples:
90 90 curl 'http://%hostname%/pad'
91 91 details:
92   - curl 'http://%hostname%/scene/1'
93   - curl 'http://%hostname%/scene/1/button/1'
  92 + curl 'http://%hostname%/pad/scene/1'
  93 + curl 'http://%hostname%/pad/scene/1/button/1'
94 94
95 95 bind a sample to a button on nano pad:
96   - curl -X POST 'http://%hostname%/scene/1/button/1/sample/baby.wav'
  96 + curl -X POST 'http://%hostname%/pad/scene/1/button/1/sample/baby.wav'
97 97 play a sample by binding on nano-pad:
98   - curl -X POST 'http://%hostname%/scene/1/button/1'
  98 + curl -X POST 'http://%hostname%/pad/scene/1/button/1'
99 99
100 100 list existing samples bound to midi-keys:
101 101 curl 'http://%hostname%/midi-key'
@@ -103,7 +103,7 @@ play an existing sample by midi-key:
103 103 curl -X POST 'http://%hostname%/midi-key/39'
104 104 "
105 105 "%hostname%"
106   - (.getHostName (java.net.InetAddress/getLocalHost))
  106 + (str (.getHostName (java.net.InetAddress/getLocalHost)) ":3000") ;; TODO get portname from environment
107 107 )})
108 108
109 109 ; 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.
Something went wrong with that request. Please try again.