Still need sounds.winding for raw access.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 24 Apr 2015 22:28:42 +0000 (00:28 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 24 Apr 2015 22:28:42 +0000 (00:28 +0200)
src/pwl6.js

index 66b4139..3d86359 100644 (file)
@@ -67,6 +67,7 @@ function load () {
     sounds = {
         tick: new yuu.Instrument("@tick"),
         tock: new yuu.Instrument("@tock"),
     sounds = {
         tick: new yuu.Instrument("@tick"),
         tock: new yuu.Instrument("@tock"),
+        winding: new yuu.Instrument("@winding"),
         switch: new yuu.Instrument("@switch"),
         switchBroke: new yuu.Instrument({
             sample: { "@switch": { duration: 0.27, offset: 0.1 } } }),
         switch: new yuu.Instrument("@switch"),
         switchBroke: new yuu.Instrument({
             sample: { "@switch": { duration: 0.27, offset: 0.1 } } }),
@@ -95,7 +96,7 @@ function load () {
     return yuu.ready(
         [SIGILS, BOOK]
         .concat(yf.map(yf.new_(yuu.Instrument), [
     return yuu.ready(
         [SIGILS, BOOK]
         .concat(yf.map(yf.new_(yuu.Instrument), [
-            '@winding', '@regear', '@clicking', '@slam', '@book-appear']))
+            '@regear', '@clicking', '@slam', '@book-appear']))
         .concat(yf.map(yf.getter.bind(sounds), Object.keys(sounds)))
     );
 }
         .concat(yf.map(yf.getter.bind(sounds), Object.keys(sounds)))
     );
 }