Difference between revisions of "Component: WAV Player ROM (File)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...") |
|||
Line 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 28: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 31: | Line 35: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
− | == | + | ==Macro reference== |
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" |
Revision as of 14:13, 20 January 2023
Author | Matrix TSL |
Version | 1.0 |
Category | File |
Contents
WAV Player ROM component
Stores an audio WAV file in ROM and contains component macros to allow the WAV file to be streamed out. Compatible with analogue outputs such as DAC or PWM.
Component Source Code
Please click here for the component source code: FC_Comp_Source_WAV_Player.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
EndOfFile |
A simple check to see if we are at the end of the file. Returns 0 if we and not yet at the end fo the file. Returns 1 if we are at the end of the file. | |
![]() |
Return |
![]() |
GetNumChannels |
Returns the number of audio channels stored in the WAV file. | |
![]() |
Return |
![]() |
GetBitsPerSample |
Returns the number of bits per sample. | |
![]() |
Return |