Need to create audio signal for perceptual task
2 views (last 30 days)
Show older comments
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 Comments
Star Strider
on 21 Mar 2024
You will need to use the audiowrite, audioread and audioplayer functions for this project. The sound function may also be an option.
Answers (0)
See Also
Categories
Find more on Measurements and Spatial Audio in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!