Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2006, 10:18 PM
Junior Member
 
Join Date: May 2006
Posts: 5
Default Recording Audio - MCI Call.....

Has anybody actually gotten this capability to work?

Any advice would be greatly appreciated.

Cheers!
Reply With Quote
  #2 (permalink)  
Old 06-27-2006, 02:50 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Recording Audio - MCI Call.....

Please look into the attached sample.
Reply With Quote
  #3 (permalink)  
Old 06-27-2006, 11:24 PM
Junior Member
 
Join Date: May 2006
Posts: 5
Default Re:Recording Audio - MCI Call.....

Thanks,
It works!

Not to be a bother, but I do have a question.

Is there a way to set the quality of the recording?

I looked at the 'record' script in the script viewer and did not see anything for quality.

Thanks again, any further info will be greatly appreciated.
Reply With Quote
  #4 (permalink)  
Old 06-28-2006, 03:28 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Recording Audio - MCI Call.....

Before open a MCI device, you can set an alias for it

Code:
...
mci.alias = "myrecorder'';
mci.command = "open'';
...
Then you can change the recording quality by using its alias:
Code:
...
mci.sendCmdString("set myrecorder bitspersample 8
    channels 2 samplespersec 44100'');
mci.command = "record'';
...
The following link may be helpful:
http://www2.cmp.uea.ac.uk/~fuzz/tmci/MCI_set.html
Reply With Quote
  #5 (permalink)  
Old 06-28-2006, 09:41 PM
Junior Member
 
Join Date: May 2006
Posts: 5
Default Re:Recording Audio - MCI Call.....

Thanks again.

I can't seem to get it to work. Should I put the script portion concerning audio quality in the "record" script window? That is where I have it now and the quality does not change.

I'm sure I am missing something quite simple, any tips?

Thanks again for all your help.
Reply With Quote
  #6 (permalink)  
Old 06-29-2006, 03:48 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Recording Audio - MCI Call.....

The modified sample changes the samples per second to 14400. Please look into the "record" script
Reply With Quote
  #7 (permalink)  
Old 06-29-2006, 11:09 PM
Junior Member
 
Join Date: May 2006
Posts: 5
Default Re:Recording Audio - MCI Call.....

Thanks!

Changed level to 22500 and it sounds much better.

Cheers!
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:44 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.