Need to create audio signal for perceptual task
2 次查看(过去 30 天)
显示 更早的评论
Hi there everyone, Im working with a perceptual task. Imagine we have a dot that is projected on your screen. On different trials, this dot moves around and adopts different trajectories within the screen, with a fixed trial duration of, say, 2.5 s. I have all this information a priori, which means that I know the exact trajectories of the dots, during all trials. What I need then is to be able to create an audio file, which I can reproduce during each trial and which encodes information about the position of the dot. Since the dot moves in a 2D space, I would need to be able to provide a 2 column vector to this tool, in order to transform that information into an audio file. The idea being that the audio file lasts exactly the same as the corresponding trial, and encodes what is happening in the screen in real time.
ANY SUGGESTIONS??????
thanks in advance :)
3 个评论
Star Strider
2024-3-21
You will need to use the audiowrite, audioread and audioplayer functions for this project. The sound function may also be an option.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!