Capturing mobile device system (output) audio [closed]

I’m trying to figure out a way to capture the system audio of an Android and/or Windows Phone. The idea is to provide a stream based on the music I’m currently playing on my phone.

What I’m not sure about is what the best approach would be for sending the audio. Preferably I’d like to capture all the device audio (same as when connected to a bluetooth device). But I’m not sure whether this is possible with Android or Windows Phone.

For Android I found this article http://xzpeter.org/?p=254, he states this is’nt possible without making your own Android build. Which isn’t an option for me.

For Windows Phone I can only find ways to capture audio from the mic. Not directly from the system.

The only alternative I can come up with is to let the app provide all the audio, meaning I would have to build all the basic mediaplayer functionality into the app. But this would mean I have to put much more work into the app, and I wouldn’t be able to use other apps like Winamp and YouTube to provide audio.

Did I maybe overlook a way to capture all the audio of the device? Or maybe there’s a way to capture audio from specific applications?

Edit

After doing some more research, I really doubt I can capture all system audio. Or maybe it’s possible to simulate an bluetooth audio device?

For the Windows Phone I was going for the alternative solution: selecting songs which would then be streamed to the server. But it seems that for Windows Phone it’s not even possible to get physical access to the songs: https://stackoverflow.com/questions/16251400/stream-a-xna-framework-media-song-to-a-server

Here is a potential partial solution, though not really a programming solution.

Assuming the goal is specifically to have the audio of a music file from your mobile device play on another device, for example, a PC or server, you might try the OnAir player, which has apps for mobile devices, some televisions, and Mac/Linux/Windows computers.

If you have further processing to do with the audio, you an probably set up your computer to capture the audio and redirect it.

You don’t state your final goal for the audio or what kind of server you are using for streaming, but here’s a theoretical example setup:

I could run the app on my Android phone, streaming to my Linux PC. Pulse Audio (default on Ubuntu Linux) allows output capture, so I could write a program to receive the audio and redirect it to the input of a streaming program.

This would only cover the music you are playing from OnAir of course; none of the other sounds would come through (such as SMS and email notifications or the phone ringing).

Also note (as my second link points out): be careful with copyright restrictions on the audio. If you don’t own the content and are streaming to other people you can get into trouble.

References:

onAir: http://www.onairplayer.com/onair.html

Capturing audio in Linux: http://manual.audacityteam.org/o/man/tutorial_recording_computer_playback_on_linux.html


  • Use your telephone to listen to what’s happening on your PC.

I think that you are going to play music from phone to pc.If so here is an android app that captures all your media sound and streams it to your connected pc with windows operating system running check this website

  • Sound Wire

    : http://soundwire-server.en.uptodown.com/

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật