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