|
Pd++
0.01
A pure C++ implementation of Pure Data objects
|
Single Sideband Modulation. More...
#include <SingleSideBandModulation.h>
Public Member Functions | |
| void | setOscFreq (double input) |
| double | getOscFreq () |
| double | perform (double input1) |
Public Member Functions inherited from PdMaster | |
| void * | getbytes (size_t nbytes) |
| void * | resizebytes (void *old, size_t oldsize, size_t newsize) |
| void | freebytes (void *fatso, size_t nbytes) |
| std::string | getPath () |
| void | setSampleRate (unsigned long) |
| unsigned long | getSampleRate () |
| void | setBlockSize (int) |
| int | getBlockSize () |
| double | getTimeInSampleTicks () |
| long | getTimeInMilliSeconds (double time) |
| int | pdBigOrSmall (double f) |
| void | cos_maketable () |
| int | PD_BIGORSMALL (float f) |
| void | setFFTWindow (int) |
| int | getFFTWindow () |
| double | mtof (double) |
| double | ftom (double) |
| double | powtodb (double) |
| double | dbtopow (double) |
| double | rmstodb (double) |
| double | dbtorms (double) |
Additional Inherited Members | |
Public Types inherited from PdMaster | |
|
typedef union PdMaster::_sampleint_union | t_sampleint_union |
Public Attributes inherited from PdMaster | |
| int | cosTableSize = COSTABSIZE |
| float * | cos_table |
Single Sideband Modulation.
This class is based directly the hilbert~ and complex-mod~ abstractions in Pure Data. It uses a hilbert filter by cascading a series of biquad filters, which offsets the phase of the signal by 180 degrees. Then the real and imaginary parts are modulation using a cosine and sine wave respectively. The input is your signal to be modulated.
| void rwe::SSB::setOscFreq | ( | double | input | ) |
This is the modulation frequency.
1.8.8