Added stuff
This commit is contained in:
parent
1cbff41485
commit
cd8f1ae426
@ -8,13 +8,14 @@ import sys
|
||||
|
||||
def main():
|
||||
infile = sys.argv[1]
|
||||
max_ = int(sys.argv[2])
|
||||
wavefile = wave.open(infile, "rb")
|
||||
os.makedirs("big_chop_output", exist_ok=True)
|
||||
|
||||
samples_per_slice = wavefile.getframerate()
|
||||
|
||||
i = 0
|
||||
while True:
|
||||
while i < max_:
|
||||
filename = os.path.join("big_chop_output", f"{i}.wav")
|
||||
|
||||
sound_data = wavefile.readframes(samples_per_slice)
|
||||
|
1
results/10forest_edge_night_total.txt
Normal file
1
results/10forest_edge_night_total.txt
Normal file
@ -0,0 +1 @@
|
||||
1500
|
Loading…
Reference in New Issue
Block a user