Player of one guitar contour fitted to a harmony.
More...
#include <axer.h>
|
| | Axer (AxeContour *pContour, const AxeHarmony *pHarmony, int nReserved, float fOutputLevel) |
| | Construct an inactive voice.
|
| | ~Axer () |
| | Deactivate the voice.
|
| void | SetContour (AxeContour *pContour) |
| | Change the contour, carrying the position of a playing contour over to the new one.
|
| void | SetHarmony (const AxeHarmony *pHarmony) |
| | Change the harmony and fit the contour to it.
|
| int | GetLength () |
| | Report the ticks of one loop of the contour.
|
| void | Activate (int nPosition) |
| | Start playing the contour unless the voice is active.
|
| void | Deactivate () |
| | Stop playing and restore the full output level.
|
| int | IsActive () const |
| | Report whether the voice is active.
|
| void | SetX (float fX) |
| | Transpose the contour within the range of the harmony from the horizontal stick position.
|
| void | SetSweep (float fSweep) |
| | Set the sweep of the software filter.
|
Player of one guitar contour fitted to a harmony.
The stick transposes the contour and sweeps the filter.
The class is not polymorphic. The RTTI of AxeTrack's vector of players includes the class name. AxeTrack builds one for each gem button. While active the voice sets the software effects of the synthesiser.
◆ Axer()
| Axer::Axer |
( |
AxeContour * | pContour, |
|
|
const AxeHarmony * | pHarmony, |
|
|
int | nReserved, |
|
|
float | fOutputLevel ) |
Construct an inactive voice.
- Parameters
-
| pContour | The contour. |
| pHarmony | The harmony. |
| nReserved | Stored and not read here. |
| fOutputLevel | The output level of the synthesiser while the voice is active. |
- Ghidra address:
- NTSC-U/C: 0x00157628
- Ghidra address:
- PAL: 0x00158eb0
◆ ~Axer()
Deactivate the voice.
- Ghidra address:
- NTSC-U/C: 0x00157678
- Ghidra address:
- PAL: 0x00158f00
◆ SetContour()
Change the contour, carrying the position of a playing contour over to the new one.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001576c0
- Ghidra address:
- PAL: 0x00158f48
◆ SetHarmony()
| void Axer::SetHarmony |
( |
const AxeHarmony * | pHarmony | ) |
|
Change the harmony and fit the contour to it.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00157738
- Ghidra address:
- PAL: 0x00158fc0
◆ GetLength()
Report the ticks of one loop of the contour.
- Returns
- The ticks.
- Ghidra address:
- NTSC-U/C: 0x00157758
- Ghidra address:
- PAL: 0x00158fe0
◆ Activate()
| void Axer::Activate |
( |
int | nPosition | ) |
|
Start playing the contour unless the voice is active.
- Parameters
-
| nPosition | The position in the loop. |
- Ghidra address:
- NTSC-U/C: 0x00157778
- Ghidra address:
- PAL: 0x00159000
◆ Deactivate()
| void Axer::Deactivate |
( |
| ) |
|
Stop playing and restore the full output level.
- Ghidra address:
- NTSC-U/C: 0x00157800
- Ghidra address:
- PAL: 0x00159088
◆ IsActive()
| int Axer::IsActive |
( |
| ) |
const |
Report whether the voice is active.
- Returns
- Non-zero while active.
- Ghidra address:
- NTSC-U/C: 0x00157858
- Ghidra address:
- PAL: 0x001590e0
◆ SetX()
| void Axer::SetX |
( |
float | fX | ) |
|
Transpose the contour within the range of the harmony from the horizontal stick position.
- Parameters
-
| fX | The horizontal stick position, from -1 to 1. |
- Ghidra address:
- NTSC-U/C: 0x00157860
- Ghidra address:
- PAL: 0x001590e8
◆ SetSweep()
| void Axer::SetSweep |
( |
float | fSweep | ) |
|
Set the sweep of the software filter.
A change of 0.02 or less is ignored.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00157940
- Ghidra address:
- PAL: 0x001591c8
The documentation for this class was generated from the following file: