|
HARDT - The Ham Radio DSP Toolkit
|
#include <hvfo.h>


Public Member Functions | |
| HVfo (H_SAMPLE_RATE rate, int frequency, T amplitude, float phase=0) | |
| void | SetFrequency (int frequency, float phase=0) |
| bool | Command (HCommand *command) |
Public Member Functions inherited from HGenerator< T > | |
| int | Read (T *dest, size_t blocksize) |
| void | Calculate (int frequency, T amplitude, float phase) |
| T | Current () |
| T | Next () |
Public Member Functions inherited from HReader< T > | |
| virtual | ~HReader ()=default |
| virtual bool | Start () |
| virtual bool | Stop () |
| HReader< T > * | Reader () |
Public Member Functions inherited from HObject | |
| HObject () | |
Additional Inherited Members | |
Protected Member Functions inherited from HGenerator< T > | |
| HGenerator (H_SAMPLE_RATE rate, int frequency, T amplitude, float phase=0) | |
| ~HGenerator () | |
Generate a single sine with the given frequency and amplitude at the given sample rate.
The frequency and phase can be changed by calling the SetFrequency() function. Samples are not guaranteed to have a smooth transaction when changing frequency or phase.
| HVfo< T >::HVfo | ( | H_SAMPLE_RATE | rate, |
| int | frequency, | ||
| T | amplitude, | ||
| float | phase = 0 |
||
| ) |
Construct a new HVfo running at the given frequency and phase with the given amplitude
Execute and/or pass on a command
Reimplemented from HGenerator< T >.
| void HVfo< T >::SetFrequency | ( | int | frequency, |
| float | phase = 0 |
||
| ) |
Set the frequency and phase of the vfo
1.8.17