Skip to content

Commit c807b18

Browse files
Merge pull request #192 from ClojureCivitas/wav-svg-edit
Wav files, minor edit, thumbnail svg
2 parents c67a8f8 + fa7765f commit c807b18

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/dsp/wav.png

-10.5 KB
Binary file not shown.

src/dsp/wav.svg

Lines changed: 1 addition & 0 deletions
Loading

src/dsp/wav_files.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:type :post
77
:date "2025-11-13"
88
:tags [:dsp :math :music]
9-
:image "wav.png"}}}
9+
:image "wav.svg"}}}
1010
(ns dsp.wav-files
1111
(:require [scicloj.kindly.v4.kind :as kind]
1212
[clojure.java.io :as io]
@@ -250,8 +250,7 @@ wav-format
250250
;; into the correct datatype for each frame manually. For now we just
251251
;; put the data for 16-bit mono WAV files into a short-array.
252252
(defn audio-data [^InputStream is]
253-
(let [{:keys
254-
[frame-length]} (audio-format is)
253+
(let [{:keys [frame-length]} (audio-format is)
255254
format (-> (AudioSystem/getAudioFileFormat is)
256255
AudioFileFormat/.getFormat)
257256
^bytes

0 commit comments

Comments
 (0)