I am working on an ASP.NET Web application and I want it to have audio playback functionality. I can do is using directories. For example, using the ASP.NET Audio control like :- , is pretty easy and straight-forward and works accordingly. But, the trouble comes when I'm using a database and the control. I am totally new to data binding in ASP.NET. I don't like using JavaScript, but i am comfortable using it, but I would prefer C# solution (I know beggars can't be choosers).
I have a database containing only one table called tblAudio. This table has two fields only for the title of the audio file (type NVARCHAR(MAX)) and the field for the actual audio (type VAR BINARY(MAX)). I'm using Visual Studio 2010 Professional with SQL Server Express Edition. The table has a single record with the relevant data in their fields.
I have an audio gallery in which i want to give play option to user. I find embed code of html but it just play a file in background i want to give user a control to play or stop as it is available in mediaplayer or any other player. How can i do this?
I want to embed video/audio files using Object tag, the above code works fine in IE with controller but in firefox it plays the video but controller doesn't shop up?
does any one have html code snippet which works in all browsers for all audio/ video mime types?
I already have my audio file in database (which is in varbinary(max) data type) and I could retrieve said music as byte(). But the problem is I don't know how to play it..
is there any way to convert all type of audio files into MP3 format. in my website... i have one control which plays MP3 files[audio]. but i have to provide facility to upload any kind of audio file[as i am developing audio gallary] and play it in my website..
if there is better solution to upload and play audio files in the website developed using asp.net 3.5.
Trying to find code to basically stream audio and visual streams over a network can't find proper examples to firmly get a good understanding of how best to approach the development. I've looked at direct sound and Direct X examples but nothing has been concrete enough. Trying to basically create a web page in C# that will be able to stream audio and visual to users.
I want make a demo project in which i want to implement audio sound recoder in asp.net through which user can record there voice and save it.Next time user can able to play it.Is any API use for it or not?.
Developing site that have requirment to play/stop the wav files. What options I have to fulfill these requirment.
One option would be to useHTML <object> tag but i think i can't access this in the C# as we can do for the other server side controls and in this case i need to handle everything in Java Script.
I also think embedding media player is not a good option in this way clients need to install the media player or plugin in case of firefox.
So do I have any option in which i can handle the player through C# class and play with it.
This player should be able to play the wav files and should be supported by the firefox and internet explorer.
Is there anyway that I can record sound from a microphone using c# .net
What is the best option if i have to save the audio online in terms of the file occupying storage space. Any particular format that the file should be saved in for optimum output.
I am trying to get this to work for quite some time now. I have an asp.net page in which I am trying to play a wav file. The code in the page load event is as follows:
Response.Clear() Response.ContentType = "audio/wav" Response.AppendHeader("Content-Disposition", "inline;filename=" + "temp.wav") Dim filePath As String = Server.MapPath("/temp.wav") If Not String.IsNullOrEmpty(filePath) Then 'Here I am converting the file to a byte array,as eventually I'll be creating the wav files on the fly Dim fileBytes As Byte() = GetFileBytes(filePath) Response.BinaryWrite(fileBytes) Response.Flush() End If
The problem I am having is every time I run this page, the windows media player opens up. I would like the audio to be played using some inbuilt plugin in the browser. Something like, when you click on a voice icon, how the sound pops up without opening any player.
If I have the same content in an ashx handler, would it be better?
I could not use the embed tag because, I shall not be having a physical file on the server, it would be generated on the fly using a response stream.
i need to embedd a video player on web form, that will be able to play almost every ormost of the known video/audio formats....(mpeg, flv, avi, 3gpp, wmv, wma)..i need only a single player.....to be embedded....and it shuld not use the pc's local players..
I need to develop a chat system in ASP.Net. I have gone through lots of SO question asked on similar topic, but did'nt find any one satisfactory. Is it possible to create it from scratch or do i need to go for some API's. My requirement is limited to my site users only, can say intranet based.