Sine Wave Sound Generator
Jan 25, 2011Could someone describe the way by which i could generate a sine wave sound with a certain frequency?
View 5 RepliesCould someone describe the way by which i could generate a sine wave sound with a certain frequency?
View 5 Replieshow to create a sine wave generator in vb.net
View 2 Replies[URL]..I wrote a program with a timer set to tick every 100 ms. The values oscillate between 109 and 110 ms. Each tick, a variable adds +1 to itself; it starts at 0 and goes to 9 and then it goes back to 0 where it continues the addition process. When the timer ticks 110, the variables is added to a textbox. The pattern is something like this, which you can see in the above youtube video. 5 9 5 9 5 9 4 8 4 8 4 8 3 7 3 7 3 7 etc.
[Code]...
How to write a simple sin graph for my calculator? I need , when I'll press the button, to show this graphic.
Private Sub btnsin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsin.Click
For i = 0 To 100
[Code]......
I am making a program to deal with sine/cosine functions
If rdbsideA.Checked = True Then
Do While AngleB > 0
SideA = (SideB * Math.Sin(txtAngleA.Text)) / Math.Sin(AngleB)
Loop
MsgBox("The Length of Side A is ", SideA)
End If
That is if the user seleects to find side a. When the messagebox pops up, it doesnt state the previous calculation, why is that?
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 RepliesI 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 RepliesI'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.
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 RepliesI'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]...
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 RepliesI'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 RepliesI 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]....
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 Replieshow to record sound from sound card ?
View 1 Repliesi have windows app i want to disable the sound card and enable the sound card by using command button
View 2 RepliesI am trying to convert a mp3 to wav and I need to know...What is the very first thing you see when you open a wave file up? the 2nd, the 3rd, 4th and so on. Is it the riff header or the riff header contents(ID, size, Type). I need this info for a Regex string that would look something like this...
'Frame/MaxFrame (PercentDone%) | CPU time/estim | REAL time/estim | play/CPU | ETA
Private Shared _regLine As Regex = New Regex( _
"(d+)/(d+)D+(d+)D+([d:]+)D+([d:]+)D+([d:]+)D+([d:]+)D+([d.]+)D+([d:]+)"
[code]....
I am executing lame.exe from a process.Start command.VB 6.0, VBExprss, ASP,Net, & Gaming
Cannot gen. the correct wave values?
View 2 RepliesI want to make an application that can control the general volume of my pc. I have been using waveOutGetVolume and waveOutSetVolume properly. But that only changed the volume of my own appliation in the mixer.[code]...
View 1 Replieshow to get the wave file information in vb.net like frequency,no of channels etc from wave file
View 3 RepliesSo, I re did my project in VB.NEt instead of C#. So, I put all the sound files in the resource files. I made a routine to play the sound file but it says that to make sure the sound file exists. Which it does because it played in the resource manager.Here's the sub routine to play the sound:
Dim sndplayer As New Media.SoundPlayer
Public Sub TestSound(ByVal snd As String)
My.Computer.Audio.Play(snd)
[code].....
i'm needing a control, or a way to show the wave forms from wav file.
View 1 Repliesi have a 2 dimensional array with beep codes, first column is frequency and second column is duration. i can save and open the data to a text file, which looks like this:
[Code]...
my program can play them just fine, but i would like to save them to a .wav file so any audio program can read them, i'm using VB.net Express 2008
Iam working in a project need converting a wave file to binary..converting a file of such format(wave) to binary text in asp.net? I need that cause i want to cut the original file to many files, and add additional parts of the same type to them and combine them together in a one file again..
View 2 RepliesI need to draw a'wave form' in a panel inVB.net, the wave form will be updated once every one second. the problem is the screen blinking whenever it is updated. how can I solve this problem? the paint event code as below.
[code]...
how to draw a waveform represenatation of a wave a wavefile and/or an MP3? Even better, can it be drawn in real-time while the file is playng?
View 8 RepliesI am trying to figure out the numSamples in this:The canonical WAVE format starts with the RIFF header:
0 4 ChunkID Contains the letters "RIFF" in ASCII form
(0x52494646 big-endian form).
4 4 ChunkSize 36 + SubChunk2Size, or more precisely:
[code]....
This works fine for getting the wave file info, It just doesn't display the numSamples which I need.
how do i convert text to wave from vb.net in speech sdk
View 4 Repliesi need to design a flag, that seems to wave as it is viewed, on a website. can i do this with VB.NET?
View 6 RepliesI want to show the wave with music or frequency of voice in visual basics.
link of the example in VB.Net that i want is below: [URL]