forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Record wave out mix (system output)

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Jan 20, 2004 7:28 pm    Post subject: Record wave out mix (system output) Reply with quote

Is there a way to record the wave out mix (like what you hear through your computer speakers) using VDS? Perhaps using MCI? Or does a DLL
exist for this?

Confused

Thanks in advance for any help. Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Jan 20, 2004 11:12 pm    Post subject: Reply with quote

I do believe it is possible using the @mci(). I remember years ago
someone saying that we could do that in VDS. I just never ventured
to give it try.

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Wed Jan 21, 2004 7:31 am    Post subject: Reply with quote

Hi FF
Here is a demo showing how to record sound using MCI commands
http://www.vdsworld.com/index.php?page=download&fileid=375

Enjoy!

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Jan 21, 2004 6:55 pm    Post subject: Reply with quote

Excellent CodeScript!! Very Happy Thank you SO MUCH!! Very Happy Yes Thumbs Up
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Jan 22, 2004 2:33 am    Post subject: Reply with quote

Happy to Help Smile
_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Jan 22, 2004 6:18 pm    Post subject: Reply with quote

I'm really impressed with it... It also works, I never mentioned that yet. Wink

Is there a way to change the quality of the recording, ex. when I record
the bitrate sounds lower. No problem if there isn't, but I'm just wondering. Smile

Thanks again. Thumbs Up

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Thu Jan 22, 2004 6:35 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Jan 22, 2004 6:35 pm    Post subject: Reply with quote

Actually I just found this in the MCI reference - but I'm not sure which to
set: bitspersample or samplespersec. Confused

Code:
set mysound time format ms bitspersample 8 channels 1 samplespersec 11025

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jan 22, 2004 6:39 pm    Post subject: Reply with quote

I just tried the code CodeScript made, but it just records my microphone... Confused Any idea why?
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Jan 22, 2004 6:53 pm    Post subject: Reply with quote

You have to select the right device to record. If you can't find it elsewhere,
run this code to open the Windows Sound control panel mixer:

Code:
run sndvol32.exe


Then click on Options > Properties, click the "recording" radio button,
then look at the following screenshots to make sure yours looks somewhat
like it:




_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jan 22, 2004 7:09 pm    Post subject: Reply with quote

Yes, that does the trick... Smile Can't that be done directly with MCI?
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Jan 23, 2004 2:03 am    Post subject: Reply with quote

Hi FF
I think if you alter samplespersec to other than 1 then prolly you need to play back at the same rate else it will be too fast or too slow ?
I am not sure about this may be Vic can tell more.

Hi Skit
As for getting or setting a mixer property I think you need to call winmm.dll and use something like mixerSetControlDetails - said to be one of the difficult areas of API programming. I don't know if a simpler method exits - other than opening the default mixer panel.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group