Forte with *.wav connection
Hi,
I am working on plugging a sound (wav) effect into my
app in NT. However, I am having problem removing the
sound recorder interface (snrec32.exe) while it starts.
Herewith is my code:
Display()
--
cmd_text : TextData = new;
cmd_text.SetValue('sndrec32 c:\\winNT\\piano.wav');
task.Part.OperatingSystem.RunCommand(command =
cmd_text,isSynchronous=FALSE);
Does anyone have any idea how to hide the sndrec32
interface while playing the wav file?
PS: I also tried to kick off piano.wav without using
sndrec32, the outcome was the same.
Thank bunch!
Garry Fong
garryf@fox.com
[699 byte] By [
] at [2007-11-25 5:00:51]

Hello Garry,
May be you could try ActiveX integration with something like RealAudio.
This is only available if you are in R3.
Hope this helps.
Daniel Nguyen.
Garry Fong wrote:
>
> Hi,
>
> I am working on plugging a sound (wav) effect into my
> app in NT. However, I am having problem removing the
> sound recorder interface (snrec32.exe) while it starts.
> Herewith is my code:
>
> Display()
> --
> cmd_text : TextData = new;
> cmd_text.SetValue('sndrec32 c:\\winNT\\piano.wav');
> task.Part.OperatingSystem.RunCommand(command =
> cmd_text,isSynchronous=FALSE);
>
>
> Does anyone have any idea how to hide the sndrec32
> interface while playing the wav file?
>
> PS: I also tried to kick off piano.wav without using
> sndrec32, the outcome was the same.
>
> Thank bunch!
> Garry Fong
> garryf@fox.com
at 2007-6-29 9:19:37 >

Hi Garry,
Have you considered writing a small utility in C that links in the
Windows MMSystem library and then use the PlaySound function? (I think
there are a few demos in MS VC++ that you can get the code from).
You could then call this program the same way you called soundrec32, or
you could wrapper it in Tool.
Hope this helps
Cheers Martin
>-
>From:Daniel Nguyen[SMTP:dnguyen@club-internet.fr]
>Sent:Friday, 7 November 1997 07:25
>To:Garry Fong
>Cc:kamranamin@yahoo.com
>Subject:Re: Forte with *.wav connection
>
>Hello Garry,
>
>May be you could try ActiveX integration with something like RealAudio.
>This is only available if you are in R3.
>
>Hope this helps.
>
>Daniel Nguyen.
>
>Garry Fong wrote:
>>
>> Hi,
>>
>> I am working on plugging a sound (wav) effect into my
>> app in NT. However, I am having problem removing the
>> sound recorder interface (snrec32.exe) while it starts.
>> Herewith is my code:
>
>>
>> Display()
>> --
>> cmd_text : TextData = new;
>> cmd_text.SetValue('sndrec32 c:\\winNT\\piano.wav');
>> task.Part.OperatingSystem.RunCommand(command =
>> cmd_text,isSynchronous=FALSE);
>>
>>
>> Does anyone have any idea how to hide the sndrec32
>> interface while playing the wav file?
>>
>> PS: I also tried to kick off piano.wav without using
>> sndrec32, the outcome was the same.
>>
>> Thank bunch!
>> Garry Fong
>> garryf@fox.com
>
at 2007-6-29 9:19:37 >
