type-operations.h File Reference

#include "tempo-type.h"
#include "period-type.h"
#include "stereo-sample2.h"
#include "histogram-type.h"
#include "sample4-type.h"
#include "power-type.h"
#include "spectrum-type.h"
#include "tag-type.h"
Include dependency graph for type-operations.h:
This graph shows which files directly or indirectly include this file:

Functions

tempo_type period_to_tempo (period_type a)
period_type tempo_to_period (tempo_type a)
quad_period_type period_to_quad (period_type a)
tempo_type between_tempos (tempo_type a, tempo_type b, float4 percent)
spectrum_typebetween_spectra (spectrum_type *a, spectrum_type *b, float4 percent)
signed4 compare_tempo (tempo_type a, tempo_type b)

Function Documentation

spectrum_type* between_spectra ( spectrum_type a,
spectrum_type b,
float4  percent 
) [inline]
tempo_type between_tempos ( tempo_type  a,
tempo_type  b,
float4  percent 
) [inline]

References tempo_type::tempo.

Referenced by Song::tempo_between().

signed4 compare_tempo ( tempo_type  a,
tempo_type  b 
) [inline]

References tempo_type::tempo.

quad_period_type period_to_quad ( period_type  a  )  [inline]
tempo_type period_to_tempo ( period_type  a  )  [inline]

period_type - describes the length of a period in the index file, normalized to metarate (44100 Hz normally) quad_period_type - describes the length of a measure in the player, depending on different wavrates tempo_type - describes the BPM of the song, given a period_type

References period_type::period, and tempo_type::tempo.

Referenced by Index::get_tempo().

period_type tempo_to_period ( tempo_type  a  )  [inline]
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2