ptttl v0.2.0
C implementation of a PTTTL parser. PTTTL is a superset of NOKIA's RTTTL that adds polyphony & vibrato.
Loading...
Searching...
No Matches
Public Attributes | List of all members
ptttl_sample_generator_config_t Struct Reference

#include <ptttl_sample_generator.h>

Public Attributes

unsigned int sample_rate
 Sampling rate in samples per second (Hz)
 
unsigned int attack_samples
 no. of samples to ramp from 0 to full volume, at note start
 
unsigned int decay_samples
 no. of samples to ramp from full volume to 0, at note end
 
float amplitude
 Amplitude of generated samples between 0.0-1.0, with 1.0 being full volume.
 

Detailed Description

Holds configurable parameters for sample generation


The documentation for this struct was generated from the following file: