473,748 Members | 6,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Grab Audio from audio port

Hi all,
how I can grab audio output stream?
For example with my app I open Media Player and play a song, I want to
show a graph on THIS (media player) output (I don't want to play any
file).
I'm pretty sure that I've to invoke W32 Api, right?
Help me please!

cheers

Blu_Ciccio

Oct 15 '06 #1
3 2268
You can download the Windows Media SDK, which includes sample code for
Visualizations. This is a C++ project that shows you how to sample the
waveform from a playing Windows Media Player stream.
Peter

Oct 15 '06 #2
You can download the Windows Media SDK, which includes sample code for
Visualizations. This is a C++ project that shows you how to sample the
waveform from a playing Windows Media Player stream.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Blu_Ciccio " wrote:
Hi all,
how I can grab audio output stream?
For example with my app I open Media Player and play a song, I want to
show a graph on THIS (media player) output (I don't want to play any
file).
I'm pretty sure that I've to invoke W32 Api, right?
Help me please!

cheers

Blu_Ciccio

Oct 15 '06 #3
You can download the Windows Media SDK, which includes sample code for
Visualizations. This is a C++ project that shows you how to sample the
waveform from a playing Windows Media Player stream.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Blu_Ciccio " wrote:
Hi all,
how I can grab audio output stream?
For example with my app I open Media Player and play a song, I want to
show a graph on THIS (media player) output (I don't want to play any
file).
I'm pretty sure that I've to invoke W32 Api, right?
Help me please!

cheers

Blu_Ciccio

Oct 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
5545
by: Sugapablo | last post by:
I had an idea for something that I can't find any evidence if it exists, or if it can be done. I assume it can be done. What I'd like to be able to do, is to allow people who come to my website, click a button on the page to begin submitting an audio stream to the server. Basically, once the "record" button was hit by the client, an audio stream would be generated by the client's microphone and would be sent over port 80 (just like...
1
10399
by: Ashish | last post by:
I wanted to make a Java application which would dial a telephone number using the modem. When the person on the other end lifts up the telephone (answers the phone), the application should start playing an audio file(eg. .wav file). The approach I took was using the Java Communications API(javax.comm.). As my modem is connected to the serial port on my computer I send AT commands to make the phone call (ATDT2222222). This is working...
18
9873
by: Brad Tilley | last post by:
Instead of me arbitrarily assigning a high port number to a variable, is it possible to check for ports that are unused and then randomly assign one of them to a variable? Something like this is what I'm thinking: port = socket.getunusedport() Any ideas?
2
9649
by: K.H. | last post by:
Hi Does anyone know how I can grab a video stream from an IP-address? There's a video web server for live image transmission in the Internet. Data transfer is accomplished via TCP/IP. The web cam that I am using is integrated into a network with fixed IP address. The streaming software is already there, so I have to go to this IP-address to see the live video stream. How can I grab this video stream from an IP-address with an application...
3
1697
by: Mizu | last post by:
Hi, I have a problem,I would like make a audio streamer for a web, but I don't know,whitsh namespaces should I use.Also I need make web service,web aplication or desktop aplication. When somebody send from a website request to listen some MP3, it has to stream this MP3 and send it to webaplication and winamp or windows media player via special port or domain.Can somebody help me,how can I build it?I work with .NET only 1-2 years,but only...
6
5644
by: Nuno Magalhaes | last post by:
Is there any way to encode a byte stream of audio data into GSM or other codec data, and the decode also? I searched all over the Internet and didn't find any valid solution applying to C#. I'm using waveIn and waveOut (from winmm.dll) but I would like to avoid messing with that low level stuff. I would prefer applying an encoder/decoder directly to the byte stream. Is it possible? How can I do it?
1
3514
by: Karthik | last post by:
Hi, I have been using GDI+ and Windows Media SDK to get the metadata information for image and audio files respectively. Just incase if someone is not clear as to what I mean by metadata information, its the information regarding the image or audio files like., height and width for the image.,. Title, artist, author etc for the audio files.
3
2833
by: pankhudi | last post by:
I have written the code(in short) as below on the server side and client side import sun.audio.*; import java.io.*; import java.net.*; class Server2 {
0
1288
by: venkateshKareti | last post by:
i want to read input from "mic in" (i.e audio in)using c language. please help me how to code it!! also how the audio recording soft wares work?how they are coded? can i use "inp();" function there? but how to get the id of that mic in port?
0
8989
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9243
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.