Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

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.

1: http://openmpt.org/



sort by: page size:

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

~t1: speed 0.3 >> seq 60 >> sp \eno_mfa_choir_01 >> lpf 500 1.0 >> mul ~mod1

~mod1: sin 0.1 >> add 1 >> mul 0.1

~t2: speed 0.5 >> seq 72 >> sp \eno_mfa_choir_02 >> lpf 600 1.0 >> mul ~mod2

~mod2: sin 0.2 >> delayms 100 >> add 1 >> mul 0.3 >> mul ~mod3

~t3: speed 0.5 >> seq 67 >> sp \eno_mfa_choir_03 >> lpf 3000 1.0 >> mul ~mod3

~mod3: sin 0.3 >> add 1 >> mul 0.2

o: mix ~t.. >> plate 0.1

// by changing the numbers you get lots of variations.


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.

http://pastebin.com/LQ30iWKD


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

Awesome! Is your project open source? Can't wait to see it.

Here's the first (but by no means only) file I have in mind:

http://ocrmirror.org/files/music/albums/ff7/MP3/3-02%20Shnab...

Stone Eyes from the Final Fantasy VII tribute album Voices of the Lifestream.


I have quite a few ogg files. Converting to mp3 before using on an mp3 player is very annoying.

Plus, libogg is BSD licensed, so why not include it?


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. :(


I ran the mp3 through a local whishper setup. Forgive the wall of text but chatgpt can make it more readable if you chunk it.

https://pastebin.com/8tG3Fega


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.

Assuming you have `ffmpeg` installed just run:

`youtube-dl --extract-audio --audio-format mp3 $URL`

and you're done! I expect my phone will be packed of bizarre prog/jazz before the end of the weekend :D


I did something similar, but not with video. I used bandcamp to store binary files that I converted to wav sound files. I uploaded Arch Linux to it! (https://bullswillriot.bandcamp.com/album/arch-linux-07-01)

Here's my medium article on it: https://medium.com/@__Tux/using-bandcamp-as-a-backup-solutio...


For audio at least, it uses a bunch of recordings (as mp3) and combines them in different ways.

Example (it's using an IP for some reason): http://142.44.247.245/sounds/rain/rainbest160.mp3

Not sure what the license is for the sound, so can't say whether it's free or not.

For playback it's using jplayer, which is open source: http://jplayer.org (I'm surprised their site doesn't list support for Opus).


You converted an LPCM Audio file to a Windows Media Video file to upload to Google Music?

And mp3DirectCut for MP3 / AAC: https://mpesch3.de/

Or mp3splt for MP3 and Ogg Vorbis: https://mp3splt.sourceforge.net/mp3splt_page/home.php


Here you go: http://no.gd/vega2.wav

It holds up ridiculously well considering the entire song compresses down to 25392 bytes.


Haha, awesome. Would be good to get the uncompressed audio, I bet you could decode that binary stream into bytes.

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.

Also, Opus support could be useful.


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.

I, uh, wrote my own little "player" with this: https://youtu.be/8ejnGARQIJ0

next

Legal | privacy