PsychSound audio recording

Hi all,

I'm curently having difficulty recording audio using PsychSound. The program seems to balk
when I try to initialize recording:

PsychSound('InitRecording', samp_freq, rec_dur, num_chan, bytes);
command returns:

??? Undefined function or method 'PsychSound' for input arguments of type 'char'.

I'm runnig on an intelmac (MacBookPro), Matlab R2007b (7.5.0.338), Psychtoolbox version
3.0.8.

The exact same code runs fine on PowerbBook G4 running Matlab R2006b (7.3.0.298),
psychtoolbox version 3.0.8.

Any help would begreatly appreciated!

Thanks,

Mike
>> fhejkalfeahel('uiuiuiui', 5, 4, 3, 2, 1)
??? Undefined function or method 'fhejkalfeahel' for input arguments of type 'char'.

==> What Matlab wants to tell you is that it doesn't
know the PsychSound command.

Update your copy of 'beta' to get it back for IntelMac. Until
last tuesday it was only supported on OS/X PowerPC.

Even better would be rewriting your code to use
PsychPortAudio for capture, as demonstrated in
"BasicSoundInputDemo".

PsychSound is deprecated, dead, no longer maintained,
and non-portable == Only available for OS/X. We still
include it for backwards compatibility, thanks to the work
of Roger Woods, UCLA.

PsychPortAudio does everything and much more, much better
in a portable way that PsychSound or SND do.

-mario


--- In psychtoolbox@yahoogroups.com, "mt2tombu" <mike.tombu@...> wrote:
>
> Hi all,
>
> I'm curently having difficulty recording audio using PsychSound. The program seems to
balk
> when I try to initialize recording:
>
> PsychSound('InitRecording', samp_freq, rec_dur, num_chan, bytes);
> command returns:
>
> ??? Undefined function or method 'PsychSound' for input arguments of type 'char'.
>
> I'm runnig on an intelmac (MacBookPro), Matlab R2007b (7.5.0.338), Psychtoolbox
version
> 3.0.8.
>
> The exact same code runs fine on PowerbBook G4 running Matlab R2006b (7.3.0.298),
> psychtoolbox version 3.0.8.
>
> Any help would begreatly appreciated!
>
> Thanks,
>
> Mike
>