added changes on checking similarity
This commit is contained in:
12
base/api/wavread.py
Normal file
12
base/api/wavread.py
Normal file
@ -0,0 +1,12 @@
|
||||
from .wavsound import wavsound
|
||||
|
||||
"""wavread is a testing module to test the functionality of wavsound"""
|
||||
|
||||
button_wavsound = wavsound('db/button.wav')
|
||||
print(button_wavsound)
|
||||
|
||||
beep_wavsound = wavsound('db/buttonresampled.wav')
|
||||
print(beep_wavsound)
|
||||
print (len(button_wavsound.get_data()))
|
||||
print (len(beep_wavsound.get_data()),len(button_wavsound.get_data()))
|
||||
print(button_wavsound.get_chunk(0,100))
|
||||
Reference in New Issue
Block a user