echo The Wall - Disc 1, by Pink Floyd. Track 6. Mother. > "text_file.txt"
"ptts.exe" -w "spoken_audio.wav" -v 67 < "text_file.txt"
"sox.exe" -m -v 1 "spoken_audio.wav" -v 1 "music_audio.wav" "mixed_audio.wav"
%album%[' - Disc '%disc%]', by '%artist%'. Track '%tracknumber%'. '%title%'.'$crlf()
I hoped that helped! It has certainly helped me figure out who exactly made the music I'm listening to...
Any particular reason for using echo to create text files? You could automate the whole text file creation process using the Text Tools component with Foobar (assuming your music is tagged correctly), e.g. following your text pattern: