필터 지우기
필터 지우기

Need to create audio signal for perceptual task

조회 수: 1 (최근 30일)
Mario Trevino
Mario Trevino 2024년 3월 21일
댓글: Star Strider 2024년 3월 21일
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
Mario Trevino
Mario Trevino 2024년 3월 21일
the idea is that the function that generates audio files reads two column matrix with information about the dot, it could be for example pos_x, pos_y, or speed_x, speed_y, or a polar transformation of pos_x, pos_y. The thing here is transforming those input signals into audible components. I do know the trajectories in advance, so its perfectly viable to create the audio signals before running the trials. The problem I anticipate now is that the reproduction of audio signal should involve an envelope that starts before the actual information occurs on screen, otherwise we would be reproducing sounds that contain info after the fact.....
Star Strider
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 CenterFile Exchange에서 Measurements and Spatial Audio에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by