Increase lowest frequencey and decrease sample rate
This is so it will work on M0 boards
This commit is contained in:
parent
ab8b3b7df2
commit
584bf5fd3a
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ import shapes
|
|||
|
||||
|
||||
def length(frequency):
|
||||
return int(64000 / frequency)
|
||||
return int(32000 / frequency)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import shapes
|
|||
|
||||
|
||||
def change_frequency(frequency, delta):
|
||||
return min(20000, max(10, frequency + delta))
|
||||
return min(20000, max(150, frequency + delta))
|
||||
|
||||
|
||||
def change_shape(shape):
|
||||
|
|
|
|||
Loading…
Reference in a new issue