View previous topic :: View next topic |
Author |
Message |
.:deadhead:. Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/137562117341c040a92de3d.png)
Joined: 25 Nov 2003 Posts: 2963 Location: Milano, Italy
|
Posted: Thu Jan 25, 2007 7:45 pm Post subject: Tag Editor per File audio WavPack |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
drizztbsd Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/84221162347457c55a967d.png)
Joined: 21 Nov 2004 Posts: 278 Location: Cesano Maderno
|
Posted: Thu Jan 25, 2007 8:26 pm Post subject: |
|
|
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 ![Sad :(](images/smiles/icon_sad.gif) _________________ Gentoo/Alt lead
Gentoo/*BSD and Gentoo/FreeBSD deputy lead
Paludis contributor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
drizztbsd Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/84221162347457c55a967d.png)
Joined: 21 Nov 2004 Posts: 278 Location: Cesano Maderno
|
Posted: Thu Jan 25, 2007 8:33 pm Post subject: |
|
|
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 ) _________________ Gentoo/Alt lead
Gentoo/*BSD and Gentoo/FreeBSD deputy lead
Paludis contributor |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|