Slashdot Mirror


Ripping Vinyl Via Your Scanner?

An anonymous reader writes "This site describes a method of extracting audio off of scanned images of vinyl records. Kazaa vinyl swapping is on it's way!" While this method creates exceptionally noisy samples, you can definitely hear the underlying music.

17 of 500 comments (clear)

  1. Vinyl/Vinile by jargonCCNA · · Score: 2, Informative

    Do /. editors actually edit? Probably not the first to notice, but it's spelt Vinyl. V-I-N-Y-L.

    Not that hard, folks. Especially when you get it right in the headline.

    --
    Matthew G P Coe
    http://mgpcoe.blogspot.com/
  2. Comment removed by account_deleted · · Score: 2, Informative

    Comment removed based on user account deletion

  3. Cool, but... by Cyno01 · · Score: 2, Informative

    this is really cool and all, but whats the point, if you really dont care at all about quality then this may be a quick option for converitng your collection, but if you still have vinyl you probabably care enough to plug your turntable into the audio in jack on you computer

    --
    "Sic Semper Tyrannosaurus Rex."
  4. Comment removed by account_deleted · · Score: 4, Informative

    Comment removed based on user account deletion

  5. Re:Hypothetical Question by wackybrit · · Score: 3, Informative

    No, of course not.

    MP3s are not like-for-like copies of CDs, they're extremely lossy, and you only get a tenth of what's on the CD.. but.. you can still get busted for swapping them! I believe the copyright laws specify that any 'likeness' to which a third-party could associate with the original, is covered as such.

    Ditto for music encoded within images, though this is a hoax.

  6. Why this is nonsense. by td · · Score: 2, Informative

    A vinyl LP is 12 inches in diameter, and has a label area in the middle that's about 4 inches in diameter. So the area containing the spiral groove is about 4 inches wide. That's about 10 centimeters. An LP side typically has a little more than 20 minutes of music on it. It rotates at 33 1/3 RPM, so the groove spirals around roughly 667 times. So the width of the groove is roughly .01/667 meters, which is 150 microns. The signal (on a monaural record, stereo is more complicated!) is recorded by wiggling the groove from side to side in that 150 micron space. To reproduce a signal whose dynamic range is 90 dB, the smallest excursions have to be roughly 1/30000 of the maximum amplitude. 150/30000 microns is 5 nanometers.

    Think your scanner has that much resolution? Guess again -- 1200 dpi is roughly 21 microns, off by a factor of 100.

    Note that 5 nanometers is way smaller than the wavelength of visible light (roughly 750 to 350 nm), so those laser turntables everyone is talking about don't work very well either, unless they've got x-ray lasers in them.

    --
    -Tom Duff
  7. Re:Yeah right by hopews · · Score: 3, Informative

    After visiting a pdf on LP technology and finding that LPs have around 290 lines per inch, and 45s 160 or so, it would seem that a reasonable scanner (say 1200 dpi) would pickup 7 pixels per track on a 45. This would make horizontal (along the plane of the record) resolution quite poor. However, if he's only tracking the vertical component (perpendicular to the plane of the record), and the varying heights translate well into light to dark gradients, perhaps there would be enough information to produce some bad sound. I too would like to see the code and perhaps some of the source images.

  8. looks possible by alizard · · Score: 5, Informative
    These numbers are EXTREMELY approximate, I just wanted to see if his claims are possible. They are.

    Standard rotational speed = 33 1/3 RPM

    12" record

    Circumference = pi * D

    33.3RPM /60 ~ 0.5 R/second

    12" * pi ~ 37" circumference.

    0.5 * 37" = 18.5"

    18.5 * 600dpi = 11,100 samples per inch, which gives a Nyquist limit of 5550Hz... a 2400 dpi or better might actually give full audio bandwidth, though in this case, the higher the better, since the area available for sampling decreases towards the center of the record, and for really high fidelity sound, more than 2 samples at 20K are necessary.

    His model for how the record was encoded is *wrong*. The RIAA method of stereo modulation (back when they were mostly a standards organization) places the amplitude information on each wall of the V-shaped groove. It is intended to be picked up with a stylus connected to a something in the form of an Y , with channel information picked up by coil or magnet or other means attached to each upper leg of the Y.

    Fixing his model should result in drastically improved performance if he's extracting stereo information. Cleaning the record would also help a lot.

    His project actually *is* worth doing. An optimized algorithm should allow anyone or a museum with a good scanner to turn his vinyl (SPELLED CORRECTLY) collection into decent quality Red Book or MP3 tracks without any further damage to the records. The basic problem is to linearize the relationship between 16-24 bit gray scale information of reflected light and the depth modulation in each groove.

    The suggestion of using software to extract 3D information from the grooves posted elsewhere is a good idea, but this is a good start.

    Cool hack.

    1. Re:looks possible by femto · · Score: 2, Informative
      I wonder if the sample rate could be increased by interleaved sampling?

      To do this, one might scan the record multiple times at 600dpi. The information from the multiple images could be combined to interpolate the missing samples. Same priciple as 'interleave' mode on an oscilloscope. I guess it might also be necessary to deconvolute the image with the impulse response of the scanner.

  9. Re:The angles of stereo records are well known by RedWizzard · · Score: 3, Informative
    Now to see if my memory still works. Mono LPs used horizontal modulation; the needle moved back and forth within the groove. Stereo can be viewed two ways. Vertical is difference (L-R), horizontal is sum of the L+R. Viewed differently, the two diagonal walls of the groove are the two channels.
    The reason that horizontal is l+r (the volume levels of l and r are half the levels of the real signal L and R) and vertical is l-r, rather than just storing L and R, is for backwards compatibility. l+r is basically what the recording would sound like had it been recorded in mono. In a stereo system L and R can be simply reconstructed from l+r and l-r (L=l+r+l-r, 2R=l+r-(l-r)). In a mono system l+r is played.
    A flatbed scanner can only see the horizontal, so it might work a bit with mono, but it won't work too well!
    Theoretically you could get a mono signal out of even a stereo recording. I'd probably try partially filling the tracks to a constant depth with some sort of white material, then scanning it at very high resolution. But I don't know if you could make the whole process accurate enough to actually work. Certainly I seriously doubt it would be doable the way that guy claims he did it.
  10. This could work, but not very well by Animats · · Score: 3, Informative
    This is kind of neat, although, as another poster pointed out, it's not going to reach down to low-amplitude components of the audio. But it could sort of work.

    Much of microscopy work, which this is, involves fooling with the illumination direction vs. the viewing direction. Getting that right is a big part of doing it at all. This guy had to scan the record in four quadrants to get some halfway reasonable result. Obviously, you'd like a rotational scan, like a turntable with a stationary scan arm. The amusing thing is that you could read an entire vinyl record in one rev. Now, at last, the 1000x LP player!

    Incidentally, the recording system for stereo LPs is called "45-45 Westrex", because there are two perpendicular tracks recorded 90 degrees apart (at +45 and -45 from vertical). Mono records, which have no vertical component, are thus backwards compatible. If all you can read is the horizontal component, you get a valid mono signal.

  11. Re:grooves per side by Anonymous+DWord · · Score: 3, Informative

    Tool's Opiate EP has a similar thing. There's a bonus track, but you have to put the needle down in the right groove. Pretty cool.

    --
    "If he thinks he can hide and run from the United States and our allies, he's sorely mistaken." Bush on bin Laden
  12. Optical scaning *does* work. by HerbieStone · · Score: 2, Informative
    I know it, because I've seen it with my own eyes. A team from the epfl in switzerland did it as a semestrial work. They didn't use a flatbed scanner, they used a conventional turntable and some fiberoptics to follow and mesure the gap. They were able to detect scratches and to filter and repair those parts. The result was pretty amazing. Here is a link to the project link to the project.

    Enjoy

  13. You want to try this at home? by alizard · · Score: 4, Informative
    http://www.aardvarkmastering.com/riaa.htm contains the physical dimensional specifications for 33 1/3, 45, 78 RPM records.

    http://arts.ucsc.edu/ems/music/tech_background/TE- 19/teces_19.html contains basic information on how the LP record works. I think the most important thing for the experimenter is called RIAA equalization, in order to limit the physical motion of the recording stylus that cut the record, bass was reduced and treble increased in a very precise way, in order to reproduce the original sound, the opposite must be done.

    The RIAA equalization curve is a plot of amplitude boost/cut vs. frequency. Apply its inverse to the raw analog signal(s) that come out of your signal processing.

    You can find it at http://www.tanker.se/lidstrom/riaa.htm.

    Oh, and CLEAN THE RECORD BEFORE DOING THIS. The info in Part 14 of the rec.audio.* FAQ is as good a place to start to find out how as any.

    Have fun and feel free to let me know if you get anywhere.

    You might also want a look at my other post to this thread.

  14. Re:Laser Turntable by kamapuaa · · Score: 2, Informative
    They tried it and it didn't work out. The real problem with records isn't scratching them (which I've never done once, and I'm not all that careful), but how they collect dust. A needle is able to push the dust aside - even when playing a very dusty record, it will collect on the needle, and can be blown off. However a laser has to try to play the dust - and a small amount of dust is inevitable. I guess people tried vacuum-sealing, but at that point it wasn't worth the bother...

    I don't really see the point, needles sound great, they don't scratch the record if you take care, and I've never heard of records getting deformed through contact with the needle. Even if they do, it seems to me lasers would be worse.

    --
    Slashdot: providing anti-social weirdos a soapbox, since 1997.
  15. Woke up, fell out of bed... rampaged by a slashdot by Anonymous Coward · · Score: 3, Informative

    Some clarifications:

    I am sorry so many of you thought this page was a hoax only
    because no source code was supplied (I'm sure you'll all agree, now that
    you can see the code, that it is both straightforward and crappy).

    I guess I didn't do enough on the actual explanation side either.
    The whole thing was done in a couple of late nights so I didn't really
    have much time to gather all the technical details concerning phonograph
    modulations. Moreover the "archeological" reverse-engineering aspect was part
    of the fun.

    I now know (thanks to some great replies) that the horizontal modulation (the only
    one I did decode) is not a whole channel in itself but merely a delta between
    the h-modulation and the depth-modulation which I did _not_ decode.

    Some repliers seemed to be a tad confused as to what recordings were
    the actual decodings. I'd like to stress that gramophone3.mp3 is a recording
    while the rest (dneedle*) were decoded from the image.

    Have fun,
    Ofer Springer

  16. Re:Of course it's a hoax by Draoi · · Score: 5, Informative
    Like I just pointed out on another thread, the source has been posted here.

    The guy goes on to say;

    Woke up, fell out of bed... rampaged by a slashdot horde.

    Some clarifications to the slashdot crowd:

    I am sorry so many of you thought this page was a hoax only because no source code was supplied (I'm sure you'll all agree, now that you can see the code, that it is both straightforward and crappy).
    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein