DISTRHO Plugin Framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cu ca821aa979 Change metronome example to output sine wave 5 years ago
..
DistrhoPluginInfo.h Add metronome example 5 years ago
ExamplePluginMetronome.cpp Change metronome example to output sine wave 5 years ago
Makefile Add metronome example 5 years ago
README.md Change metronome example to output sine wave 5 years ago

README.md

Metronome example

This example will show tempo sync in DPF.

This plugin will output sine wave at the start of every beat.
The pitch of sine wave is 1 octave higher at the start of every bar.

4 parameters are avaialble:

  • Gain
  • Decay time
  • Semitone
  • Cent

To calculate exact frames to the next beat from the start of current audio buffer, TimePosition::BarBeatTick.barBeat is used.

Reference: