#include <stdbool.h>
#include <stdint.h>
#include <neo6502.h>
Go to the source code of this file.
◆ neo_sound_beep()
void neo_sound_beep |
( |
void |
| ) |
|
◆ neo_sound_channel_count()
uint8_t neo_sound_channel_count |
( |
void |
| ) |
|
Query the number of channels.
◆ neo_sound_play_effect()
void neo_sound_play_effect |
( |
uint8_t |
channel, |
|
|
uint8_t |
id |
|
) |
| |
Play the sound effect.
Clears the channel queue for the specified channel.
- Parameters
-
channel | Channel |
id | Sound effect ID |
◆ neo_sound_queue()
void neo_sound_queue |
( |
uint8_t |
channel, |
|
|
uint16_t |
frequency, |
|
|
uint16_t |
duration, |
|
|
uint16_t |
slide, |
|
|
uint8_t |
target |
|
) |
| |
◆ neo_sound_reset()
void neo_sound_reset |
( |
void |
| ) |
|
◆ neo_sound_reset_channel()
void neo_sound_reset_channel |
( |
uint8_t |
channel | ) |
|
Reset the specified sound channel.
◆ neo_sound_status()
uint8_t neo_sound_status |
( |
uint8_t |
channel | ) |
|
Query the status of the specified channel.
- Parameters
-
- Returns
- Number of remaining notes in the queue, including the currently played one if any.