Choose Between Different Sound Cards For Playback
May 2, 2010
I have a program that I have been building for quite some time, which is sort of a media center type of program. One of the features it includes is a CallerID and call management system that I have integrated into it.I am actually turning the ringers off on my phones, and the program will have it's own ringer instead. One reason i'm doing that is, it is programmed only to ring if I actually have the number already in my phonebook (i.e. no more telemarketers), and other features like quiet time (after a preset time, let's say 11:00 the phone won't ring).So anyhow I have 2 sound cards in my system. One sound card is connected to my living room home theater, which would be for watching tv, movies, etc.The other sound card is going to a separate amplifier that will power speakers that are throughout the house. I want to be able to programatically tell my program to output sound on the secondary sound card.It will be just a simple wav file, and hopefully speech as well (using the system. speech.speech synthesizer).So no matter if your watching a movie, or playing xbox (meaning the stereo will no longer be playing audio from the computer),when the phone rings you will hear the ringer over the speakers, along with a voice saying "Joe Schmoe is calling".I don't know if I can specifically have it play certain sounds over one card, or if it is a per application setting.For instance, if you are watching a movie (meaning the movie is playing through the windows media player control, inside of my program), and the phone rings, I want the phone to ring on the other card without changing the audio from the movie. If i'm not able to do it that way, and if the program itself is only able to play through one card at a time, I will simply make the caller id portion it's own separate application, that way I could make it happen.
View 19 Replies
ADVERTISEMENT
Apr 23, 2012
So im trying to figure out how i can change sound playback from head phones to speakers and from speakers back to headphones with 2 buttons, if u didnt get me: [Speaker button]<-- click=sound playback from speakers [Headphone button]<-- click=sound playback from headphones.
View 2 Replies
Jun 22, 2009
I just started programming in vb 2008 Using vb studio 2008 and vb 4.0 Running Windows XP Home Edition My question concerns the capabilities of vb to call for the internal sound cards and/or midi synthesizer.Can a module call the sound card for it to play MULTIPLE notes at the same time, notes of fixed frequency and duration?
I have tried programming vb 4 AND vb2008 for them to modify the default BEEP sound: using a code i found on internet:private declare Function Beep lib "kernel32" (byval soundFrequency as int32, byval soundDuration as int32) as int32
[Code]...
View 2 Replies
Apr 19, 2012
I need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.*How would i set a timer to turn all my cards into*(AppPath & "Cards ed.png") after 10 secsbut still have the values from the array and when i click the cards they flip over (from red card to numbered card)
Code:
Private Sub Place()
Dim Counter As Integer = 1
For Row As Integer = 1 To Int_Grid_Size
[CODE]..........................
View 2 Replies
Jun 20, 2011
I have a question about of capture sound function, someone have a code example for visual basic 2010 in windows 7?, I tried using mcisendstring function but the sound quality, is poor.
View 5 Replies
Apr 19, 2009
I have background sound loop with the My.Computer.Audio and it works fine. I want to play another sound (like a beep) when desired without stopping the background sound. Several examples I have found don't seem to work. I am in VB.NET 2008 Professional.
View 8 Replies
Aug 24, 2011
I'm ready to start adding sound to a 3D game and I'm looking for a decent Free library.it would not require DX and be something like:
dim MySound as SoundLib.Sound
MySound = SoundLib.LoadSound("soundfile.wav")
SoundLib.Play3DWorld(Location.X, Location.Y, Location.Z, VolumeModifier, MySound)so far all Im finding is expensive, C#, old, or not .NET compatible.
View 9 Replies
Aug 14, 2009
im making a techno progam in visual basic 2008 and after 3 hour im think how to save the sound they make and catshing a sound recorder but what the code im try to find on internet but find 0 pleas give me the code im try to find
View 1 Replies
Jul 21, 2011
I'm creating an application that will have 3 streams of audio. I can get 2 streams playing easy enough using DirectX AudioVideoPlayback and setting the balance for each Audio Instance. However, I need a 3rd Audio instance to play out of another output such as the Rear or Centre. An alternative would be to be able to select a different sound device in the machine to play the 3rd audio stream.
[Code]...
View 1 Replies
Dec 20, 2011
I am currently working on a family project which is based on "Who Wants To Be A Millionaire?" show. There is a huge diffrence between the show and my project. My project is a christmas edition and the goal is not to get money or something, since I will not add it... Erhmm... Let me get to the point. I have already designed a layout and scripted some things. I have about thirty questions but I do not want them to always spawn in the same array, if you know what I mean. I want the program to randomly choose one of those thirty questions and NEVER choose the same question in the same program run. By the way, there are four options on my project: A, B, C and D. I have got everything, I just need a code.
View 3 Replies
Apr 15, 2010
I need to get the decibel level of sound being sent to the sound card (not the actual sound level the speakers are instructed to emit via volume level)There is next to no information i can find on the net to even access sound data. Could anyone point me in a direction for this? The OS will be vista/7.
View 2 Replies
Jul 21, 2011
I'm creating an application that will have 3 streams of audio.I can get 2 streams playing easy enough using DirectX AudioVideoPlayback and setting the balance for each Audio Instance.However, I need a 3rd Audio instance to play out of another output such as the Rear or Centre.An alternative would be to be able to select a different sound device in the machine to play the 3rd audio stream.I've been searching the net for 2 days now trying to find a solution, but have so far been unsuccessful. I've tried a few alternative libs such as DirectShow.Net, DirectSound, BASS.Net, QuickTime and OpenTK.Some of them do what I need to do, but they are either too difficult to use and therefore impractical or they are missing some other essential features such as Events which are required to make the rest of the application work. Would anyone oppose to me posting this same thread on other forums?I will of course post a solution if one is found elsewhere without advertising external websites.
View 4 Replies
Aug 22, 2010
Well I made this application [URL] and I need to be able to change the speed which the CD Plays at?
View 1 Replies
Dec 27, 2009
I am making a program that works with my hometrainer so i can now have my speed and distanse on my screen but now when i start byking i would like to play a video on my screen also when i am biking slow the video has to play slow when i am biking fast the video has to play fast is there any one how can tell my how todo this whith a sample
View 3 Replies
Nov 18, 2009
I'm using Windows 7 with VS 2008 in VB. I'm trying to play some sounds in a playlist, but I don't want the media player window to show up when I play them. I've tried the following, but the media player shows up on the screen when the last line is executed. How do I hide the media player?
Dim mp As New WMPLib.WindowsMediaPlayer
mp.uiMode =
"invisible"
[Code]....
View 1 Replies
Jan 17, 2010
I am working on mouse recorder and I got it where it will record and playback the mouse movement by using 2 simple listbox and some codes. But now I am stuck on how to get it to record the clicks and also playback that as well. I was wondering if I could just use another list box to store the clicks in it? But I am sure I got to do something more extreme.
View 4 Replies
Mar 23, 2012
I'm developing a Public Announcement appplication with two main features:
1. Record audio and playback on event (I've achieved this)
2. Allow 'realtime' playback on event - no recording, just a live announcement
So, how can I cause the microphone input to be sent to the speakers simulatiously as the announcer speaks?
mciSendString("open new Type waveaudio Alias recsound", "", 0, 0)
mciSendString("play recsound", "", 0, 0)
View 2 Replies
Sep 10, 2011
How to find the default audio playback device
View 5 Replies
Oct 8, 2010
I am writing a program to record and playback all the keyboard and mouse events using the journalrecord and journalplayback methods. The code also stores this recorded event in the file and opens the file for playing. The mouse movements are playing fine but none of the mouse clicks or keyboard keypresses are playing fine. Attaching the record and playback hook procedure.
Private Function RecordHookProc( _
ByVal nCode As Integer, ByVal wParam As IntPtr, _
ByVal lParam As IntPtr) As Integer
'Stop recording at "BREAK" key press
[Code] .....
Win32 is a class file which I have used for declaration of constants and importing DLL files.
readFs and writeFs are the Filestreams
View 1 Replies
Mar 13, 2011
I need to make an application that plays the microphone line in the same time I speak to it, somewhat like an amplifier, so I can talk to the microphone without recording and my speakers play that sound at the same time! Its pretty difficult for me because I am really new at this type of applications and off course I don't have any idea about microphone line in volume control coding too!
View 2 Replies
Jan 9, 2012
What I need is an application that can have several audio files open up, which in turn can be routed to any of the audio output devices (e.g. external audio card channels). See the attached image for an illustration.
View 1 Replies
Mar 21, 2011
Basically my program has a "shuffle" music feature:
vb For i = 0 To 26 num = randomObject.Next(0, 27) My.Computer.Audio.Play("C:UsersMcturtlesMusicSongs" & num & ".wav", AudioPlayMode.BackgroundLoop) Next
Which selects a random number 0 - 26 and selects the corresponding song.
And a straight play feature:
vb Dim counter As Integer Do Until counter > 26 My.Computer.Audio.Play("C:usersmcturtlesmusicsongs" & counter & ".wav", AudioPlayMode.WaitToComplete) counter += 1 Loop
All of these activated by a button(separate for each)
When I click one, it makes the program stop responding. I'm pretty sure it is the .WaitToComplete mode, but I can't find a way to make it continuously play without it. If you can find my error. Also if you could tell me a way to make the shuffle never play the same song twice, that would be awesome as well.
View 2 Replies
Apr 17, 2009
I am trying to build a small program which will allow some one to click on the exit button and the sound will play and at the end of the sound the program will then close. The sound clip is about 3 seconds long Here is what I have:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.DirectSound
Public Class Form1
Private Dsound As CSoundDevice
[code]....
View 14 Replies
May 27, 2011
Is there a way to generate a pure tone (e.g. 440 Hz) for a specified period of time through the sound card without using having to find or make a separate .wav file for each tone.I tried using the "Beep" function, but while it produces the tone for a specified period, it sounds broken up into a (probably 500ms) time frame which repeats with an audible space between the repetitions.
View 2 Replies
Dec 18, 2011
how to record sound from sound card ?
View 1 Replies
Apr 28, 2009
Is there a way to access WMP10+'s playback speed controls in a dotnet app?
User level information on the Playback control information
View 2 Replies
Jun 27, 2011
i have windows app i want to disable the sound card and enable the sound card by using command button
View 2 Replies
Dec 15, 2009
I need some code to get the cards out of cards.dll in VB.net. And do the cards have to go in a picture box?
View 2 Replies
Feb 6, 2009
what is Wild cards how and when can i use the wild cards
View 1 Replies
Jun 10, 2009
I would like my website to accept credit cards online. I will manually process the payment. How can I make sure my website is secure to accept payments? Does VISA have specific requirements? Also, how can I check that the credit card information is valid?
View 1 Replies