Sample 04: File Playback

Description

This sample shows you how to play back a simple file by means of FB_Play.

The file to be played back is transferred as a file path. A sample file called 16bit_16khz_mono_SampleSound.wav is located in the PLC project and must be placed on the target system beforehand with the correct path.

With all TwinCAT Speech samples, a configuration is stored that uses the operating system's default sound card.

Notice Activate the TwinCAT Speech configuration.

Sample project

https://github.com/Beckhoff/TF4500_Samples/tree/main/TcSpeech_Samples_FbPlay

Further information

FB_Play