# OSX Snd/audioplayer

**URL:** <https://psychtoolbox.discourse.group/t/osx-snd-audioplayer/647>\
**Category:** Uncategorized\
**Created:** [June 20, 2005, 5:43pm UTC](https://psychtoolbox.discourse.group/t/osx-snd-audioplayer/647 "2005-06-20T17:43:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![swaythe](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@swaythe](https://psychtoolbox.discourse.group/u/swaythe)\
**Post date:** [June 20, 2005, 5:43pm UTC](https://psychtoolbox.discourse.group/t/osx-snd-audioplayer/647/1 "2005-06-20T17:43:29Z")

</div>

Hi,  
  
I'm working with PTB version 1.0.5 for OSX. I'm creating a movie that shows two disks   
moving along the screen, and need to play a sound at various points of the movie.  
  
I tried using the Snd function but that pauses at the point where the sound has to be   
played (even if I open the channel before the movie starts). I read on a post here that   
audioplayer gets rid of this pause; the pause did go away, but I can't get audioplayer to   
play the sound at the exact same time across multiple runs of the movie.   
  
The Snd help mentions that I can create a soundtrack for the movie and start it before I   
start the movie. I'd like some help on creating the soundtrack using PTB functions. Any   
suggestions on other sound functions would also be helpful!  
  
Thanks,  
Swetha.
