Accomplish MMS Audio Streaming With Program?
Aug 10, 2009Is 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?
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?
How 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.
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.
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]............................
I'm trying to implement for the first time a library. With the event sub "client_TickPrice" I want to update a textbox. However nothing happens to my form when the "UpdateLast" sub is called from there.? The code was originally inside a Module (not a class like now), and set up as a console application. Probably there is a problem with the way I wrap my code, i.e. use of classes etc. This program is supposed to receive realtime stock/futures price data. Is it still a good way to start this code with the form, or should I make some type of console application?
Public Class Form1
Dim prog As New Program
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
prog.Main()
[Code] .....
i have a program that records audio using MCI, it works great, except i erase the previous made file every time i record a new one, because i didnt use a "SaveFileDialog".
[Code]...
I'd like to make a program, what records audio, not sound
View 5 RepliesI am trying to accomplish an Aero Wizard in VB.Net, shown here: Features in need include: Extended glass frameGlowing textRemoving original caption bar title and iconBack button
View 2 RepliesI have made an application which involves the .NET Chart control by Microsoft. My difficulty here is that I'm targeting my applications for lower specs computers, i.e. with fresh installed Windows XP and with .NET Framework 2.0 installed on them. Whereas the Chart control requires .NET 3.5 to be installed on the system.
I was thinking, is it possible that I make my app that runs on the system which has .NET 2.0 on it, and in the part where my app shows the Chart, it simply shows a message that "please install .NET 3.5 in order to view the trend charts". And when the user installs the .NET 3.5, my app detects it and enables the chart control.
Problem is that if I want my app to run on 2.0 framework, I have to set the target framework in compile options to 2.0. But that way I cannot put the Chart control on my WinForm because it requires at least 3.5 framework to be set in the compile options.If I set the 3.5 as target framework, then obviously it wont run on 2.0 system.
Can some kind of conditional coding be done that only runs if the system is equipped with 3.5 framework. I dont want to create two separate applications for 3.5 with chart, and 2.0 without chart.
In some of my TextBoxes and editable ComboBoxes, I want to make sure that the end-user can only type characters and whitespace but not to allow whitespace without characters existing too.
I have started to write a public sub and would like to know the best way of accomplishing this scenario check. This is what I have so far. Your ideas are welcome.
[Code]...
Get audio bitrate property in program?I have tried to use something like [code]...
View 1 Repliesim trying to let my program respond to some audio commands i have downloaded the sdk an added references
and my program detects voice but doesnt respond to the command
Imports SpeechLib
Imports System.Speech
Imports System.Environment
Imports System.Speech.Recognition
[Code]...
I have the following code:
Private Sub btnReserve_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnReserve.Click
Using dbContext As pbu_housingEntities = New pbu_housingEntities
[Code].....
executes it always get 0, because the row has not yet been created in the database. I can just move this last bit of code out into its own Context, but is there a better way to do this?
I 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?
I've been fighting for weeks now to make a simple music playback program. It would function much like Windows Media Player without the visualisations and playlists. I'm writing this on a Win7 box, but it needs to work on XP and newer.
I say fighting because I'm severely annoyed at how MS has worked some items and it's taken many days to go through everything only to find that it doesn't work.
I started by using WMP in VB Express 2010 and having it play my music. Simple, but not portable. I copied my .exe to a WinXP machine and it blew up. I copied it to a different Win7 machine and it doesn't run (I can double-slick all day, nothing happens,
no log entries, nothing....)
Then I find that there is an issue with the GUID of media player on different computers, and it'll most likely fail to run when you try to use it on other machines than the one the program was built on.
So I gave up on that.
I then figured I'd use DirectX. It's on XP and newer already, and is supposed to be backwards compatibile so if I build my app on Win7 it should still run on XP and such. I did that, and it works fine on the machine I built it with (again). My shuffle works,loop/repeat works, got my own version of a playlist and it all works. I copy that to another Win7 box and it doesn't run at all. It's setup as .NET 3 so I can be sure of compatibilty with WinXP.
For grins, I gutted all the code in my VB app involving calls to Directx and built that. It runs fine on other computers, including my XP test box. So I know the problem revolves around DirectX somehow.[code]...
What I'm trying to accomplish is for the user to select a menu item(New Tester) from the MainForm(only used for menu)to open the NewTesterForm and enter a rating from 1 to 10( 10 being the best) for two different drinks. When the user clicks the ok button on the NewTesterForm it adds the new rating to the totals. It keeps adding the rating totals until a user clicks the cancel button which returns to the MainForm. When the user clicks on the MainForm menu item Summary, The SummaryForm opens and displays:
-average rating for each drink which drink had a higher rating(the name of the drink)the total number of testers
[Code]...
I'm writing a program which plays audio using a windows media player control. It's quite basic but I'm running into a problem.
Soundplayer.Ctlcontrols.play()
Sleep(3000)
For some reason when this appears in my code, the sound doesn't start playing until AFTER the sleep. I have music running in the background, using another windows media player control, that continues playing just fine.
Basically, I want nothing else to happen for the duration of the sound, hence the sleep, so how can I make it so my sound starts playing BEFORE the sleep?
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.
the goal i want to accomplish is when the user presses a button, "moneyamount" increases by a random number generated. the problem i am having is that after the action is finished the script does not seem to save the new value and always starts at zero. here is the script:
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dojob1button.Click
Dim moneyamount As Integer = moneyamount + Int(Rnd() * 10)
moneylabel.Text = "$" & moneyamount
End Sub
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)