How to play a file while its still recording
PlayoutONE can play a file that's still being recorded by FileCopy. This is useful if you receive newscasts via satellite but don't want to wait until the recording finishes to play them.
Setting up a recording in FileCopy
- Create a new job in FileCopy
- Under the Source tab, choose 'recording' as the source
- Choose your input device and set up the recording parameters.
- Check 'Record to stream file' and select the MP3 file you'd like to record to. This file can live on a network share or local drive as long as PlayoutONE can access it. If you don't have an MP3 file created yet, you'll need to create one before doing this step.
The 'Rename' and 'Destination' tabs are not available when you choose 'Record to stream file'.
- Finally, set your schedule in the 'Schedule' tab and add the job.
Playing the file in PlayoutONE
To play the file in PlayoutONE, you'll need to set up two commands. These can be set up as predefined commands or scheduled through your music scheduling software:
LOAD FILE "file.mp3",[player],[group],"[custom id]" |
Load a file into a player, ready to be played. |
PLAY FILE "file.mp3",[player],[group],["custom id"] |
Immediately play a file from a specified player. |
For example, LOAD FILE "C:\Audiopath\news.mp3",2,1,"Newscast" would load the specified audio file into player 2 and give it the custom ID "Newscast". This would allow you to use it again in conjunction with the Audio Engine's PLAYER commands:
PLAY PLAYER "[custom ID]" |
Play the specified player (eg. PLAY PLAYER "Newscast") |
PAUSE PLAYER "[custom ID]" |
Pause the specified player |
STOP PLAYER "[custom ID]" |
Stop the specified player |
When PlayoutONE executes this command, it will load the audio file and start playing it from the beginning. PlayoutONE will then move on to the next item once it reaches the end of the file.
A WAIT command is not needed here, as PlayoutONE will automatically move on to the next file when it reaches the end of the current one.