All threads / how to play or download a song

Ask A Question


You’re not receiving notifications from this thread.

how to play or download a song

corrado tuccitto asked in General

Hi I'd like to create a music catalog online of my music, where people can have a preview of few secs, and then can download them to be available offline but always by the same web page, something as spotify. Many thanks

Something like this makes it great for an audio player.

You'll want to add uploads through something like carrierwave, but you'll need to add a processor to it so that you can create a preview version of the track. I'm not sure how you can trim the audio but that shouldn't be too hard. I imagine there is something like imagemagick for audio that you can use.

You can use music apps like spotify at to download your favorite songs.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 45,516+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.