📄 audioengine3dl2.html
字号:
<A NAME="setReflectionDelay(float)"><!-- --></A><H3>setReflectionDelay</H3><PRE>public void <B>setReflectionDelay</B>(float reflectionDelay)</PRE><DL><DD>Sets the early reflection delay time. In this form, the parameter specifies the delay time between each order of reflection (while reverberation is being rendered) explicitly given in milliseconds.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setReflectionDelay(float)">setReflectionDelay</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>reflectionDelay</CODE> - time between each order of early reflection<DT><B>See Also:</B><DD><A HREF="../../../../javax/media/j3d/AuralAttributes.html#setReflectionDelay(float)"><CODE>AuralAttributes.setReflectionDelay(float)</CODE></A></DL></DD></DL><HR><A NAME="setDecayTime(float)"><!-- --></A><H3>setDecayTime</H3><PRE>public void <B>setDecayTime</B>(float time)</PRE><DL><DD>Set reverb decay time. Defines the reverberation decay curve.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setDecayTime(float)">setDecayTime</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - decay time in milliseconds<DT><B>See Also:</B><DD><A HREF="../../../../javax/media/j3d/AuralAttributes.html#setDecayTime(float)"><CODE>AuralAttributes.setDecayTime(float)</CODE></A></DL></DD></DL><HR><A NAME="setDecayFilter(float)"><!-- --></A><H3>setDecayFilter</H3><PRE>public void <B>setDecayFilter</B>(float frequencyCutoff)</PRE><DL><DD>Set reverb decay filter. This provides for frequencies above the given cutoff frequency to be attenuated during reverb decay at a different rate than frequencies below this value. Thus, defining a different reverb decay curve for frequencies above the cutoff value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setDecayFilter(float)">setDecayFilter</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>frequencyCutoff</CODE> - value of frequencies in Hertz above which a low-pass filter is applied.<DT><B>See Also:</B><DD><A HREF="../../../../javax/media/j3d/AuralAttributes.html#setDecayFilter(float)"><CODE>AuralAttributes.setDecayFilter(float)</CODE></A></DL></DD></DL><HR><A NAME="setDiffusion(float)"><!-- --></A><H3>setDiffusion</H3><PRE>public void <B>setDiffusion</B>(float diffusion)</PRE><DL><DD>Set reverb diffusion. This defines the echo dispersement (also referred to as 'echo density'). The value of this reverb parameter is expressed as a percent of the audio device's minimum-to-maximum values.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setDiffusion(float)">setDiffusion</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>diffusion</CODE> - percentage expressed within the range of 0.0 and 1.0<DT><B>See Also:</B><DD><A HREF="../../../../javax/media/j3d/AuralAttributes.html#setDiffusion(float)"><CODE>AuralAttributes.setDiffusion(float)</CODE></A></DL></DD></DL><HR><A NAME="setDensity(float)"><!-- --></A><H3>setDensity</H3><PRE>public void <B>setDensity</B>(float density)</PRE><DL><DD>Set reverb density. This defines the modal density (also referred to as 'spectral coloration'). The value of this parameter is expressed as a percent of the audio device's minimum-to-maximum values for this reverb parameter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setDensity(float)">setDensity</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>density</CODE> - reverb density expressed as a percentage, within the range of 0.0 and 1.0<DT><B>See Also:</B><DD><A HREF="../../../../javax/media/j3d/AuralAttributes.html#setDensity(float)"><CODE>AuralAttributes.setDensity(float)</CODE></A></DL></DD></DL><HR><A NAME="setObstructionGain(int, float)"><!-- --></A><H3>setObstructionGain</H3><PRE>public void <B>setObstructionGain</B>(int index, float scaleFactor)</PRE><DL><DD>Set the obstruction gain control. This method allows for attenuating sound waves traveling between the sound source and the listener obstructed by objects. Direct sound signals/waves for obstructed sound source are attenuated but not indirect (reflected) waves. There is no corresponding Core AuralAttributes method at this time.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setObstructionGain(int, float)">setObstructionGain</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference to device driver sample<DD><CODE>scaleFactor</CODE> - non-negative factor applied to direct sound gain</DL></DD></DL><HR><A NAME="setObstructionFilter(int, float)"><!-- --></A><H3>setObstructionFilter</H3><PRE>public void <B>setObstructionFilter</B>(int index, float frequencyCutoff)</PRE><DL><DD>Set the obstruction filter control. This provides for frequencies above the given cutoff frequency to be attenuated, during while the gain of an obstruction signal is being calculated, at a different rate than frequencies below this value. There is no corresponding Core AuralAttributes method at this time.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setObstructionFilter(int, float)">setObstructionFilter</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference to device driver sample<DD><CODE>frequencyCutoff</CODE> - value of frequencies in Hertz above which a low-pass filter is applied.</DL></DD></DL><HR><A NAME="setOcclusionGain(int, float)"><!-- --></A><H3>setOcclusionGain</H3><PRE>public void <B>setOcclusionGain</B>(int index, float scaleFactor)</PRE><DL><DD>Set the occlusion gain control. This method allows for attenuating sound waves traveling between the sound source and the listener occluded by objects. Both direct and indirect sound signals/waves for occluded sound sources are attenuated. There is no corresponding Core AuralAttributes method at this time.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setOcclusionGain(int, float)">setOcclusionGain</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference to device driver sample<DD><CODE>scaleFactor</CODE> - non-negative factor applied to direct sound gain</DL></DD></DL><HR><A NAME="setOcclusionFilter(int, float)"><!-- --></A><H3>setOcclusionFilter</H3><PRE>public void <B>setOcclusionFilter</B>(int index, float frequencyCutoff)</PRE><DL><DD>Set the occlusion filter control. This provides for frequencies above the given cutoff frequency to be attenuated, during while the gain of an occluded signal is being calculated, at a different rate than frequencies below this value. There is no corresponding Core AuralAttributes method at this time.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html#setOcclusionFilter(int, float)">setOcclusionFilter</A></CODE> in interface <CODE><A HREF="../../../../javax/media/j3d/AudioDevice3DL2.html" title="interface in javax.media.j3d">AudioDevice3DL2</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - device specific reference to device driver sample<DD><CODE>frequencyCutoff</CODE> - value of frequencies in Hertz above which a low-pass filter is applied.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/sun/j3d/audioengines/AudioEngine3D.html" title="class in com.sun.j3d.audioengines"><B>PREV CLASS</B></A> <A HREF="../../../../com/sun/j3d/audioengines/AudioEngineThread.html" title="class in com.sun.j3d.audioengines"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/sun/j3d/audioengines/AudioEngine3DL2.html" target="_top"><B>FRAMES</B></A> <A HREF="AudioEngine3DL2.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.sun.j3d.audioengines.AudioEngine3D">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1">Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../../../../LICENSE-SPEC.html">license terms</a>.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -