]> gitweb @ CieloNegro.org - EsounD.git/commitdiff
code cleanup
authorPHO <pho@cielonegro.org>
Sat, 1 Jan 2011 14:12:06 +0000 (23:12 +0900)
committerPHO <pho@cielonegro.org>
Sat, 1 Jan 2011 14:12:06 +0000 (23:12 +0900)
examples/EsdPlayerExample.hs

index 126e1fea93c7dd1de1d0d9f7bc2e52c51b969bef..cddc9eb809a6a122baa61a3a6600a1d30795ac9e 100644 (file)
@@ -46,4 +46,4 @@ playMono16Sine pl sampleFreq sec noteFreq
             2
             ⋅ π
             ⋅ noteFreq
-            ⋅ (realToFrac n / realToFrac sampleFreq)
+            ⋅ (realToFrac n ÷ realToFrac sampleFreq)