Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
#8 fixed, was normalization of sound
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodz committed Mar 27, 2021
1 parent 24aeae9 commit 4268302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,9 @@ def play_only_Process(queue_data_to_play,
# sf.write('temporal/output_{}.wav'.format(number),
# mydata_predicted, sample_rate_output, 'PCM_32')

p.play(mydata_predicted/numpy.max(mydata_predicted))
p.play(mydata_predicted)
else:
# p.play(np.asarray([0]))
time.sleep(DELAY_IDLE) # to don't stress cpu


Expand Down

0 comments on commit 4268302

Please sign in to comment.