[Freeswitch-users] implementing stereo (e.g. portaudio to test it easily)
Anthony Minessale
anthony.minessale at gmail.com
Fri Feb 25 19:30:46 MSK 2011
Doing stereo codecs and playing stereo files are not the same.
The main reason we do not have stereo completely implemented is there
was not really any codec or devices that could handle it to bother
testing with.
We do record stereo files but as for playing them, there was not any
real motivation since there was very little you can do with it talking
to a mono sip phone.
Its probably possible to make playing files to portaudio work but you
would have to unblock the code that mixes it to mono and add support
also to portaudio to understand the difference in the streams.
If you want to do it yourself, like I believe I told you the first
time, use FreeSWITCH and VoIP the way it already works for a long time
until you completely understand the arena you are in before you try to
add a new side entrance.
On Fri, Feb 25, 2011 at 9:53 AM, Steven Ayre <steveayre at gmail.com> wrote:
>> SWITCH_FILE_FLAG_READ: I'm not sure what this does. It's somewhere else in
>> the code.
>
> It specifies that the file is being opened for reading
> (SWITCH_FILE_FLAG_READ) rather than writing (SWITCH_FILE_FLAG_WRITE).
> They actually wrap similar values in the APR library.
>
> -Steve
>
>
>
> On 25 February 2011 15:09, MatzeMuc86 <matzemuc86 at gmail.com> wrote:
>> SWITCH_FILE_FLAG_READ: I'm not sure what this does. It's somewhere else in
>> the code.
>>
>> My idea: A conference room for regular sip clients but also special user
>> clients which can receive stereo. Stereo is needed as those clients will get
>> a special HRTF sound: different people are placed on different 3D positions
>> in the room and you can hear them. This is NOT regular stereo sound but real
>> 3D sound. Why is this better: Mixing all together to one mono channel, it is
>> very difficult to distinguish between different people.
>> Interesting links:
>> http://en.wikipedia.org/wiki/Head-related_transfer_function and
>> http://en.wikipedia.org/wiki/Cocktail_party_effect.
>> There have been several tests (and there is literature as well) that proofs
>> that it is much easier to follow conversations which use 3D sound like HRTF.
>> And I want to do this not by some proprietary software like it is done by
>> with Mumble by J. Feldmayer but with SIP to be able to connect also regular
>> SIP clients (and regular phones or whatever I want).
>>
>> -----Ursprüngliche Nachricht-----
>> Von: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von mazilo
>> Gesendet: Freitag, 25. Februar 2011 15:13
>> An: freeswitch-users at lists.freeswitch.org
>> Betreff: Re: [Freeswitch-users] implementing stereo (e.g. portaudio to test
>> it easily)
>>
>>
>>
>> MatzeMuc86 wrote:
>>> I checked the code and found some positions where fh->channels have to
>>> be
>>> > 1.
>> This also depends on when the flags is set to SWITCH_FILE_FLAG_READ, right?
>>
>> BTW, I am just curious what kind of application will you be making that
>> requires a stereo. Do you care to tell us? Perhaps, once the readers
>> understand what your application is, there may be some interests.
>>
>>
>> -----
>> FreeSWITCH hosted on a Seagate DockStar with OpenWRT.
>> --
>> View this message in context:
>> http://freeswitch-users.2379917.n2.nabble.com/implementing-stereo-e-g-portau
>> dio-to-test-it-easily-tp6061596p6064582.html
>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
More information about the FreeSWITCH-users
mailing list