java.lang.Objectjavax.sound.sampled.ReverbType
public class ReverbType
The ReverbType class provides methods for
accessing various reverberation settings to be applied to
an audio signal.
Reverberation simulates the reflection of sound off of the walls, ceiling, and floor of a room. Depending on the size of the room, and how absorbent or reflective the materials in the room's surfaces are, the sound might bounce around for a long time before dying away.
The reverberation parameters provided by ReverbType consist
of the delay time and intensity of early reflections, the delay time and
intensity of late reflections, and an overall decay time.
Early reflections are the initial individual low-order reflections of the
direct signal off the surfaces in the room.
The late Relections are the dense, high-order reflections that characterize
the room's reverberation.
The delay times for the start of these two reflection types give the listener
a sense of the overall size and complexity of the room's shape and contents.
The larger the room, the longer the reflection delay times.
The early and late reflections' intensities define the gain (in decibels) of the reflected
signals as compared to the direct signal. These intensities give the
listener an impression of the absorptive nature of the surfaces and objects
in the room.
The decay time defines how long the reverberation takes to exponentially
decay until it is no longer perceptible ("effective zero").
The larger and less absorbent the surfaces, the longer the decay time.
The set of parameters defined here may not include all aspects of reverberation as specified by some systems. For example, the Midi Manufacturer's Association (MMA) has an Interactive Audio Special Interest Group (IASIG), which has a 3-D Working Group that has defined a Level 2 Spec (I3DL2). I3DL2 supports filtering of reverberation and control of reverb density. These properties are not included in the JavaSound 1.0 definition of a reverb control. In such a case, the implementing system should either extend the defined reverb control to include additional parameters, or else interpret the system's additional capabilities in a way that fits the model described here.
If implementing JavaSound on a I3DL2-compliant device:
The following table shows what parameter values an implementation might use for a representative set of reverberation settings.
Reverberation Types and Parameters
| Type | Decay Time (ms) | Late Intensity (dB) | Late Delay (ms) | Early Intensity (dB) | Early Delay(ms) |
|---|---|---|---|---|---|
| Cavern | 2250 | -2.0 | 41.3 | -1.4 | 10.3 |
| Dungeon | 1600 | -1.0 | 10.3 | -0.7 | 2.6 |
| Garage | 900 | -6.0 | 14.7 | -4.0 | 3.9 |
| Acoustic Lab | 280 | -3.0 | 8.0 | -2.0 | 2.0 |
| Closet | 150 | -10.0 | 2.5 | -7.0 | 0.6 |
| Constructor Summary | |
|---|---|
protected |
ReverbType(String name,
int earlyReflectionDelay,
float earlyReflectionIntensity,
int lateReflectionDelay,
float lateReflectionIntensity,
int decayTime)
Constructs a new reverb type that has the specified reverberation parameter values. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether the specified object is equal to this reverb type, returning true if the objects are identical. |
int |
getDecayTime()
Obtains the decay time, which is the amount of time over which the late reflections attenuate to effective zero. |
int |
getEarlyReflectionDelay()
Returns the early reflection delay time in microseconds. |
float |
getEarlyReflectionIntensity()
Returns the early reflection intensity in decibels. |
int |
getLateReflectionDelay()
Returns the late reflection delay time in microseconds. |
float |
getLateReflectionIntensity()
Returns the late reflection intensity in decibels. |
String |
getName()
Obtains the name of this reverb type. |
int |
hashCode()
Finalizes the hashcode method. |
String |
toString()
Provides a String representation of the reverb type,
including its name and its parameter settings. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ReverbType(String name, int earlyReflectionDelay, float earlyReflectionIntensity, int lateReflectionDelay, float lateReflectionIntensity, int decayTime)
name - the name of the new reverb type, or a zero-length StringearlyReflectionDelay - the new type's early reflection delay time in microsecondsearlyReflectionIntensity - the new type's early reflection intensity in dBlateReflectionDelay - the new type's late reflection delay time in microsecondslateReflectionIntensity - the new type's late reflection intensity in dBdecayTime - the new type's decay time in microseconds| Method Detail |
|---|
public String getName()
public final int getEarlyReflectionDelay()
public final float getEarlyReflectionIntensity()
public final int getLateReflectionDelay()
public final float getLateReflectionIntensity()
public final int getDecayTime()
public final boolean equals(Object obj)
true if the objects are identical.
obj - the reference object with which to compare
true if this reverb type is the same as
obj; false otherwiseObject.hashCode(),
Hashtablepublic final int hashCode()
Object.equals(java.lang.Object),
Hashtablepublic final String toString()
String representation of the reverb type,
including its name and its parameter settings.
The exact contents of the string may vary between implementations of
Java Sound.
Ces informations proviennent du site de http://java.sun.com
Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :
Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.
Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.
Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.
Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.
Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.
Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.
7 mots clés dont 0 définis manuellement (plus d'information...).
Avertissement
Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.
Recherche (afficher)
Utilisateur (masquer)
Navigation (masquer)
Apparence (afficher)
Stats (afficher)
Citation (masquer)