Difference between revisions of "Component: WAV Player ROM (File)"
From Flowcode Help
Jump to navigationJump to searchLine 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
− | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_WAV_Player.fcfx FC_Comp_Source_WAV_Player.fcfx] |
− | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_WAV_Player.fcfx FC_Comp_Source_WAV_Player.fcfx] |
==Detailed description== | ==Detailed description== | ||
Line 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Latest revision as of 13:13, 7 February 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 to download the component source project: FC_Comp_Source_WAV_Player.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WAV_Player.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
EndOfFile
![]() |
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 |
GetBitsPerSample
![]() |
GetBitsPerSample |
Returns the number of bits per sample. | |
![]() |
Return |
GetNextSample
GetNumChannels
![]() |
GetNumChannels |
Returns the number of audio channels stored in the WAV file. | |
![]() |
Return |
SetFilePointer