The VoiceFX player isn't exposed to PAL anymore (as of SAM3, PAL reference says you could somewhat control it like any other player in SAM2, though)
With the Encoders.Recording you could switch from DSP to Soundcard mode for your encoder, but that relies on you having configured the Soundcard input correctly etc.
I would instead suggest using a Microphone/Line-In track for that purpose. In the Queue Window you can click the Plus icon and configure a track that behaves just like any other track inside SAM and can even be stored in the library.
Just copy the filename from the Filename field in the songinfo. You can then add this file via PAL's Queue.AddURL command and paste the filename (starting with mic:// and then the Hardware identifier of the selected input device [for resilience I'd not rely on primary sound device, but explicitly select which soundcard/mic/input device you wanna use])
Code:
mic://?&driver=DS&sounddevice=%7BAA12A34A-5678-9A0C-12A3-4567A8A9012A%7D&packets=10&packettime=10&display=ALERT
Short summary of the idea:
- Create mic:// pattern by hand using Queue->Add->Mic/LineIn
- Use Queue.AddURL('mic://...', ipTop) to add it to the top of the quuee
- Play it on one of your players (optionally, set Studio.DJMode := djManual; so you won't be interrupted by normal autoDJ rules)