|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Paramiters for a single frame of klatt synthesis.
Parent Classes:
Methods:
- KlattFrameC()
-
Default constructor.
Creates an invalid frame.
- KlattFrameC(bool)
-
Construct an empty array.
- KlattFrameC(const SArray1dC<long> & aa)
-
Constructor from array of paramiters.
- const SArray1dC<long> & MinValues()
-
Get an array of the minimum paramiter values.
NB. The values in the returned array must not be changed.
- const SArray1dC<long> & MaxValues()
-
Get an array of the maximum paramiter values.
NB. The values in the returned array must not be changed.
- const SArray1dC<long> & DefaultValues()
-
Get an array of the default paramiter values.
NB. The values in the returned array must not be changed.
- bool Check() const
-
Check if paramiters fall within limits.
- void ShowParams(ostream & out)
-
Print paramiters in human readable form.
- long & F0hz10()
-
Voicing fund freq in Hz
- long & AVdb()
-
Amp of voicing in dB, 0 to 70
- long & F1hz()
-
First formant freq in Hz, 200 to 1300
- long & B1hz()
-
First formant bw in Hz, 40 to 1000
- long & F2hz()
-
Second formant freq in Hz, 550 to 3000
- long & B2hz()
-
Second formant bw in Hz, 40 to 1000
- long & F3hz()
-
Third formant freq in Hz, 1200 to 4999
- long & B3hz()
-
Third formant bw in Hz, 40 to 1000
- long & F4hz()
-
Fourth formant freq in Hz, 1200 to 4999
- long & B4hz()
-
Fourth formant bw in Hz, 40 to 1000
- long & F5hz()
-
Fifth formant freq in Hz, 1200 to 4999
- long & B5hz()
-
Fifth formant bw in Hz, 40 to 1000
- long & F6hz()
-
Sixth formant freq in Hz, 1200 to 4999
- long & B6hz()
-
Sixth formant bw in Hz, 40 to 2000
- long & FNZhz()
-
Nasal zero freq in Hz, 248 to 528
- long & BNZhz()
-
Nasal zero bw in Hz, 40 to 1000
- long & FNPhz()
-
Nasal pole freq in Hz, 248 to 528
- long & BNPhz()
-
Nasal pole bw in Hz, 40 to 1000
- long & ASP()
-
Amp of aspiration in dB, 0 to 70
- long & Kopen()
-
# of samples in open period, 10 to 65
- long & Aturb()
-
Breathiness in voicing, 0 to 80
- long & TLTdb()
-
Voicing spectral tilt in dB, 0 to 24
- long & AF()
-
Amp of frication in dB, 0 to 80
- long & Kskew()
-
Skewness of alternate periods, 0 to 40 in sample#/2
- long & A1()
-
Amp of par 1st formant in dB, 0 to 80
- long & B1phz()
-
Par. 1st formant bw in Hz, 40 to 1000
- long & A2()
-
Amp of F2 frication in dB, 0 to 80
- long & B2phz()
-
Par. 2nd formant bw in Hz, 40 to 1000
- long & A3()
-
Amp of F3 frication in dB, 0 to 80
- long & B3phz()
-
Par. 3rd formant bw in Hz, 40 to 1000
- long & A4()
-
Amp of F4 frication in dB, 0 to 80
- long & B4phz()
-
Par. 4th formant bw in Hz, 40 to 1000
- long & A5()
-
Amp of F5 frication in dB, 0 to 80
- long & B5phz()
-
Par. 5th formant bw in Hz, 40 to 1000
- long & A6()
-
Amp of F6 (same as r6pa), 0 to 80
- long & B6phz()
-
Par. 6th formant bw in Hz, 40 to 2000
- long & ANP()
-
Amp of par nasal pole in dB, 0 to 80
- long & AB()
-
Amp of bypass fric. in dB, 0 to 80
- long & AVpdb()
-
Amp of voicing, par in dB, 0 to 70
- long & Gain0()
-
Overall gain, 60 dB is unity, 0 to 60
- SArray1dC<long> Copy() const
-
Creates a new physical copy of the array.
- const SArray1dC<long> & operator=(const SArray1dC<long> & vv)
-
Assigment, as for a BIG_OBJECT.
Access to the object and its parts.
-----------------------------------
- const SArray1dC<long> & SArray1d() const
-
Access to the whole constant array.
- SArray1dC<long> & SArray1d()
-
Access to the whole array.
Modifications of the representation
-----------------------------------
- SArray1dC<long> Enlarge(const IntT factor = 2) const
-
Enlarges the array by item duplications. Every item is duplicated
'factor' times. The return array is extended by adding of higher
indexes.
- SArray1dC<long> & Append(const SArray1dC<long> & a)
-
This array is extended by the length of the array 'a' and the contents
of both arrays are copied to it. The function supports empty arrays.
- SArray1dC<long> Join(const SArray1dC<long> & Oth) const
-
Join this Array and another into a new Array which
is returned. This does not change either of its arguments.
This is placed in the array first, followed by 'Oth'.
Special operations
------------------
- void DebugAddresses() const
-
Prints addresses into 'cerrAMMA'.
- const BodyRefCounterC & RefCounter() const
-
Returns access to reference counter.
- BufferRC<long> & Buffer()
-
Access base data buffer.
Experts only.
- const BufferRC<long> & Buffer() const
-
Constant access base data buffer.
Experts only.
- long * DataStart() const
-
Returns the address of the first item if exists.
- const SizeBufferAccessC<long> & operator=(long * bp)
-
Changes the reference element to the element pointed by 'bp'.
Access to the object
--------------------
- long * ReferenceElm(void) const
-
Returns the pointer to the reference element of the attached buffer.
The reference element need not to be the valid element of the buffer.
- void * ReferenceVoid(void) const
-
Returns the pointer to the reference element of the attached buffer.
The reference element need not to be the valid element of the buffer.
The function is intended to be used in printing.
- const BufferAccessC<long> & Access(void) const
-
Returns this object.
- long * DataStart() const
-
Returns the address of the first element of the buffer.
- SizeT N() const
-
Returns the number of elements of the array.
- SizeT Size() const
-
Returns the number of elements of the array.
- const BufferSizeC & Limits() const
-
Returns the usable range of indeces expressed by this object.
- const BufferSizeC & Range() const
-
Returns the usable range of indeces expressed by this object.
- IndexT IMin() const
-
Returns the minimum index of the range of this access.
- IndexT IMax() const
-
Returns the maximum index of the range of this access.
- const long & operator[](const IndexT i) const
-
Read-only access to the ('i'+1)-th element of the buffer.
- long & operator[](const IndexT i)
-
Read-write access to the ('i'+1)-th element of the buffer.
- const SizeBufferAccessC<long> & SAccess(void) const
-
Returns this object.
Logical functions
-----------------
- BooleanT IsEmpty() const
-
Returns TRUE if the size of the array is zero.
- BooleanT Contains(const IndexT i) const
-
Returns TRUE if the array contains an item with the index 'i'.
Modifications of the access
---------------------------
- const BufferSizeC & ShrinkHigh(const SizeT k)
-
Changes the number of elements by subtracting the last 'k' elements.
- const SizeBufferAccessC<long> & Swap(SizeBufferAccessC<long> & a)
-
Exchanges the contents of this buffer with buffer 'a'.
- void Attach(const SizeBufferAccessC<long> & b)
-
Changes this buffer access to have the same access rights as 'b'.
- void Attach(const BufferAccessC<long> & b,const SizeT size)
-
Changes this buffer access to have the access rights as 'b' limited
for 'size' elements.
- SizeBufferAccessC<long> operator+(const SizeT i) const
-
Creates the new access object shifted 'i' elements to the right
(towards next elements). The size is descreased to fit the
the original range of this access.
Modifications of the buffer contents
------------------------------------
- void Fill(const long & d)
-
'd' value is assigned to all elements of the buffer.
- void CopyFrom(const SizeBufferAccessC<long> & oth)
-
Copy contents of another buffer into this one.
NB. Buffers MUST be the same length.
- SizeBufferAccessC<long> Copy(void) const
-
Returns a physical copy of this access pointing to the physical
copy of the accessed buffer in the range accessible by this access.
The new copy is necessary to attach to reference counted buffer
or to delete at the end of the life of this object.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|