Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flam Struct Reference

#include <FlamSequencing.h>

Public Member Functions

auto comma_comma_coolmeleon (const unsigned &notes) const -> bool
 is this row exclusively additive with the current flam sequence?
 
auto get_dur () -> float
 gather cumulative millisecond gap for entire flam
 
void start (const float &ms_now, const unsigned &notes)
 begin flam sequence processing
 
void grow (const float &ms_now, const unsigned &notes)
 continue flam sequence processing
 
void reset ()
 

Public Attributes

unsigned unsigned_unseen = 0U
 columns seen
 
int size = 1
 
bool flammin = false
 
std::array< float, 3 > ms
 

Detailed Description

Struct describing a flam of 2-4 taps. A flam is not 1 tap. Flams are n > 1 taps which may be hit as a chord.

Member Data Documentation

◆ flammin

bool flam::flammin = false

size > 1. is this actually more efficient than calling a bool check func?

◆ ms

std::array<float, 3> flam::ms
Initial value:
= {
0.F,
0.F,
0.F,
}

ms values, 3 ms values = 4 rows, optimize by just recycling values without resetting and indexing up to the size counter to get duration

◆ size

int flam::size = 1

size in ROWS, not columns. if flam size == 1 we do not yet have a flam and we have no current relevant values in ms[], any that are set will be leftovers from the last sequence, this is to optimize out setting rowtimes or calculating ms times


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