Methods Summary |
---|
public void | accept(ID3Visitor oID3Visitor)
oID3Visitor.visitRVRBID3V2Frame(this);
|
public boolean | equals(java.lang.Object oOther)
if ((oOther == null) || (!(oOther instanceof RVRBID3V2Frame)))
{
return false;
}
RVRBID3V2Frame oOtherRVRB = (RVRBID3V2Frame)oOther;
return ((m_iReverbLeftMS == oOtherRVRB.m_iReverbLeftMS) &&
(m_iReverbRightMS == oOtherRVRB.m_iReverbRightMS) &&
(m_iReverbBouncesLeft == oOtherRVRB.m_iReverbBouncesLeft) &&
(m_iReverbBouncesRight == oOtherRVRB.m_iReverbBouncesRight) &&
(m_iReverbFeedbackLeftToLeft == oOtherRVRB.m_iReverbFeedbackLeftToLeft) &&
(m_iReverbFeedbackLeftToRight == oOtherRVRB.m_iReverbFeedbackLeftToRight) &&
(m_iReverbFeedbackRightToRight == oOtherRVRB.m_iReverbFeedbackRightToRight) &&
(m_iReverbFeedbackRightToLeft == oOtherRVRB.m_iReverbFeedbackRightToLeft) &&
(m_iPremixLeftToRight == oOtherRVRB.m_iPremixLeftToRight) &&
(m_iPremixRightToLeft == oOtherRVRB.m_iPremixRightToLeft));
|
protected byte[] | getFrameId()
return "RVRB".getBytes();
|
public int | getPremixLeftToRight()
return m_iPremixLeftToRight;
|
public int | getPremixRightToLeft()
return m_iPremixRightToLeft;
|
public int | getReverbBouncesLeft()
return m_iReverbBouncesLeft;
|
public int | getReverbBouncesRight()
return m_iReverbBouncesRight;
|
public int | getReverbFeedbackLeftToLeft()
return m_iReverbFeedbackLeftToLeft;
|
public int | getReverbFeedbackLeftToRight()
return m_iReverbFeedbackLeftToRight;
|
public int | getReverbFeedbackRightToLeft()
return m_iReverbFeedbackRightToLeft;
|
public int | getReverbFeedbackRightToRight()
return m_iReverbFeedbackRightToRight;
|
public int | getReverbLeftMS()
return m_iReverbLeftMS;
|
public int | getReverbRightMS()
return m_iReverbRightMS;
|
public void | setReverbDetails(int iReverbLeftMS, int iReverbRightMS, int iReverbBouncesLeft, int iReverbBouncesRight, int iReverbFeedbackLeftToLeft, int iReverbFeedbackLeftToRight, int iReverbFeedbackRightToRight, int iReverbFeedbackRightToLeft, int iPremixLeftToRight, int iPremixRightToLeft)Set the reverb details for this track.
if ((iReverbLeftMS < 0) || (iReverbLeftMS > 65535))
{
throw new ID3Exception("Reverb left milliseconds must be an unsigned 16-bit value in RVRB frame.");
}
m_iReverbLeftMS = iReverbLeftMS;
if ((iReverbRightMS < 0) || (iReverbRightMS > 65535))
{
throw new ID3Exception("Reverb right milliseconds must be an unsigned 16-bit value in RVRB frame.");
}
m_iReverbRightMS = iReverbRightMS;
if ((iReverbBouncesLeft < 0) || (iReverbBouncesLeft > 255))
{
throw new ID3Exception("Reverb bounces left value must be between 0 and 255 in RVRB frame.");
}
m_iReverbBouncesLeft = iReverbBouncesLeft;
if ((iReverbBouncesRight < 0) || (iReverbBouncesRight > 255))
{
throw new ID3Exception("Reverb bounces right value must be between 0 and 255 in RVRB frame.");
}
m_iReverbBouncesRight = iReverbBouncesRight;
if ((iReverbFeedbackLeftToLeft < 0) || (iReverbFeedbackLeftToLeft > 255))
{
throw new ID3Exception("Reverb feedback left to left value must be between 0 and 255 in RVRB frame.");
}
m_iReverbFeedbackLeftToLeft = iReverbFeedbackLeftToLeft;
if ((iReverbFeedbackLeftToRight < 0) || (iReverbFeedbackLeftToRight > 255))
{
throw new ID3Exception("Reverb feedback left to right value must be between 0 and 255 in RVRB frame.");
}
m_iReverbFeedbackLeftToRight = iReverbFeedbackLeftToRight;
if ((iReverbFeedbackRightToLeft < 0) || (iReverbFeedbackRightToLeft > 255))
{
throw new ID3Exception("Reverb feedback right to left value must be between 0 and 255 in RVRB frame.");
}
m_iReverbFeedbackRightToLeft = iReverbFeedbackRightToLeft;
if ((iReverbFeedbackRightToRight < 0) || (iReverbFeedbackRightToRight > 255))
{
throw new ID3Exception("Reverb feedback right to right value must be between 0 and 255 in RVRB frame.");
}
m_iReverbFeedbackRightToRight = iReverbFeedbackRightToRight;
if ((iPremixLeftToRight < 0) || (iPremixLeftToRight > 255))
{
throw new ID3Exception("Premix left to right value must be between 0 and 255 in RVRB frame.");
}
m_iPremixLeftToRight = iPremixLeftToRight;
if ((iPremixRightToLeft < 0) || (iPremixRightToLeft > 255))
{
throw new ID3Exception("Premix right to left value must be between 0 and 255 in RVRB frame.");
}
m_iPremixRightToLeft = iPremixRightToLeft;
|
public java.lang.String | toString()
return "Reverb: Reverb Left (ms)=[" + m_iReverbLeftMS + "], Reverb Right (ms)=" + m_iReverbRightMS +
"], Reverb Bounces Left=[" + m_iReverbBouncesLeft +
"], Reverb Bounches right=[" + m_iReverbBouncesRight +
"], Reverb Feedback Left To Left=[" + m_iReverbFeedbackLeftToLeft +
"], Reverb Feedback Left To Right=[" + m_iReverbFeedbackLeftToRight +
"], Reverb Feedback Right To Right=[" + m_iReverbFeedbackRightToRight +
"], Reverb Feedback Right To Left=[" + m_iReverbFeedbackRightToLeft +
"], Premix Left To Right=[" + m_iPremixLeftToRight +
"], Premix Right To Left=[" + m_iPremixRightToLeft + "]";
|
protected void | writeBody(ID3DataOutputStream oIDOS)
oIDOS.writeBEUnsigned16(m_iReverbLeftMS);
oIDOS.writeBEUnsigned16(m_iReverbRightMS);
oIDOS.writeUnsignedByte(m_iReverbBouncesLeft);
oIDOS.writeUnsignedByte(m_iReverbBouncesRight);
oIDOS.writeUnsignedByte(m_iReverbFeedbackLeftToLeft);
oIDOS.writeUnsignedByte(m_iReverbFeedbackLeftToRight);
oIDOS.writeUnsignedByte(m_iReverbFeedbackRightToRight);
oIDOS.writeUnsignedByte(m_iReverbFeedbackRightToLeft);
oIDOS.writeUnsignedByte(m_iPremixLeftToRight);
oIDOS.writeUnsignedByte(m_iPremixRightToLeft);
|