Digigurdy-baz
Loading...
Searching...
No Matches
Functions
play_functions.h File Reference
#include "common.h"
#include "play_screens.h"

Go to the source code of this file.

Functions

void vol_up ()
 Turns the volume of all strings up by 10, if possible. More...
 
void vol_down ()
 Turns the volume of all strings down by 10, if possible. More...
 
void all_soundOff ()
 Sends a soundOff() to all six string objects. More...
 
void all_soundKill ()
 Sends a soundKill() to all six string objects. More...
 
void all_clearVolArray ()
 Clears the volume array of all six string objects. More...
 
void no_buzz_soundOff ()
 Sends a soundOff() to all strings but the buzz. More...
 
void tpose_up_1 (bool playing)
 Increases the transpose by 1 semitone, and adjusts any playing notes. More...
 
void tpose_down_1 (bool playing)
 Decreases the transpose by 1 semitone, and adjusts any playing notes. More...
 
void cycle_capo (bool playing)
 Cycles the capo, and adjusts any playing notes. More...
 
void tpose_up_x (bool playing, int steps)
 Adjusts the transpose by a given number of steps. More...
 

Function Documentation

◆ all_clearVolArray()

void all_clearVolArray ( )

Clears the volume array of all six string objects.

◆ all_soundKill()

void all_soundKill ( )

Sends a soundKill() to all six string objects.

◆ all_soundOff()

void all_soundOff ( )

Sends a soundOff() to all six string objects.

◆ cycle_capo()

void cycle_capo ( bool  playing)

Cycles the capo, and adjusts any playing notes.

Parameters
playingTrue if currently playing sound, false otherwise.
Version
New in 2.3.7

◆ no_buzz_soundOff()

void no_buzz_soundOff ( )

Sends a soundOff() to all strings but the buzz.

◆ tpose_down_1()

void tpose_down_1 ( bool  playing)

Decreases the transpose by 1 semitone, and adjusts any playing notes.

Parameters
playingTrue if currently playing sound, false otherwise.
Version
New in 2.3.7

◆ tpose_up_1()

void tpose_up_1 ( bool  playing)

Increases the transpose by 1 semitone, and adjusts any playing notes.

Parameters
playingTrue if currently playing sound, false otherwise.
Version
New in 2.3.7

◆ tpose_up_x()

void tpose_up_x ( bool  playing,
int  steps 
)

Adjusts the transpose by a given number of steps.

Parameters
playingTrue if currently playing sound, false otherwise.
stepsNumber of semitones to move (signed)
Version
New in 2.5.7

◆ vol_down()

void vol_down ( )

Turns the volume of all strings down by 10, if possible.

  • Checks volume of all strings
  • If the quietest string is less than 10 from min volume, decreases the volume of all strings by 10.
  • If the quietest string is more than 10 from min volume, do nothing.
    Version
    New in 2.3.4