PVSnesLib  4.3.0
Documentation to code in C or ASM for the Nintendo SNES
brrsamples Struct Reference

brr sample sound header(8 bytes) More...

#include <sound.h>

Data Fields

u8 addr1
 
u8 addr2
 
u8 bank
 
u8 length1
 
u8 length2
 
u8 panning
 
u8 pitch
 
u8 volume
 

Detailed Description

brr sample sound header(8 bytes)

Examples
audio/tada/Tada.c, and games/likemario/LikeMario.c.

Field Documentation

◆ addr1

u8 brrsamples::addr1

address of BRR data low

◆ addr2

u8 brrsamples::addr2

address of BRR data high

◆ bank

u8 brrsamples::bank

bank of BRR data

◆ length1

u8 brrsamples::length1

number of BRR chunks (BYTELEN/9) (max 4kilobytes??) low

◆ length2

u8 brrsamples::length2

number of BRR chunks (BYTELEN/9) (max 4kilobytes??) high

◆ panning

u8 brrsamples::panning

default PANNING (0..15)

◆ pitch

u8 brrsamples::pitch

default PITCH (1..6) (hz = PITCH * 2000)

◆ volume

u8 brrsamples::volume

default VOLUME (0..15)


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