Skip to content

Commit

Permalink
minor timing adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
fijam committed Jul 7, 2021
1 parent 392df31 commit 56542cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def set_default(user_input, default):
press = set_default(press, 0.03)

hold = input('Duration of a long button press in seconds: (default: 2.2) ')
hold = set_default(hold, 2.2)
hold = set_default(hold, 2.1)

#defaults are currently wrong
button_dict = {
Expand Down
6 changes: 3 additions & 3 deletions md-rec.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ def cleanup_exit():

print('> Connect your Sony Recorder and insert a blank MD')
input('Press Enter when ready.')
print('Wait for REC Standby...')
push_button('Record', press, 1) # REC Standby
time.sleep(0.5)
print('REC Standby...')
time.sleep(1)

print('> Open up Foobar2000 with the playlist you want to record')
input('Press Enter when ready.')
Expand All @@ -190,7 +190,7 @@ def cleanup_exit():
for track_number, track in enumerate(tracklist):
try:
print(f'Recording: {tracklist[track_number]}')
time.sleep(0.5)
time.sleep(0.2)
push_button('Display', hold, 1)
push_button('Stop', press, 2) # enter labelling mode
input_string(tracklist[track_number])
Expand Down

0 comments on commit 56542cc

Please sign in to comment.