|
FlightGear next
|
#include <morse.hxx>
Inherits FGSoundGenerator.
Public Member Functions | |
| FGMorse () | |
| ~FGMorse () | |
| SGSoundSample * | make_ident (const std::string &id, const int freq=LO_FREQUENCY) |
Public Member Functions inherited from FGSoundGenerator | |
| virtual | ~FGSoundGenerator () |
Static Public Member Functions | |
| static FGMorse * | instance () |
Static Public Attributes | |
| static const int | BYTES_PER_SECOND = 22050 |
| static const int | BEAT_LENGTH = 92 |
| static const int | TRANSITION_BYTES = BYTES_PER_SECOND/200 |
| static const int | COUNT_SIZE = BYTES_PER_SECOND * BEAT_LENGTH / 1000 |
| static const int | DIT_SIZE = 2 * COUNT_SIZE |
| static const int | DAH_SIZE = 4 * COUNT_SIZE |
| static const int | SPACE_SIZE = 3 * COUNT_SIZE |
| static const int | LO_FREQUENCY = 1020 |
| static const int | HI_FREQUENCY = 1350 |
Static Public Attributes inherited from FGSoundGenerator | |
| static const int | BYTES_PER_SECOND = 22050 |
| static const int | BEAT_LENGTH = 92 |
| static const int | TRANSITION_BYTES = BYTES_PER_SECOND/200 |
| static const int | COUNT_SIZE = BYTES_PER_SECOND * BEAT_LENGTH / 1000 |
| static const int | DIT_SIZE = 2 * COUNT_SIZE |
| static const int | DAH_SIZE = 4 * COUNT_SIZE |
| static const int | SPACE_SIZE = 3 * COUNT_SIZE |
| static const int | LO_FREQUENCY = 1020 |
| static const int | HI_FREQUENCY = 1350 |
Additional Inherited Members | |
Related Symbols inherited from FGSoundGenerator | |
| static void | make_tone (unsigned char *buf, int freq, int len, int total_len, int trans_len) |
| Make a tone of specified freq and total_len with trans_len ramp in and out and only the first len bytes with sound, the rest with silence. | |
| SGSoundSample * FGMorse::make_ident | ( | const std::string & | id, |
| const int | freq = LO_FREQUENCY ) |
|
static |
|
static |
|
static |
|
static |
|
static |