Hi Mickael,

I wll investigate the specification for Java 3D 1.2.x and see what is available to me.

Thanks again for the informations, I will let u know what s going on. ;-)

Cheers,

Mustapha.

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Michael Pfeiffer
Sent: Monday, January 05, 2004 12:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Please Help: Spatial Audio with Java3D API!


Hi,

if you need the raw audiodata for every channel I think you have to use a
custom audio device. I'm not familar with that but it is possible to write
own audio devices for J3D. The specification for Java 3D 1.2.x contains
detailled information about how to do that (more than the JavaDocs from
1.3.x ;-)

Michael

On Mon, 5 Jan 2004 11:50:23 -0000, Mous Mahiaoui
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> Thank you so much Michael for your comments.
>
> Actually what I need to do is to duplicate a sound stream in 2 audio
> streams, and then apply a specific digital filter to each of them. Then
> one audio stream will be  sent to the left ear of the headphones and the
> other one to the right ear. The audio spatialization effect is done by
> the filters, each filter having particular coefficients. Clearly I need
> to provide binaural audio from my application that is using the Java
> Media Framework API.
>
> Is that more clear to you Mickael?
>
> Cheers. :)
>
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED] Behalf Of Michael Pfeiffer
> Sent: Monday, January 05, 2004 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Please Help: Spatial Audio with Java3D API!
>
>
> Hi,
>
> I'm not sure what you mean with "spatial" - a real 3D-sound which not
> only
> comes from left and right but also from front and back or a "simple"
> stereosound. The second one can be realized easy. When you attach
> Sound-Nodes to other objects or to several positions within your scene
> and
> move and rotate between them, Java 3D does everything for you. You only
> have to initialize the AudioDevice e.g. with
>
> AudioDevice auDev=simpleUniverse.createAudioDevice();
> auDev.setAudioPlaybackType(AudioDevice.HEADPHONES);
>
> and then add Pointsound- and Conesound-objects in the same way as you'd
> do
> it with other Nodes.
>
> For real spatial sound effects with headphones I afraid you have to go
> deeper inside and write your own audio device which calculates some kind
> of virtual surround out of the three-dimensional positions of the sound
> sources. But that would be an really advanced algorithm.
>
> Michael
>
> On Mon, 5 Jan 2004 11:14:06 -0000, Mustapha Mahiaoui
> <[EMAIL PROTECTED]> wrote:
>
>> Hi everybody,
>>
>> I wish you first a very happy new year. :)
>>
>> I am very keen to provide spatial audio with the headphones of my
>> computer.
>>
>> Does anyone know how to control the left and right audio channels of the
>> headphones with the help of the Java 3D API?  Examples?
>>
>> Cheers. :)
>>
>> ===========================================================================
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>> body
>> of the message "signoff JAVA3D-INTEREST".  For general help, send email
>> to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
>
> --
> http://java3d.virtualworlds.de
> http://www.3dchat.org - Welcome to the unreal world!
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email
> to
> [EMAIL PROTECTED] and include in the body of the message "help".



--
http://java3d.virtualworlds.de
http://www.3dchat.org - Welcome to the unreal world!

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to