acousticodometry / python-recorder Goto Github PK
View Code? Open in Web Editor NEWDevice independent framework for synchronized recording, designed for researchers collecting multimodal datasets.
Device independent framework for synchronized recording, designed for researchers collecting multimodal datasets.
System timestamp my drift from the actual value, making synchronization with other machines imprecise. When initializing the recorder, a system time synchronization could be performed using ntplib.
import ntplib
client = ntplib.NTPClient()
response = client.request('pool.ntp.org')
record test
will show what microphones recorded. But if a realsense deviced is connected as well, it shows what the realsense device recorded too. The problem is that it seems to skip the last microphone before the realsense device. When using record test microphone
it works as expected.
Probably is better to save a start_timestamp
and a started_timestamp
as well as an stop_timestamp
with stopped_timestamp
recorder test microphone
Not handled exception
No configuration found in C:\Users\SRG_Adams\Documents\Andreu\python-recorder.yaml. Generate one.
Traceback (most recent call last):
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\__main__.py", line 148, in get_config
return Config.from_yaml(path)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\config.py", line 17, in from_yaml
raise AttributeError(f'Configuration file {path} does not exist')
AttributeError: Configuration file C:\Users\SRG_Adams\Documents\Andreu\python-recorder.yaml does not exist
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\SRG_Adams\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\SRG_Adams\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\Scripts\recorder.exe\__main__.py", line 7, in <module>
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\typer\main.py", line 214, in __call__
return get_command(self)(*args, **kwargs)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\typer\main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\__main__.py", line 188, in test
config = get_config(config_path)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\__main__.py", line 151, in get_config
return Config.from_yaml(path)
File "C:\Users\SRG_Adams\Documents\Andreu\venv\lib\site-packages\recorder\config.py", line 17, in from_yaml
raise AttributeError(f'Configuration file {path} does not exist')
AttributeError: Configuration file C:\Users\SRG_Adams\Documents\Andreu\python-recorder.yaml does not exist
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.