MusicNEST (OP-LIB-007)

From openPicus Wiki
Jump to: navigation, search

Contents

Description

Here you can find an abstract of Music NEST libraries

Download

Please refer to OP-AN-021 and OP-AN-020 , you can download templates with libraries.

VLSICodec

Commands


VlsiHWInit

This command inizializes Flyport SPI bus for VLSI codec comunication

void VlsiHWInit(void);


VlsiInitNewMode

This command inizializes VLSICodec internal firmware

void VlsiInitNewMode(void);


VlsiWriteDataN

Send data to VLSICodec

unsigned char VlsiWriteDataN(unsigned char *data, unsigned char n);
Argument Description
unsigned char *data Audio Buffer
unsigned char n Buffer length (multiples of 32 byte)


VlsiSineTest

This command test the VLSI codec

void VlsiSineTest(unsigned char pitch);
Argument Description
unsigned char pitch output audio pitch


VlsiSetVolume

This command set the volume the VLSI codec

void VlsiSetVolume(unsigned char right, unsigned char left);
Argument Description
unsigned char right right channel
unsigned char left left channel

Related Resources

Credits

Personal tools
Namespaces

Variants
Actions
START HERE
DEVELOPMENT
HARDWARE INFO
RESOURCES
PHASED OUT
Toolbox