|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.phonon.VolumeFaderEffect.FadeCurve
public static final class VolumeFaderEffect.FadeCurve
Determines the curve of the volume change. Notes:
Fade3Decibel is often the best fade for a crossfade, as after half of the time the volume reached -3dB. This means that half the possible power (which is proportional to the square of the voltage) is reached. Summed, the maximum power of two audio signals fading with a -3dB curve will always be equal.
For fading in or out the -3dB curve is too abrupt in the end.
With a -6dB fade curve, a volume of -6dB is reached after half of the fading time. -6dB is equal to half of the voltage meaning that the voltage multiplier changes linearly from the start of the fade to the end.
With the Fade9Decibel fade, a volume of -9dB is reached after half of the fade time, so the fade is fast in the beginning and slow at the end. This is a good fade for ending music.
Field Summary | |
---|---|
static VolumeFaderEffect.FadeCurve |
Fade12Decibel
|
static VolumeFaderEffect.FadeCurve |
Fade3Decibel
|
static VolumeFaderEffect.FadeCurve |
Fade6Decibel
|
static VolumeFaderEffect.FadeCurve |
Fade9Decibel
|
Method Summary | |
---|---|
static VolumeFaderEffect.FadeCurve |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static VolumeFaderEffect.FadeCurve |
valueOf(java.lang.String name)
|
static VolumeFaderEffect.FadeCurve[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final VolumeFaderEffect.FadeCurve Fade3Decibel
public static final VolumeFaderEffect.FadeCurve Fade6Decibel
public static final VolumeFaderEffect.FadeCurve Fade9Decibel
public static final VolumeFaderEffect.FadeCurve Fade12Decibel
Method Detail |
---|
public static VolumeFaderEffect.FadeCurve[] values()
public static VolumeFaderEffect.FadeCurve valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static VolumeFaderEffect.FadeCurve resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |