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.

Note Activate the TwinCAT Speech configuration.

Sample project

TcSpeech_Samples_FbPlay_03.21.zip

Further information

FB_Play