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.

回答(1 个)

Jayaram Theegala
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

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by