Why Cant Hear Any Sounds
Nov 23, 2011Turns out, visual basic cant play wav files under 100 kb :S, just needed to edit my wav file with audicity to extend it and increase its size.
View 3 RepliesTurns out, visual basic cant play wav files under 100 kb :S, just needed to edit my wav file with audicity to extend it and increase its size.
View 3 RepliesI need to get the decibel level of sound being sent to the sound card (not the actual sound level the speakers are instructed via volume level).
View 3 Replieswe can call throught the computer but the problem is that i can hear the person i called to but he can not hear my voice and i think maybe it's because of hardware but i still don't know where is the problem.
View 1 Replieswell i wanted to make a piano with visual basic 2008 and i searched around the internet to see how to play a sound but my search returned results relating only to visual basic 2005 & 6 so i am again forced to waste your time
View 3 RepliesHow can I mute sounds JUST from my app?
View 20 Repliesi need a way to play wav and mp3 sounds using vb net. its has to be able to play more than one sound at same time and also to play the same sound again even if it has not finished playing
i tried this
Code:
Dim ch As String
ch = Chr(34) & TextBox1.Text & Chr(34)
mciSendString("open " & ch & " alias s1", Nothing, 0, 0)
mciSendString("play s1", Nothing, 0, 0)
it plays the sound once then will not play any other sound at all.
I need help for button sound that when i click the button sounds.
View 2 RepliesIs there a way to hook the computers sound card and record the sounds?
View 2 Repliesi have a little project I have been working on over the past few days just a simple piano project, during making it I used directx sdk To allow me to play multiple wav files at the same time. everything worked out great got the piano working and was able to play some sound effects while I banged out a master piece on the piano . So the next step was to make an exe file , I knew that once I used directx sdk I might run into a problem when trying to make an exe to run on all my PCs that dont have directx sdk installed on them .
My question is it possible to make an exe that will allow my program to run on any pc even without directx sdk installed?
What is the simplest way to play two or more sounds at the same time? It should be a light software.
View 3 Replieshow do you do this playing two sounds at a time?
View 4 RepliesIs it possible to play two sounds using SoundPlayer simultaneously. I have got 2 sounds, one a music file which keeps on playing in the background and a message sound that will play if some condition is true over that sound. Is it possible??
View 4 RepliesIs it possible to play two or more sounds at the same time (i.e., one plays in the background and one plays a sound effect) and if so, how can I do this? I am having problems because it is cancelling one of the sounds out when the other starts.
View 7 Repliesi wanted to make a piano with visual basic 2008 and i searched around the internet to see how to play a sound but my search returned results relating only to visual basic 2005 & 6 so i am again forced to waste your time (sorry about that) oh and i also have the wav soundfiles i only want vb to read them in the final exe
View 3 RepliesI am making a program that plays a sound whenever you hit a button, and was wondering if there was a way to play two .WAV files at once. Here is what the code looks like:
[Code]...
How do i play 2 sounds at once? i have a sound effect on a button, and when i press it, it does the sound effect of the button and stops the music sound
View 3 Repliesi would like to add sounds like clicks to my program. for example someone clicks a button and a buzzing sound would occur.
View 3 RepliesI Would like to make an appliaction in c# (or vb.net) that records every sound that comes out from the speakers when i tell it to, and when im finished i want to push a button and save it as an mp3 (or some other format).
So far i have only found APIs that can record something from a microphone.
Is there anything in the .NET framework or is there some API for making this possible?
I was transferring a lot of controls from one form to another and somehow along the way I ended up with a lot of "extra" controls and apparently when you do this they don't retain their Names so they are all default-type names (Label1, Textbox1, etc)I can see them all listed in the properties window dropdown box, but they are not on the form. Selecting them from the dropdown does not reveal where they are at on the form either.
View 2 RepliesI would like to disable some or all system sounds for a .NET 3.5 application.
I cannot find anything around System.Media.SystemSounds that turns off sound settings that the user has chosen via the control panel.
I want to play system sounds with .NET code in my app - no problem if I want to use Beep, Asterisk etc as I can just use: My.Computer.Audio.Play SystemSound(Media.SystemSounds.Asterisk)But what if I want to play something like 'Menu Pop-up'? This sound is off by default in the Windows Default Sound Scheme, but if the user has set this sound up to do something then I want to play it.The user could have assigned any wav file to this action so I want to find which (if any) sound they have assigned and play it. Compatibility with Windows versions back to XP is also essential.
View 1 RepliesI am developing a chat application in asp.net using vb.net. In this, if a user receives a new message from other users then I want to play a sound to let him know that he received a message. I wanted to play some .wav files.
View 2 Replies me and a partner need to play sounds when certain events occur, however, every method we try..
My.Computer.Audo.Play("file.wav")
or?
Sound.PlayWaveFile("file.wav") from this class: http:[url]....etc they all don't work
They do NOT throw any exceptions, they just dont play the music, the test demo of the Sound Class works like a charm, its just not working in our project..same with My.Computer. Audio. Play.what could we have done to make it so that we can't play sounds from our application?
PS: this problem occurs on all of the computers we test it on, yet the normal sound-playing methods seem to work on all of those computers when they are implemented in other projects.. its just not working in these instances
Is it possible to stream more than two sounds simultaneously in .NET without using DirectX?
To obtain foreground and background effects I currently use the following:
' Background music
Private bkMusic As New SoundPlayer(My.Resources.bkm)
[CODE]..................
SoundPlayer is a wrap around to the win32 API:
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
While for actual in game sound effects I am using a class that implements:
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpszCommand As String, ByVal lpszReturnString As String, ByVal cchReturnLength As Long, ByVal hwndCallback As Long) As Long
It works. 1 snd effect at a time overlapping / mixing with the background music. But I am on the hunt for a better method which allows me to stream multiple snd effects simultaneously. DirectX is not an option, because most people (my audience) don't have the SDK (software development kit)
[URL]
I just got back into VB since being, at best, a hobby programmer with VB6. Wow, so much has changed since then, so I feel like I am starting all over again.
After much hunting and searching, I found that great code sample that shows the input from the game pad/joystick. (Finding visual basic 2008 and gamepad input information isn't easy!)
Now I want specific buttons to play a random file from a specific folder.
The application runs on a Netbook, which is a bit light on resources. I would prefer to play WAVs and MP3s with something that's less resource intense than windows media player. (Perhaps its very easy to do so from the code level. I've noticed WMP is so loaded with visualizations and so forth, its hard to turn all that crap off)
is it possible to add effects to sounds that are playing using the mediaplayer control?. i have tried using directsound which works good and i can add effects to the sounds playing but it wont play mp3 files and i have looked all over for information on directshow which does play mp3s but all the examples i managed to find all have about 50 lines of code just to play one track and dont show how to add effects.
i need to play several sounds at the same time and add different effects to each track and also be able to play - stop - pause each individual track at will mediaplayer i can do this but dont know how to add effects directsound i can do all of this but cant play mp3s.is there any way to add effects using mediaplayer control? or does anyone please know where i can see a code example in directshow that adds effects to the sounds playing?
How can I disable temporarily a module ? If it cant then how can I disable the sounds of my form? I have a mouseover, hover and click event sound in my form and I want it to be disabled in my options. I make a module thinking that if I can disable my module but the use of a checkbox then it might work but if it will not the how can I do that? im thinking also of a simple if statement but I prefer simplier ones like disabling my module.
View 3 Replieswhere can I find VB resources, like graphics, sounds, & other related files?
View 6 RepliesI know how to access and play the system sounds using vb.net, and I also know that using the registry to save users' settings isn't ideal, however, The details of my project are rather long and drawn out, so I'll skip most of them Basically my program is loaded onto several computers on our network. The entire purpose of this program is to sound various alarms on different dates and times. Apparently I am to set up the program so that the different alarm sounds can be configured through Windows' control panel.
I can add the program into the appropriate part of the Registry in order to make that happen. The problem is reading the the information back. Under the name of the app, I have four different subkeys, each with the name of one of the alarms. Under those keys are two other subkeys, .default and .current. How do I get the sound from .current to play? For some weird reason I get null returned any time I try to read the key that I created.
Its me again the newb programmer. lol why does it not allow you to play 2 sounds at the same time? the back ground loop ends when the button click sound is played :/ and I'm using vb express 2008 .net
[Code]...