aboutsummaryrefslogtreecommitdiff
path: root/_posts/2022-07-05-what-would-dna-sound-if-synthesized.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2022-07-05-what-would-dna-sound-if-synthesized.md')
-rw-r--r--_posts/2022-07-05-what-would-dna-sound-if-synthesized.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/_posts/2022-07-05-what-would-dna-sound-if-synthesized.md b/_posts/2022-07-05-what-would-dna-sound-if-synthesized.md
index 7aaac68..6efe559 100644
--- a/_posts/2022-07-05-what-would-dna-sound-if-synthesized.md
+++ b/_posts/2022-07-05-what-would-dna-sound-if-synthesized.md
@@ -178,7 +178,7 @@ An example spectrogram of Ludwig van Beethoven Symphony No. 6 First movement.
178 <source src="/assets/posts/dna-synthesized/symphony-no6-1st-movement.mp3" type="audio/mpeg"> 178 <source src="/assets/posts/dna-synthesized/symphony-no6-1st-movement.mp3" type="audio/mpeg">
179</audio> 179</audio>
180 180
181![Ludwig van Beethoven Symphony No. 6 First movement](/assets/posts/dna-synthesized/symphony-no6-1st-movement.png) 181![Ludwig van Beethoven Symphony No. 6 First movement](/assets/posts/dna-synthesized/symphony-no6-1st-movement.png){:loading="lazy"}
182 182
183The other option could also be in combination with 183The other option could also be in combination with
184[gnuplot](http://www.gnuplot.info/). This would require an intermediary step, 184[gnuplot](http://www.gnuplot.info/). This would require an intermediary step,
@@ -233,7 +233,7 @@ spectrogram based on a WAV file.
233 <source src="/assets/posts/dna-synthesized/quote/out.mp3" type="audio/mpeg"> 233 <source src="/assets/posts/dna-synthesized/quote/out.mp3" type="audio/mpeg">
234</audio> 234</audio>
235 235
236![Spectogram](/assets/posts/dna-synthesized/quote/spectogram.png) 236![Spectogram](/assets/posts/dna-synthesized/quote/spectogram.png){:loading="lazy"}
237 237
238### Mouse 238### Mouse
239 239
@@ -245,7 +245,7 @@ here](http://ftp.ensembl.org/pub/release-106/fasta/mus_musculus/dna/).
245 <source src="/assets/posts/dna-synthesized/mouse/out.mp3" type="audio/mpeg"> 245 <source src="/assets/posts/dna-synthesized/mouse/out.mp3" type="audio/mpeg">
246</audio> 246</audio>
247 247
248![Spectogram](/assets/posts/dna-synthesized/mouse/spectogram.png) 248![Spectogram](/assets/posts/dna-synthesized/mouse/spectogram.png){:loading="lazy"}
249 249
250### Bison 250### Bison
251 251
@@ -257,7 +257,7 @@ here](http://ftp.ensembl.org/pub/release-106/fasta/bison_bison_bison/cdna/).
257 <source src="/assets/posts/dna-synthesized/bison/out.mp3" type="audio/mpeg"> 257 <source src="/assets/posts/dna-synthesized/bison/out.mp3" type="audio/mpeg">
258</audio> 258</audio>
259 259
260![Spectogram](/assets/posts/dna-synthesized/bison/spectogram.png) 260![Spectogram](/assets/posts/dna-synthesized/bison/spectogram.png){:loading="lazy"}
261 261
262### Taurus 262### Taurus
263 263
@@ -269,7 +269,7 @@ here](http://ftp.ensembl.org/pub/release-106/fasta/bos_taurus/cdna/).
269 <source src="/assets/posts/dna-synthesized/taurus/out.mp3" type="audio/mpeg"> 269 <source src="/assets/posts/dna-synthesized/taurus/out.mp3" type="audio/mpeg">
270</audio> 270</audio>
271 271
272![Spectogram](/assets/posts/dna-synthesized/taurus/spectogram.png) 272![Spectogram](/assets/posts/dna-synthesized/taurus/spectogram.png){:loading="lazy"}
273 273
274## Making a drummer out of a DNA sequence 274## Making a drummer out of a DNA sequence
275 275
@@ -282,11 +282,11 @@ Elektron is connected to my MacBook via USB cable and audio out is patched to a
282Sony Bluetooth speaker I have that supports 3.5 mm audio in. Elektron doesn't 282Sony Bluetooth speaker I have that supports 3.5 mm audio in. Elektron doesn't
283have internal speakers. 283have internal speakers.
284 284
285![](/assets/posts/dna-synthesized/elektron/IMG_0619.jpg) 285![](/assets/posts/dna-synthesized/elektron/IMG_0619.jpg){:loading="lazy"}
286 286
287![](/assets/posts/dna-synthesized/elektron/IMG_0620.jpg) 287![](/assets/posts/dna-synthesized/elektron/IMG_0620.jpg){:loading="lazy"}
288 288
289![](/assets/posts/dna-synthesized/elektron/IMG_0622.jpg) 289![](/assets/posts/dna-synthesized/elektron/IMG_0622.jpg){:loading="lazy"}
290 290
291For communicating with Elektron, I choose `pygame` Python module that has MIDI 291For communicating with Elektron, I choose `pygame` Python module that has MIDI
292built in. With this, it was rather simple to send notes to the device. All I did 292built in. With this, it was rather simple to send notes to the device. All I did
@@ -295,7 +295,7 @@ was map MIDI notes to the actual Nucleotides.
295Before all of this I also checked Audio MIDI Setup app under MacOS and checked 295Before all of this I also checked Audio MIDI Setup app under MacOS and checked
296MIDI Studio by pressing ⌘-2. 296MIDI Studio by pressing ⌘-2.
297 297
298![](/assets/posts/dna-synthesized/elektron/midi-studio.jpg) 298![](/assets/posts/dna-synthesized/elektron/midi-studio.jpg){:loading="lazy"}
299 299
300The whole script that parses and send notes to the Elektron looks like this. 300The whole script that parses and send notes to the Elektron looks like this.
301 301