summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 00:53:02 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 00:53:02 +0200
commit29c8a5fc29b4618ac1e6ef6bbc21962fbc2b6859 (patch)
tree20b1a101b13f37866ebfe0fad2f5f5d0f099c5fe
parent7f2083a511a91edc13683d32903a06d1c1dd4d4e (diff)
lol typo
-rw-r--r--model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/model.py b/model.py
index 5f20075..c84a3e5 100644
--- a/model.py
+++ b/model.py
@@ -350,7 +350,7 @@ class PrimedGenerator(Runner):
x[:, i] = int((math.sin(i/44100 * primer_freq) + 1) / 2 * (q_width) + q_min)
return x
- def _saw(x):
+ def _spike(x):
primer_width = int(n_samples / 2)
for i in range(n_samples):
# x[:, i] = #int((math.sin(i/44100 * primer_freq) + 1) / 2 * (q_width) + q_min)