Loading...
Searching...
No Matches
Nodes::Arpeggiator::Engine Struct Reference

Detailed Description

The arpeggio, shared by the old and the current object: they differ only in how the rate is chosen.

Public Types

using byte = unsigned char
 
using chord = ossia::small_vector< std::pair< byte, byte >, 5 >
 

Public Member Functions

void update ()
 
void arpeggiate (int size_mult)
 
void octavize (std::size_t orig_size, int i)
 
template<typename Out >
void all_off (Out &out, int date)
 
template<typename In , typename Out >
void process (const In &msgs, Out &out, int octave, int octave_mode, int repeat, int arpeggio_mode, const halp::tick_musical &tk, double rate)
 rate is the grid's: 1 a whole note, 4 a quarter...
 

Public Attributes

ossia::flat_map< byte, byte > notes
 
ossia::small_vector< chord, 10 > arpeggio
 
std::array< int8_t, 128 > in_flight {}
 
int previous_octave {}
 
int previous_octave_mode {}
 
int previous_repeat {}
 
int previous_arpeggio {}
 
std::size_t index {}
 
rnd::pcg rng
 

Member Data Documentation

◆ rng

rnd::pcg Nodes::Arpeggiator::Engine::rng
Initial value:
{[] {
std::random_device d{};
rnd::pcg r(d);
return r;
}()}

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