Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Listen music on a call - Amixer

    Reply
    Page 1 of 2 | 1   2   | Next
    lauksas | # 1 | 2011-03-21, 23:37 | Report

    hi all,
    I wanted to know if anyone can answer this...
    taking this scenario:
    I'm in a call on the n900, and I want to show a music or any sound provided from the music player for me and the person that I'm calling.
    Like we hear the same podcast, or show any track that I did.
    Can I do this with the amixer command? Or with another command/program?

    Thanks for the post

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lauksas For This Useful Post:
    lolloo

     
    lauksas | # 2 | 2011-03-25, 19:57 | Report

    I was wondering if anyone could help me...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lauksas For This Useful Post:
    lolloo

     
    wumpwoast | # 3 | 2011-03-25, 20:31 | Report

    I like your idea, playing music through the phone to your caller while talking to them.

    amixer is for changing volume levels and mixer settings in ALSA. I'm not sure it controls audio routing, particularly when all desktop audio is managed with PulseAudio. Without an Open Source phone application, I doubt you'll be able to pipe more than the basic MIC stream of audio into a phone call.

    My best suggestion would be to use a mixer or mixer-cable with two inputs and a single output. You could pipe an external microphone and a music source into the N900's mono MIC port and get the same effect.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lauksas | # 4 | 2011-03-25, 22:21 | Report

    Yes, I agree with you about the difficulty to do it, but yet, I remember that I once downloaded an application called qRadio on extras-devel that had this bug:
    When I was lessening radio with this application and someone called me I was unable to hear anything, and the other person that called could hear the FM radio sound music...
    So at least there is on way to route the sound to the call...
    If is possible to do it, it can be possible to route the sound and still hear the another person... right?
    I'm a noob in linux so if I'm supposing anything ridiculous... just say it

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lauksas For This Useful Post:
    leetnoob

     
    AgentZ | # 5 | 2011-03-25, 23:12 | Report

    Years ago there was an Symbian that let you add sound efffects to calls with the ability to adjust volume to said effect. I loved that app, two of my favourite effects was a crazed Pitbull going off and an early 80's porn chick. When someone I didn't want to talk to called I would play the pitbull effect and tell them I had to go it worked every time. The porn one use your imagination

    I can't do it but I know it could/should be able to be done.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lauksas | # 6 | 2011-03-25, 23:14 | Report

    Thanks AgentZ, perraps some angel hear us here and help us to find a way to do it

    Edit | Forward | Quote | Quick Reply | Thanks

     
    wumpwoast | # 7 | 2011-03-25, 23:19 | Report

    The whole purpose of PulseAudio is to manage multiple audio sources and sinks, so YES the idea is certainly possible (and the QRadio bug proves it!).

    A good "switchboard" for PulseAudio would allow all kinds of unique functions, and in conjunction with a solid dialing API you could do automated calls with generated audio streams. There are other Linux audio frameworks, such as JACK (Open Source Low-Latency Audio), that have exactly this sort of functionality (qjackctl).

    Until such a switchboard exists, I'd recommend looking at Maemo's PulseAudio config files in /etc/pulse and carefully experimenting.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to wumpwoast For This Useful Post:
    lauksas

     
    Aranel | # 8 | 2011-03-25, 23:26 | Report

    I thought about that one some time ago but couldn't figure it out:

    http://stackoverflow.com/questions/4...ing-pulseaudio

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lauksas | # 9 | 2011-03-26, 00:07 | Report

    Nice wumpwoast, but as i sad before, i'm a noob in linux.. so... can't do the test :/ but anyway, I'll research for it...
    thanks again

    Edit | Forward | Quote | Quick Reply | Thanks

     
    AgentZ | # 10 | 2011-03-26, 00:28 | Report

    Originally Posted by Aranel View Post
    I thought about that one some time ago but couldn't figure it out:

    http://stackoverflow.com/questions/4...ing-pulseaudio
    Great start Aranel, but what would truly like is to be able to have certan sound effects ie. dog barking, traffic noise piped into the background with me contrlolling the volume so I could still hear the caller.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout