Save Audio File KIVY, PYTHON
What I am trying to do is, save each recorded file with a different filename(Myaudio1,2,3). Currently this code saves the audio as MYAUDIO.3gp, replacing the old file. class MyRec
Solution 1:
You can use datetime for this.
from datetime import datetime
d = datetime.now()
d = d.strftime("%d_%m_%Y_%H%M%S")
self.mRecorder.setOutputFile('/sdcard/MYAUDIO_{}.3gp'.format(d))
Post a Comment for "Save Audio File KIVY, PYTHON"