Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Is it possible to datalog several audio channels while time-stamping the data from either the PC clock or a USB GPS module?
1 回表示 (過去 30 日間)
古いコメントを表示
The project I am working on requires datalogging several audio channels while timestamping the data from either the PC clock or a USB GPS receiver. I have seen that Matlab's Data Acquisition and Audio System toolboxes look impressive but could not find evidence of a time-stamp feature. If anyone has attempted this feature or could point me in the right direction I would appreciate it. Thank you.
0 件のコメント
回答 (1 件)
Jayaram Theegala
2017 年 6 月 20 日
It is possible to get the timestamps relative to the start time of the acquisition using the "startForeground" function in Data Acquisition Toolbox. To find more information about this function, click on the following URL: https://www.mathworks.com/help/daq/ref/startforeground.html#outputarg_timeStamps
In order to get the current time, you can use the "clock" function as shown below:
timeAndDate = clock; % This returns current date and time
time = timeAndDate(4:end); % In order to just get the current time
You may also find the following example useful to get started with Audio Acquisition with Data Acquisition Toolbox: https://www.mathworks.com/help/daq/examples/getting-started-acquiring-data-using-audio-in-session.html
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!