This commit is contained in:
2024-09-19 17:42:34 +02:00
parent e34dc37dc1
commit 1a31175db9
+3 -3
View File
@@ -60,7 +60,7 @@ class WaveWriter:
self.file_name_past = None self.file_name_past = None
self.file_name_present = location + self.username + str(self.present_file_id) self.file_name_present = location + self.username + str(self.present_file_id)
self.transcript_file_present = wave.Wave_write = wave.open( self.transcript_file_present = wave.open(
self.file_name_present, "wb" self.file_name_present, "wb"
) )
self.transcript_file_present.setnchannels(CHANNELS) self.transcript_file_present.setnchannels(CHANNELS)
@@ -68,7 +68,7 @@ class WaveWriter:
self.transcript_file_present.setframerate(SAMPLING_RATE) self.transcript_file_present.setframerate(SAMPLING_RATE)
self.file_name_future = location + self.username + str(self.present_file_id + 1) self.file_name_future = location + self.username + str(self.present_file_id + 1)
self.transcript_file_future = wave.Wave_write = wave.open( self.transcript_file_future = wave.open(
self.file_name_future, "wb" self.file_name_future, "wb"
) )
self.file_name_future.setnchannels(CHANNELS) self.file_name_future.setnchannels(CHANNELS)
@@ -85,7 +85,7 @@ class WaveWriter:
self.transcript_file_future = ( self.transcript_file_future = (
location + self.username + str(self.present_file_id + 1) location + self.username + str(self.present_file_id + 1)
) )
self.transcript_file_future = wave.Wave_write = wave.open( self.transcript_file_future = wave.open(
self.file_name_future, "wb" self.file_name_future, "wb"
) )
self.file_name_future.setnchannels(CHANNELS) self.file_name_future.setnchannels(CHANNELS)