[Freeswitch-users] implementing stereo (e.g. portaudio to test it easily)

Steven Ayre steveayre at gmail.com
Fri Feb 25 18:53:05 MSK 2011


> 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
>



More information about the FreeSWITCH-users mailing list