If anyone else wants to do this: find one of the 7z files from pub.keygenmusic.org, grab OpenMPT [1] and export to WAV. It looks like ffmpeg can also link to libopenmpt but I haven't tried.
Cool, this looks like a lot of fun! I'm preparing my youtube->mp4->mp3 chain right now so I can try it out on Jets to Brazil's "Chinatown." (It goes youtube-dl.exe then ffmpeg, but I hated the shifty windows 7zip program b/c it tried to install a new browser, so I'm using Cygwin's 7zip to decompress windows ffmpeg and cygwin is updating everything under the sun, including emacs...).
BTW, the reason I want to do this is to transcribe the vocal part of the song into sheet music. This will work way better when the vocals are separated. I'll let you know how it goes, thank you.
This is a really well-written article and the experience on the website is great.
It looks that the audio files are downloadable from the source file.
So I downloaded 3 mp3 files from the website, drag-drop them into the glicol web ide (https://glicol.org/tour#samples), and write the following music code:
// you need to drag eno_mfa_choir_01.mp3 here \/ and the same for the rest
Ps. Here's how you send the audio to the API - the mp3 that you can download from reCaptcha needs converting to flac first, which can be achieved with ffmpeg.
If anyone else was curious and wanted to extract the samples to a usable format you can extract the contents with the repo linked in the article, convert with the other tool linked and finally convert from PCM to WAV with ffmpeg:
node bin/extract-samples.js sf2ua
for f in *.vox; do echo "Processing $f file.."; ./adpcm/adpcm od "$f" "$f.pcm"; ffmpeg -f s16le -ar 8000 -ac 1 -i "$f.pcm" -ar 44100 -ac 2 "$f.wav"; done
This is so much fun. It would be great to have an export function that throws out an mp3 or aac file to share the music with others directly or use it (embedded) somewhere.
I tried several patterns myself and also tried the links others shared here. But now I’m left with the feeling that they all sound very similar. :(
Thanks! There is an export to WAV option for Pro users (accessible from the Loop menu top right of the code). The first 50 signups get a free Pro account, so you can access this now if you register ;)
What a funny coincidence - I just discovered and used this a few hours ago. I wanted to rip some YT audio from (mostly) old records that I have that are not on Spotify etc.
I looked at some browser plugins but I wasn't really impressed. This, on the other hand, was a great discovery. Really configurable and well documented.
I wish SoundCloud wouldn't transcode anything it gets into MP3 for playback. It ruins the quality. Yeah, they let you download the original, but playback through the site suffers if you upload Ogg/Vorbis for example. At least they could provide playback in original form to browsers which support it, and use MP3 as fallback for more crippled ones (like Safari or IE). Since they obviously host the original and transcoded file it shouldn't be hard to do.
I used their C API a long time ago. Back then, you registered a bunch of callback functions. One of those was to get raw uncompressed audio. IIRC, they used Vorbis internally, but once it reached your callback function, it was just decoded raw PCM data.
1: http://openmpt.org/
reply