src/share/classes/javax/sound/sampled/ReverbType.java

Print this page


   1 /*
   2  * Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  60  * (MMA) has an Interactive Audio Special Interest Group (IASIG), which has a
  61  * 3-D Working Group that has defined a Level 2 Spec (I3DL2).  I3DL2
  62  * supports filtering of reverberation and
  63  * control of reverb density.  These properties are not included in the JavaSound 1.0
  64  * definition of a reverb control.  In such a case, the implementing system
  65  * should either extend the defined reverb control to include additional
  66  * parameters, or else interpret the system's additional capabilities in a way that fits
  67  * the model described here.
  68  * <p>
  69  * If implementing JavaSound on a I3DL2-compliant device:
  70  * <ul>
  71  * <li>Filtering is disabled (high-frequency attenuations are set to 0.0 dB)
  72  * <li>Density parameters are set to midway between minimum and maximum
  73  * </ul>
  74  * <p>
  75  * The following table shows what parameter values an implementation might use for a
  76  * representative set of reverberation settings.
  77  * <p>
  78  *
  79  * <b>Reverberation Types and Parameters</b>
  80  * <p>
  81  * <table border=1 cellpadding=5 summary="reverb types and params: decay time, late intensity, late delay, early intensity, and early delay">
  82  *
  83  * <tr>
  84  *  <th>Type</th>
  85  *  <th>Decay Time (ms)</th>
  86  *  <th>Late Intensity (dB)</th>
  87  *  <th>Late Delay (ms)</th>
  88  *  <th>Early Intensity (dB)</th>
  89  *  <th>Early Delay(ms)</th>
  90  * </tr>
  91  *
  92  * <tr>
  93  *  <td>Cavern</td>
  94  *  <td>2250</td>
  95  *  <td>-2.0</td>
  96  *  <td>41.3</td>
  97  *  <td>-1.4</td>
  98  *  <td>10.3</td>
  99  * </tr>
 100  *


   1 /*
   2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  60  * (MMA) has an Interactive Audio Special Interest Group (IASIG), which has a
  61  * 3-D Working Group that has defined a Level 2 Spec (I3DL2).  I3DL2
  62  * supports filtering of reverberation and
  63  * control of reverb density.  These properties are not included in the JavaSound 1.0
  64  * definition of a reverb control.  In such a case, the implementing system
  65  * should either extend the defined reverb control to include additional
  66  * parameters, or else interpret the system's additional capabilities in a way that fits
  67  * the model described here.
  68  * <p>
  69  * If implementing JavaSound on a I3DL2-compliant device:
  70  * <ul>
  71  * <li>Filtering is disabled (high-frequency attenuations are set to 0.0 dB)
  72  * <li>Density parameters are set to midway between minimum and maximum
  73  * </ul>
  74  * <p>
  75  * The following table shows what parameter values an implementation might use for a
  76  * representative set of reverberation settings.
  77  * <p>
  78  *
  79  * <b>Reverberation Types and Parameters</b>
  80  *
  81  * <table border=1 cellpadding=5 summary="reverb types and params: decay time, late intensity, late delay, early intensity, and early delay">
  82  *
  83  * <tr>
  84  *  <th>Type</th>
  85  *  <th>Decay Time (ms)</th>
  86  *  <th>Late Intensity (dB)</th>
  87  *  <th>Late Delay (ms)</th>
  88  *  <th>Early Intensity (dB)</th>
  89  *  <th>Early Delay(ms)</th>
  90  * </tr>
  91  *
  92  * <tr>
  93  *  <td>Cavern</td>
  94  *  <td>2250</td>
  95  *  <td>-2.0</td>
  96  *  <td>41.3</td>
  97  *  <td>-1.4</td>
  98  *  <td>10.3</td>
  99  * </tr>
 100  *