Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 922 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 922 Bytes

SoundRecorder

sound recording on a microphone and sending to dropbox or google disk

A local microphone is used where the code is executed. You can set recording duration. File name consists of current datetime.

To upload recording to Dropbox, you should have dropbox access token. How to get you can read here.

To upload recording to Google Disk, you should turn on Drive API and get client_secrets.json, then upload it to src/main/resources. How to get you can read here.

Then, fill the app.properties:

  • cloud - dropbox or google
  • duration - one recording duration, in milliseconds
  • deleteAfter - delete local file after uploading to cloud, true or false
  • iterationsCount - how many times it will make recording and send file to cloud
  • dropbox_access_token - if use Dropbox