aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-10-31 08:38:25 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-10-31 08:38:25 +0100
commitf59672679db271f6b24a41e215401ab5001ecd96 (patch)
tree367e04e449d8b02266b05d37413cfd2ba2a80b3a /content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
parent22f5ac8fcec4dbfcc1f5033f18bc4eeca52a747d (diff)
downloadmitjafelicijan.com-f59672679db271f6b24a41e215401ab5001ecd96.tar.gz
Theme updates
Diffstat (limited to 'content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md')
-rw-r--r--content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md b/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
index cf0755f..136b9f4 100644
--- a/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
+++ b/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
@@ -156,8 +156,8 @@ WAV files here are using short, 16 bit, signed integers for the sample size.
156So, we multiply the floating-point data we have by 32767, the maximum value for 156So, we multiply the floating-point data we have by 32767, the maximum value for
157a short integer. 157a short integer.
158 158
159> It is theoretically possible to use the floating point -1.0 to 1.0 data 159> It is theoretically possible to use the floating point -1.0 to 1.0 data
160> directly in a WAV file, but not obvious how to do that using the wave module 160> directly in a WAV file, but not obvious how to do that using the wave module
161> in Python. 161> in Python.
162 162
163## Generating Spectograms 163## Generating Spectograms
@@ -192,7 +192,7 @@ gnuplot audio.gpi
192And input file `audio.gpi` that would be passed to gnuplot looks something like 192And input file `audio.gpi` that would be passed to gnuplot looks something like
193this. 193this.
194 194
195``` 195```txt
196# set output format and size 196# set output format and size
197set term png size 1000,280 197set term png size 1000,280
198 198
@@ -358,7 +358,7 @@ if done properly. It could replace random note generator with something more
358intriguing, biological, natural. 358intriguing, biological, natural.
359 359
360I actually find the results fascinating. I took some time and listened to this 360I actually find the results fascinating. I took some time and listened to this
361music of nature. Even though it's quite the same, it's also quite different. 361music of nature. Even though it's quite the same, it's also quite different.
362The subtle differences on repeat kind of creates music on its own. Makes you 362The subtle differences on repeat kind of creates music on its own. Makes you
363wonder. It kind of puts Occam’s Razor in its place. Nature for sure loves to 363wonder. It kind of puts Occam’s Razor in its place. Nature for sure loves to
364make things as energy efficient as possible. 364make things as energy efficient as possible.