Skip to content

Commit

Permalink
Fix another typo leading to generator errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tlecomte committed Jan 27, 2018
1 parent c3b2577 commit 05753aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion friture/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def audio_callback(self, out_data, frame_count, time_info, status):
self.state = PLAYING

if self.state == STOPPING:
self.logger.info("stopping", self.t_stop, N)
self.logger.info("stopping %f %d", self.t_stop, N)
# add a ramp at the end
t_ramp = self.t_stop - np.arange(0, N / float(SAMPLING_RATE), 1. / float(SAMPLING_RATE))
t_ramp = np.clip(t_ramp, 0., RAMP_LENGTH)
Expand Down

0 comments on commit 05753aa

Please sign in to comment.