Rubyripper: Difference between revisions

From Hydrogenaudio Knowledgebase
(→‎Installation: oops forgot the </code> tag)
Line 39: Line 39:
:<code>chmod +x *.rb (Make rubyripper.rb executable)</code>
:<code>chmod +x *.rb (Make rubyripper.rb executable)</code>
:<code>./rubyripper_gtk.rb (Launch gtk2 user interface)</code>
:<code>./rubyripper_gtk.rb (Launch gtk2 user interface)</code>
:<code>./rubyripper_cli.rb (Launch command line user interface)
:<code>./rubyripper_cli.rb (Launch command line user interface)</code>


If Rubyripper doesn't start make sure the dependencies are ok.
If Rubyripper doesn't start make sure the dependencies are ok.

Revision as of 19:30, 4 August 2006

Introduction

What is Rubyripper? Rubyripper is a digital audio extraction algorithm that uses cdparanoia or cdda2wav in a sophisticated way to make sure that a CD rip is done succesfully and accurately. It is very similiar to and inspired by EAC. Rubyripper is written in the ruby programming language.

It's currently available for Linux (partial BSD support). OSX will most likely be supported in the near future. The source (same as executable) is published under the GPL license.

  • UPDATE: New version 0.2 was released on 4 August 2006.
  • UPDATE: New version 0.1.1 was released on 12 February 2006.
  • UPDATE: New version 0.1.0 was released on 5 November 2005.

Features

  • A GTK2 user interface
  • Also a command line interface (CLI) available
  • CDDB-info is fetched via the ruby-freedb module
  • The codecs supported are FLAC, Vorbis, MP3, and Wav
  • Multiple codecs can be used in one run
  • You can optionally specify the output directory

Correction mechanism

Rubyripper correction mechanism goes beyond that of cdparanoia. Every track gets ripped at least twice and is byte compared with the Ruby cmp feature. If any differences are found, each of the 1,000 bytes of the two files is compared. The next trial run looks to see if differing positions or a match can be found. (1,000 bytes is about 0.006 seconds)

Installation

Make sure to have ruby-freedb, ruby-libglade2 and cdparanoia installed as a minimum. You can optionally choose for Lame, Vorbis or FLAC, depending on the codec you wish to use.

Then download Rubyripper: http://rubyforge.org/projects/rubyripper/

Documentation of some of the ripping logic used can be found at: (somewhat dated)
http://rubyforge.org/docman/view.php/1284/310/Rubyripper's%20ripping%20logic.pdf

Currently there isn't an official installer available. Usage from a terminal or console:

cd <download_dir> (Go to the directory where you saved the downloaded archive)
tar xfj <filename_download> (Unpack the archive)
cd rubyripper-<version> (Move into the just unpacked directory)
chmod +x *.rb (Make rubyripper.rb executable)
./rubyripper_gtk.rb (Launch gtk2 user interface)
./rubyripper_cli.rb (Launch command line user interface)

If Rubyripper doesn't start make sure the dependencies are ok.

External links