How To Stop A Streaming Audio
Feb 7, 2011How do I stop a audio stream once I play it using sapi. Do I have to skip the whole set of sentences ?
View 1 RepliesHow do I stop a audio stream once I play it using sapi. Do I have to skip the whole set of sentences ?
View 1 RepliesI have streaming raw audio coming in from a serial device, which I'm trying to play through WaveOut.
[Code].....
It too seems to suffer from lack of having a header.
Is there any way with vb.net of accomplishing MMS audio streaming?
Also, i read somewhere else within SO, that MMS streaming is no more supported by Microsoft. Is that true?
I am currently trying to find a way to play an audio stream from the internet so I thought that someone here might be able to help me. The stream I want to play is specified in a .m3u file and it is not a live stream, it is pre-recorded. This component is for a WPF Browser Application I'm developing.I thought of using the ActiveX MediaPlayer from WMP.dll but it's lack of intuitiveness confounded me. I would really dislike having to download the whole audio track before playing it since the file may be really large and take a long time to complete. Playing the file in Windows Media Player as an outside player is also out of the question.
View 14 RepliesI am developing a server-client voice streaming chat application with vb.net, i am recording wav files by a microphone and using .net.Sockets to transfer the files from a client to the server.
The runtime from the client follows as :
Public Sub sendFile(ByVal file As IO.FileInfo)
Dim BufferSize As Integer = 1024
Dim fs As FileStream = New FileStream(file.FullName, FileMode.Open, FileAccess.Read)
Dim NoOfPackets As Integer = Convert.ToInt32(Math.Ceiling(Convert.ToDouble(fs.Length) / Convert.ToDouble(BufferSize)))
[Code] ......
The problem that I am having is that the wav file that arrives to the server sounds really bad like interrupting each half-second. Another strange thing is that if the originally file es 46KB big the one that receives the server is 47KB. How I will manage to build a voice chat with good quality using this technology. How I can start sending streaming audio meanwhile une user is speaking.
Here's the code:
'Determine and Display User-Selected Major Chord
If Me.tvChordExpressions.SelectedNode.Name = "NodeAMajor" Then
'display chords
Me.pbMain.Load("D:Visual Studio 2010ProjectsMusicaMusicaChordsMajorA.jpg")
'play A Major Chord
My.Computer.Audio.Play(Application.StartupPath & "Audio ChordsAMaj+10.wav")
End If
[Code]...
this works great, however the problem is that the audio file (A Major in this example) will repeat playing every 4-5 seconds. Question?...Why and How do I stop this?
I have a start and stop button on a form and would like a pause and restart button aswell.
I can start my audio file (WAV file in the C-Drive) fine with;
My.Computer.Audio.Play("C:Bleep_TestBleep_Test.wav", AudioPlayMode.Background)
Thus allowing other functions to be carried out.I can stop my audio with;
My.Computer.Audio.Stop()
But i would like to be able to pause and restart the audio?There are timers and getkeystates envolved with this form. The timers I can pause and restart, the getkeystates are a function called in conjunction with the timers as a case statement, (all this is working).how to pause and restart the audio, bearing in mind the loaction and the other features of the form? (I only wish i was a clever as you guys/girls out there to return the help rather than leaching your knowledge continously)
I want to know how I can take a regular avi, mpg, wmv, etc... with out a streaming server or a streaming file, and not downloading the entire movie Play it with windows media player or a different media player, oreven a custom one.
View 2 RepliesI'm developing a standslone system for my school project. I'm developing an audio management system which allow user to add audio files itself into database together with the audio information such as artist name and album year. I just started it few days ago and face some problems.. my song in the playlist wont continue to play after 1 finished and i need some idea on how to store the audio files into database ... in blob types may be?
Heres the screenshot and codes
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_add.Click
[CODE]............................
So, after entering the following code into my app (which has WMP embedded for user to listen to the Bible in Audio) I ended up getting an Error/Alert when Running the app and Selecting the Option: "Hide Player and Stop Audio".
View 4 RepliesI just want to ask or I need some idea on how to convert wav files to mp3 and compressed the file to make the size smaller. I've search on the internet and find vorbis.dll as a reference object and lame.exe for converter. With regards to the audio compression, i downloaded monkey's audio software but doesnt have an idea on how to incorporate it.
View 2 RepliesIm trying to capture the audio played on my laptop. so i have searched the internet and found a source code for doing exactly that. the problem i have is that my audio device is not listed in the dropdown box (see picture) but it does when its run on windows xp (im running windows 7 x64) the goal of this application would be to capture my friends radio stream and save the individual played mp3's to a loction on my hard drive.(yes i have permission) i have included the source code so perhaps some 1 could have a look at it. (source code)[URL]
View 2 Repliesmake a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?
View 7 RepliesI have a database application developed around Access with VBA,I have used the Speech SDK and developed an application that in conjunction with MSCOMM 6.0 library calls into a remote IVR system.It sends in the credentials and queries information in response to that IVR's verbal requests. All seems successfull except for one problem;I'm using a shared SR engine and its using the system microphone as its audio input, this in turn gets the sound from the speakers which are routed to the telephone line through the modem. Of course this has a number of disadvantages - noise added to the sound from the environment and sound quality degredation as well as speaker volume dependency.
I would like the SR engine to take its audio input from the modem in paralell with the sound that goes to the speakers (so we can listen in to the call as well). This means that I must route the system audio output to the SR engine audio input. It seems that I must use an InProc SR instance - however in VBA that type is not recognized - since the shared SR uses the microphone as input by default. there is some statement to the effect that it is difficult in Microsoft's Help file. I'm unable to set the SR audio input to the modem output stream in VBA.As needed I can accomplish the C++ interface using an ActiveX object or a DLL to expose the missing API to VBA?
how can i play the audio after the previous audio play is finish by using directx.
assume i have audio1.wav and audio2.wav.
i play audio1.wav by this code.
audio1 = audio.fromfile("D:audio1.wav", false)
how can i play audio2.wav after audio1.wav is finish? without use any button or signal. just depends on when the audio1.wav is finish, then audio2.wav will play automatically.
Alright, so I'm still working on the slot machine. I have three timers all independently going for my three "wheels" of the slot machine.
My issue, is that I'm trying to make a Stop button to stop each timer one at a time, and I'm not understanding why this code isn't working. The logic completely makes sense, and the first "wheel" stops when I click the button, however, it doesnt appear to stop the other two timers.
CODE:
i`m trying to stream my webcam video to the internet so i can be able to see my web cam at home from my office.Is it possible to do this using VB.net or i have to switch to ASP.net?
View 1 Repliesbattlefield bad company 2 and so far i only worked with the udp protocol to remote command it.This game uses TCP so you can stream only i have no idea how to start with it The only thing i can base myself on is this python code that i got from the dice package.
#!/usr/local/bin/python
from struct import *
import binascii
[Code]...
I'm building a windows forms application with a webbrowser, textbox, and a few buttons. It's basically just a web browser similar to IE. Right now I am trying to figure out how to detect streaming video. I've tried a few things like looking in the temp internet files for files growing in size ect. Nothing has worked at this point. All I need/want right now is for a messagebox to popup if streaming video is detected. You would think its simple (perhaps it is), maybe i'm not thinking outside the box.
View 2 Repliesi have recently created a vb.net motion detection project and i want now somehow to be able to have a live streaming over the internet.
View 2 RepliesI want to make a program that can play MP3-files from my FTP-server.I know how to play, pause and stop music from stream, but i don't know how to add seek-ability.You know, like in Spotify or Grooveshark, they play streamed audio with seek.so, i would like to be able to seek, and the trackbar would show where in the song you currently are.So, my questions are:
1.What codec should i use? I have NAudio, will that work?
2.Is there any examples or tutorials on how to do this, any at all? (i couldn't find any)
I am using VB.net sockets to send a music file from one instance to another. It currently saves the file, but I do not want to be caught up in file-sharing, so I want to "save" it to a buffer, and when it gets to a particular percentage transferred, I want another thread to play the music file, deleting it from the buffer as it plays. I have the code to send it over the network, but I need to know how to keep it in a buffer and not save it as a file.
View 1 RepliesDoes anybody know how to import a certain line from a text file into a label in vb 2008? I'm using the Imports System.IO property.I have a custom text file and i want to bring only a certain line from it back to my vb program. How do i code this?
View 1 RepliesI'm i've been looking around now for quite a while to find out how you would go about making an application that can stream media to a Xbox 360. So far i know that Vuze and PlayOn have successfully accomplished this and i have also found that you can view the streaming url in vuze to my media that is being streamed to my Xbox.
View 3 RepliesHow to capture a streaming video via .net and save it off to a file on the server? I have seen a few comercial applications (url...) that do it via a client app, but none of them had an API that I could interact with in .NET.
View 6 RepliesI have a Vb.Net app to make with desktop video streaming. have anyone a sample so i can learn how to do it?
TcoUpLoad (Vb6 and VbNet | starting learning C# and LINQ)
i am making a client server application in which the server desktop image is load in the client picbox... but i have problem when i do that my client application is halted no image is seene out here is the client and server code
Server Code:=
Private Sub button1_Click(sender As Object, e As EventArgs)
button1.Enabled = False
[code].....
I am attempting to figure out the best way to place values into an array using dynamic data that is continuously streaming in from a ComPort. I want the array to hold 5 values at a time, with the newest incoming data point taking the place of the oldest data point. Each set of values in the array will be used in finding a trendline, which is then used in a later portion of the code.
View 1 Repliesi want some work with swf. the steps are: all these things i will do with desktop application
1) break the swf file in small parts and store in any database or put these parts on physical path but in that case all swf part should be encrypted so nobody run these files with click.
2) run that parts from memory ( any of these part is not run with mouse double click ) with vb.net application
i read delphi can do the streaming of swf. so can it possible with .net
I'm using VB 2005, and am hoping to have streaming video to my application with some sort of video analysis. Right now as a test, I have an axWindowsMediaPlayer control playing a video from a URL. I'm figuring I need to be able to detect the colors of the pixels in the video for simple analysis, but I haven't been able to do this yet. I've been able to view the pixel colors in every area of the screen except for the media player window (just shows up black, as if you were to make a screenshot of the media player video). Is this at all possible to do?
View 1 Replies