forked from mirrors/qmk_userspace
updates to noise
This commit is contained in:
parent
e1020672ac
commit
931b0a79fc
5 changed files with 162 additions and 5 deletions
|
@ -60,13 +60,9 @@ const uint16_t PROGMEM fn_actions[] = {
|
|||
|
||||
float start_up[][2] = {
|
||||
{440.0*pow(2.0,(67)/12.0), 600},
|
||||
{0, 50},
|
||||
{440.0*pow(2.0,(64)/12.0), 400},
|
||||
{0, 50},
|
||||
{440.0*pow(2.0,(55)/12.0), 400},
|
||||
{0, 50},
|
||||
{440.0*pow(2.0,(60)/12.0), 400},
|
||||
{0, 50},
|
||||
{440.0*pow(2.0,(64)/12.0), 1000},
|
||||
};
|
||||
|
||||
|
@ -91,6 +87,6 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|||
void matrix_init_user(void) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
init_notes();
|
||||
play_notes(&start_up, 9, false);
|
||||
play_notes(&start_up, 5, false);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue