MCPcopy Create free account
hub / github.com/audacity/audacity / do_command

Function do_command

scripts/piped-work/recording_test.py:109–115  ·  view source on GitHub ↗

Do the command. Return the response.

(command)

Source from the content-addressed store, hash-verified

107
108
109def do_command(command):
110 """Do the command. Return the response."""
111 send_command(command)
112 # time.sleep(0.1) # may be required on slow machines
113 response = get_response()
114 print("Rcvd: <<< " + response)
115 return response
116
117
118def play_record(filename):

Callers 3

play_recordFunction · 0.70
exportFunction · 0.70
quick_testFunction · 0.70

Calls 3

printFunction · 0.85
send_commandFunction · 0.70
get_responseFunction · 0.70

Tested by

no test coverage detected