The problem: I have an Audio Technica AT-LP60-USB that only has an output of a USB or RCA cables. I have studio monitors (JBL 305P MkII) that needs the sound amplified.
The solution: Using Raspberry Pi as a router.
This article was helpful in having a command that routes the audio, however I needed the command to always run and check if the record player was plugged in. Lets get started setting up our pi.
Go into the terminal window on the raspberry pi and type
Take note of your record player name and your audio interface name.
Create a script file to keep the audio streaming by running
Paste the following into the recordplayer.sh file being sure to replace after -C and -P with the values saved from earlier.
Save the script by control X, y and hitting enter.
Run this command to create a service that will run this script on boot
Paste the following
Save by control X, y and hitting enter.
Finally Run these commands to start the service
Check that the service is running
Now your record player should stream audio to your speakers! Let me know if you have any problems in the comments and I'll try to update this post as necessary.