sound files in PEAK
 
 
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



sound files in PEAK Expand / Collapse
Author
Message
Posted 10/23/2006 8:31:52 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/27/2006 11:41:12 AM
Posts: 2, Visits: 5
Can anyone tell me if sound files can be accessed and used in PEAK?

If so, any tips?
Post #12
Posted 10/25/2006 4:34:19 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Moderators
Last Login: 2/1/2008 8:32:03 AM
Posts: 13, Visits: 28
Hello,

The Sound properties of a Slide object can be accessed by:

-Selecting the desired Slide object in the PEAK display
-Right-clicking and selecting 'Properties...' from the menu
-Scrolling down and checking the Sound.Filename in the properties list

This should be all that is needed to enable sound on a Slide object.


-------------------------------------------
Christopher Neff
Software Engineer
Psychology Software Tools, Inc.
Post #15
Posted 10/26/2006 2:39:23 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/27/2006 11:41:12 AM
Posts: 2, Visits: 5
I am the TA in a cognitive psychology lab. We cannot get sound files to play in PEAK. A number of error messages either say that the file cannot be accessed, cannot be found, there's a Running Time Null error, an error of unknown type, or PEAK simply crashes when a sound file is added as a subobject in a slide.

We know that they need to be wave files (they are), and they cannot exceed 10 seconds in length (they don't). Anything else you can tell me (stereo only? mono only? where must the file reside: Categories folder, New folder, desktop?) would be greatly appreciated. I'm getting desperate to get this working.

This users forum only told me what I already knew from the Help Guide. Can anyone offer any suggestions on what has worked for people in the past? Obviously there are more restrictions on the sound files than the Help Guide describes.


Post #16
Posted 10/27/2006 8:04:57 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Moderators
Last Login: 2/1/2008 8:32:03 AM
Posts: 13, Visits: 28
The sound file does have other audio limitations such that it needs to have the following properties:

Format == WAV
Sample Size == 16 bit
Channels == 2
Sample Rate == 22kHz

In order to run to test the Sound place the WAV file in the same directory where the Experiment (*.xpr) is stored. Then simply set the Sound.Filename property on a Slide object as (for example): Noise.wav

Try looking at the Organization in Memory as an Aid to Recall within the Templates folder to get an example of an Experiment that uses audio.



-------------------------------------------
Christopher Neff
Software Engineer
Psychology Software Tools, Inc.
Post #17
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 9:38am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 10 queries. Compression Disabled.