I listen to music all the time, and I'm a big fan of using Coda to organize my life. So I initially wanted to make an archive of free music, especially hidden gems not available on streaming platforms like live performances or rare recordings. After I gathered a few links I realized Coda do more than simply store the links. It could embed them. It could be its own music player. So I expanded this doc to be able to tag and filter songs, organize and save playlists, and listen to them all in Coda. Even as dedicated Spotify user myself, I use this doc a lot. It's easily accessible on any computer. And the ability to filter music by my own tags, and to access the live and rare recordings keep me coming back and adding more. Hope you enjoy! -Phil
Instructions
This doc utilizes embedded audio players with autoplay enabled in order to create playlists. I hope many of the controls are intuitive, but some things need to be done in a particular way...
This doc supports links from YouTube, SoundCloud, Internet Archive and Google Drive. Copy a link as formatted below. Press the "Add Song to Library" button to add your copied link and fill in all relevant fields. Every song must be given a duration.
Press "Start" to begin your playlist. You will need to click "Allow" on the embedded media the first time you play a link from any given website (YouTube, SoundCloud, etc.).
The ←/→ arrows to skip backwards or forwards in the playlist by 1 song
Press "Stop" to disable the Music Player.
"Loop" will put your playlist on infinite repeat. Press to enable and disable. The indicator circle in the button is gray when disabled, green when enabled.
"Shuffle" will randomly reorder your playlist when enabled. Press to enable and disable. When disabled, it will return the playlist to its original order.
"Add 10 Random Songs" does exactly that, but it excludes the
@_SILENT_BUFFER_
(see below) and anything tagged "Radio Drama"
"Clear Playlist" deletes all rows from the playlist.
The Media Player works by changing the embedded link after a certain amount of time. For this reason, it's important to input a duration for every song. You can truncate a track by inputing a shorter duration than the actual link. I've found this handy for YouTube especially. You can extract a portion of video by using YouTube's Start at value and setting a duration shorter than the video.
section must be open to hear playback. Navigating to other sections will interrupt playback.
The Media Player only controls when a song starts or stops. It cannot pause or rewind. It cannot return to the beginning of a song because the embedded link must switch in order for a song to start. For this reason, the Loop function does not work when there is 1 track in the playlist or the same song repeats in a playlist. I've created a filler song called
@_SILENT_BUFFER_
to place between duplicate tracks or 1-song loops.
Select an existing playlist in the blank Select Playlist column or type a new name to create a new playlist. Press Load Playlist to add the selected playlist to the current playlist. Pushing "Save Playlist" will automatically overwrite a selected playlist. If you create a new playlist name, you must push "Save Playlist" after adding songs.