aboutsummaryrefslogtreecommitdiff
path: root/wav.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-13 10:39:32 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-03-13 10:39:32 -0500
commit2c83a39a88241571d7945a9ec4929fee95b570fc (patch)
treea7653d55786ca8b358e0775a14e098790d8cf536 /wav.bqn
parent15a4f7e829a9fb70b6e5078b2c6ce73a5ade7c18 (diff)
Replace ⍎ and ⍕
Diffstat (limited to 'wav.bqn')
-rw-r--r--wav.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/wav.bqn b/wav.bqn
index b35362f..cee527a 100644
--- a/wav.bqn
+++ b/wav.bqn
@@ -92,7 +92,7 @@ _audioConvert ← {
"Float formats other than 32-bit are not supported" ! 4=l
8‿23‿127 _float ·4 _int -⟜@ ;
𝕩:
- 0 !˜ "Unsupported audio format: "∾⍕audioFormat
+ 0 !˜ "Unsupported audio format: " ∾ 2•Pretty audioFormat
}audioFormat
}
@@ -121,7 +121,7 @@ Decode ← {
# Assign field values to field names.
hdr ↩ ('i'=wh.typ) ToInt∘⊢⍟⊣¨ wh.len /⊸⊔ hdr
- ⍎(1↓∾"‿"⊸∾¨wh.name)∾"←hdr"
+ •Eval(1↓∾"‿"⊸∾¨wh.name)∾"←hdr"
# Handle extensible format
"subchunk1Size is invalid" ! 0‿2‿24 ∊˜ se←subchunk1Size-16
If (se>0)‿{𝕤