Posts Tagged ‘linux’
juil
Spotify en natif sous Linux
by Mushiro in Informatique, Musique, linux
Spotify propose depuis quelques jours son logiciel dans une version native Linux. En effet, jusqu’à maintenant, il fallait installer la version Windows via Wine. Pour ma part, ça fonctionnait pas mal. Le son s’arrêtait parfois quand une autre application faisait quelque chose avec ALSA (utilisé pour la sortie son sous Wine). Mais sinon pas de soucis particuliers.
Mais c’est toujours mieux quand une application est native, et plus gratifiant que d’avouer qu’on utilise en fait des versions Windows sur son Ubuntu.
Read the rest of this entry »
jan
Howto: split a flac track from its cue file
by Mushiro in Musique, linux
It happens from time to time that I’ve got a music album in
Flac format, in one file, with a
cue sheet file. Don’t ask me where it comes from
.
As my main (and only) OS at the moment is Ubuntu, and that the number of music players supporting cue files are very very limited, I have to split the unique file to multiple files, with the correct filenames and tags.
I found two sites explaining how to do that ( here, and here), and I merely merge the two articles here for archiving purpose.
(Road2Mayotte has translated the howto in french)
The name of the album I use for this howto is « MINAMOTRANCE CORE BREAK! ».
1. Splitting the file
As we will see later, it’s best to rename the cue file to a file with no space in it:
You will need the following applications: cuebreakpoints, cuetag (in cuetools package) and shnsplit (shntool package). Now let’s split it!
Something like this will be output:
Splitting [MINAMOTRANCE CORE BREAK!.flac] (52:46.37) --> [split-track02.flac] (4:57.25) : 100% OK
Splitting [MINAMOTRANCE CORE BREAK!.flac] (52:46.37) --> [split-track03.flac] (5:22.00) : 100% OK
Splitting [MINAMOTRANCE CORE BREAK!.flac] (52:46.37) --> [split-track04.flac] (5:22.00) : 100% OK
......
Ok, now we have flac files named split-track01.flac, split-track02.flac…
2. Transferring the tags
How about transferring the tags (ARTIST, TITLE…) from the cue file to the flac files? We do this by using the cuetag command (this command doesn’t support filenames with spaces, that’s why we renamed the cue file earlier):
You can check that the tags have been correctly set. Run for example:
and the title tag will be printed:
3. Renaming the files
Well, all that is left is to rename the files. We extract some tags from the files, and rename them. Here is a bash script to do this (save it in a file named rename_flac.sh, and chmod a+x on it):
for a in *.flac; do
ARTIST=`metaflac "$a" --show-tag=ARTIST | sed s/.*=//g | sed s#/#-#g`
TITLE=`metaflac "$a" --show-tag=TITLE | sed s/.*=//g | sed s#/#-#g`
TRACKNUMBER=`metaflac "$a" --show-tag=TRACKNUMBER | sed s/.*=//g`
mv "$a" "`printf %02g $TRACKNUMBER` - $ARTIST - $TITLE.flac"
done
Then in the directory with the flac files (change the path to where you saved the script):
01 - 源屋 - Intro.flac
02 - 源屋 - Party Like Us!.flac
....
Enjoy the music!
oct
Cowon S9, ou comment se casser la tête avec les id3v2
by Mushiro in Musique, linux
J’ai récemment acquis un nouveau player MP3, le Cowon S9 ( Site officiel, Test sur GenerationMp3).
Je possédais déjà le
Cowon X5, « boosté » par le firmware
Rockbox, que j’ai hélas fait tombé par mégarde l’autre jour, avec l’émetteur Bluetooth dans la prise jack. Du coup, la prise a maintenant un faux contact
.
Je réfléchissais depuis quelques semaines déjà à l’achat d’un nouveau player, et j’avais louché sur le S9 à sa sortie l’année dernière. Depuis, le prix a un peu baissé, et l’accident avec le X5 m’a fait franchir le pas. Et je ne regrette pas ! La bête est très jolie (j’ai pris le modèle blanc), l’interface personnalisable (c’est du Flash, et on trouve pas mal de thèmes sur les forums), et le son est très bon, comme sur le X5.
Read the rest of this entry »
août
Firefox en noir et blanc
by Mushiro in linux
Sous
Linux, dans l’environnement de bureau
Gnome, quand une application ne répond plus, les couleurs de la fenêtre deviennent noir et blanc. En général quand l’appli répond à nouveau, les couleurs reviennent. Aujourd’hui, bah les couleurs ne sont pas revenues, mais j’avais à nouveau la main sur la fenêtre :
mai
Déclaration des impôts en ligne… et Java
by Mushiro in Divers
Aujourd’hui je décide de faire ma déclaration d’impôts en ligne. Comme chaque année je la fais via le site des impôts du gouvernement. Je remplis tout comme il faut, et au moment de signer électroniquement (j’utilise encore la méthode avec certificat), j’ai un cadre vide. Ou plutôt pendant une 1/2 seconde, je vois la liste déroulante pour choisir le certificat, et après elle disparaît.
Read the rest of this entry »


