some more sequence tuning
This commit is contained in:
parent
88d07fa69d
commit
a50895ec96
1 changed files with 11 additions and 8 deletions
|
|
@ -162,7 +162,11 @@ pub static COIN_CHIRP: [SequenceEntry; 2] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
// PLAY ONCE
|
// PLAY ONCE
|
||||||
pub static SOUND_8_BIT_GAME: [SequenceEntry; 3] = [
|
pub static SOUND_8_BIT_GAME_4: [SequenceEntry; 4] = [
|
||||||
|
SequenceEntry {
|
||||||
|
frequency_hz: 220,
|
||||||
|
duration_ms: 50,
|
||||||
|
},
|
||||||
SequenceEntry {
|
SequenceEntry {
|
||||||
frequency_hz: 440,
|
frequency_hz: 440,
|
||||||
duration_ms: 50,
|
duration_ms: 50,
|
||||||
|
|
@ -185,12 +189,12 @@ pub static SOUND_8_BIT_GAME_1: [SequenceEntry; 3] = [
|
||||||
duration_ms: 50,
|
duration_ms: 50,
|
||||||
},
|
},
|
||||||
SequenceEntry {
|
SequenceEntry {
|
||||||
frequency_hz: 880,
|
frequency_hz: 1500,
|
||||||
duration_ms: 50,
|
duration_ms: 50,
|
||||||
},
|
},
|
||||||
SequenceEntry {
|
SequenceEntry {
|
||||||
frequency_hz: 0,
|
frequency_hz: 0,
|
||||||
duration_ms: 100,
|
duration_ms: 50,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -205,7 +209,7 @@ pub static SOUND_8_BIT_GAME_3: [SequenceEntry; 3] = [
|
||||||
duration_ms: 50,
|
duration_ms: 50,
|
||||||
},
|
},
|
||||||
SequenceEntry {
|
SequenceEntry {
|
||||||
frequency_hz: 1500,
|
frequency_hz: 1000,
|
||||||
duration_ms: 50,
|
duration_ms: 50,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
@ -331,13 +335,12 @@ pub static ASCENDING_TONES: [SequenceEntry; 29] = [
|
||||||
];
|
];
|
||||||
|
|
||||||
pub static SEQUENCE_LIST: [(&'static [SequenceEntry], usize); 7] = [
|
pub static SEQUENCE_LIST: [(&'static [SequenceEntry], usize); 7] = [
|
||||||
// TODO: this one is broken:
|
|
||||||
(&SOUND_8_BIT_GAME_1, 1),
|
|
||||||
(&ASCENDING_TONES, 0),
|
|
||||||
(&SOUND_8_BIT_GAME_3, 2),
|
(&SOUND_8_BIT_GAME_3, 2),
|
||||||
(&SOUND_8_BIT_GAME, 1),
|
(&SOUND_8_BIT_GAME_4, 0),
|
||||||
|
(&ASCENDING_TONES, 0),
|
||||||
(&COIN_CHIRP, 0),
|
(&COIN_CHIRP, 0),
|
||||||
(&WAHWAH, 5),
|
(&WAHWAH, 5),
|
||||||
(&DECENDING_TONES, 0),
|
(&DECENDING_TONES, 0),
|
||||||
|
(&SOUND_8_BIT_GAME_1, 1),
|
||||||
// &TEST_SEQ,
|
// &TEST_SEQ,
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue