Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tag Editor per File audio WavPack
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Thu Jan 25, 2007 7:45 pm    Post subject: Tag Editor per File audio WavPack Reply with quote

Ciao Gente! Dopo tanto peregrinar mi son accasato, musicalmente parlando, con il formato wavpack.

Ottimo formato lossless che all'occorrenza può anche diventare lossy. Senza contare che il mio Ipod su cui gira rigorosamente rockbox legge i file in tale formato senza colpo ferire.

Sembrerebbe il paradiso... Se non che non ho ancora trovato, un buon tag editor per tale formato. Fino ad ora avevo utilizzato TagEditor che mi era sembrato il tool definito, questo almeno fino alla trista scoperta che non digerisce i wavpack.

Invoco voi, o saggi del forum... Conoscete qualche buon tag editor, con magari connessione cddb, che permette di leggere e scrivere tag su file musicali in formato wavpack, mp3, ogg, flac ?
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
drizztbsd
Retired Dev
Retired Dev


Joined: 21 Nov 2004
Posts: 278
Location: Cesano Maderno

PostPosted: Thu Jan 25, 2007 8:26 pm    Post subject: Reply with quote

amarok può taggare wavpack (non mi ricordo se flame ha backportato la patch, al limite usa il suo overlay), l'unico problema è che musicbrainz non funziona :(
_________________
Gentoo/Alt lead
Gentoo/*BSD and Gentoo/FreeBSD deputy lead
Paludis contributor
Back to top
View user's profile Send private message
drizztbsd
Retired Dev
Retired Dev


Joined: 21 Nov 2004
Posts: 278
Location: Cesano Maderno

PostPosted: Thu Jan 25, 2007 8:33 pm    Post subject: Reply with quote

Dimenticavo che anche rubytag++ lo digerisce
Code:
#!/usr/bin/env ruby

require "tempfile"

# Simple custom tempfile class that respect the given extension for the file.
# needed for a few things in the test suite.
class CustomTempfile < Tempfile
  def initialize(basename, tmpdir=Dir::tmpdir)
    super(basename, tmpdir)
  end

  def make_tmpname(basename, n)
    sprintf('%s%d.%d.wav', basename, $$, n)
  end
end

tmpwav = CustomTempfile.new("flac2wavpack")
tmpwav.close

input = ARGV[0]
output = input.sub(".flac", ".wv")

exit -1 unless system("flac -f -d \"#{input.gsub('"', '\\"')}\" -o \"#{tmpwav.path.gsub('"', '\\"')}\"")
exit -2 unless system("wavpack -h \"#{tmpwav.path.gsub('"', '\\"')}\" -o \"#{output.gsub('"', '\\"')}\"")

tmpwav.delete

require "rubytagpp"

flac = TagLib::FLAC::File.new(input)
wv = TagLib::WavPack::File.new(output)

wv.tag(true) unless wv.tag

wv.tag.title = flac.tag.title
wv.tag.album = flac.tag.album
wv.tag.artist = flac.tag.artist
wv.tag.track = flac.tag.track
wv.tag.year = flac.tag.year
wv.tag.genre = flac.tag.genre

wv.save

sto qui è un semplice convertitore © Flameeyes (che usa rubytag++) per convertire da flac a wavpack (mantenendo i tag), cmq puoi implementare un tagger abbastanza facilmente (conoscendo ruby ovviamente :P)
_________________
Gentoo/Alt lead
Gentoo/*BSD and Gentoo/FreeBSD deputy lead
Paludis contributor
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum