]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/morse/morse.factor
calendar.format: make duration>human-readable more human readable
[factor.git] / extra / morse / morse.factor
index a63db8f180a90e891507aaaa25d616151eb3b34c..334ec9051c224fe3cc54d0b36bd73444b01b0e09 100644 (file)
@@ -1,5 +1,5 @@
 ! Copyright (C) 2007, 2008, 2009 Alex Chapman, 2009 Diego Martinelli
-! See http://factorcode.org/license.txt for BSD license.
+! See https://factorcode.org/license.txt for BSD license.
 USING: accessors ascii assocs biassocs combinators kernel
 literals math multiline namespaces openal openal.alut sequences
 splitting strings synth synth.buffers ;
@@ -128,7 +128,7 @@ SYMBOLS: source dot-buffer dash-buffer intra-char-gap-buffer letter-gap-buffer ;
 CONSTANT: beep-freq 880
 
 : <morse-buffer> ( -- buffer )
-    half-sample-freq <8bit-mono-buffer> ;
+    half-sample-freq <8-bit-mono-buffer> ;
 
 : sine-buffer ( seconds -- id )
     beep-freq swap <morse-buffer> >sine-wave-buffer