-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  .- Knowledge Base  . 

AlbumGain

   0.1.2  

Amarok Script

Score 53%
Link:  http://
Minimum required   Qt 3.x
Downloads:  121
Submitted:  Sep 4 2007
Updated:  Oct 24 2007

Description:

This is a script to adjust (normalize) volume for streaming media and BGM playing.
This require QtRuby Lib.
This contains language ja version too.

For local files, you're better off using
ReplayGain (it reads the header of the file and sets the volume correctly).
For streaming media, however,there are no headers for Amarok to read...
that's where AlbumGain comes in.

AlbumGain uses the "artist" and "album" information byitself.
The volume you set while listening to a track is automatically associated with anything that has that album name.




Changelog:

---------------------------------------
[0.1.1]
albumgain.rb->add SIGTERM trap
cfgdlg.rb-> calc each component fontsize for dialog

[0.1.2]
Fix do not close albumgain.rb when amarok close.




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from kdeorg-murasaki55
Report inappropriate content



-
.

 What does it do?

 
 by karper on: Sep 5 2007
 
Score 50%

Do I understand this correctly? This script sets a different volume for different albums in your collection? Perhaps you should explain the application of this script in a better way...


Reply to this

-

 Re: What does it do?

 
 by kdeorg-murasaki55 on: Sep 5 2007
 
Score 50%

Thank you for reply.

This script set data by artist and album.
Key: <artist>alubm
Data: volume
to Hash.
(Hash not allow dupulicate key)

For example,
Artist:John Coltrane
Album: Blue Train
1 Blue Train
2 Moment's Notice
3 Locomotion
4 I'm Old Fashioned
5 Lazy Bird

When play "Moment's Notice", you change volume on amarok 100 to 75,
this script save data
Key: <John Coltrane>Blue Train
Data: 75
to Hash.

Sorry I'm not good at english.

If you interest this script,
please install this and use debug mode.

This script log out to albumgain.log.


Reply to this

-

 Where is the info?

 
 by daaave on: Sep 5 2007
 
Score 50%

Where does AlbumGain store its information? I use ReplayGain extensively, but this sounds interesting for streams, as well as for local files that don't support ReplayGain (FLAC, for instance). Will this work together with the ReplayGain script?

Even if they can't run at the same time, does AlbumGain save its data somewhere "safe" so AlbumGain and ReplayGain don't mess which each other's stuff?

Perhaps this script could check to see if it's needed, and invoke itself accordingly? Something like "if this is a stream, or if the file doesn't have ReplayGain tags, then activate"...


Reply to this

-

 Re: Where is the inf

 
 by kdeorg-murasaki55 on: Sep 5 2007
 
Score 50%

Thank you for comment.

>Where does AlbumGain store its information?

This script save data two step.
1. Save data to Hash(Ruby Hash Object)
2. Save Hash Object to file
(file name is albumvol)


>as for local files that don't support >ReplayGain (FLAC, for instance). Will >this work together with the ReplayGain >script?

I want to do so, but I can't do it...

I think that when run both ReplayGain and AlbumGain, there are two type cases in local file playing.

1)
Amarok send event trackChange ==>
first AlbumGain, after ReplayGain.
In this case,
AlbumGain set volume to amarok.
ReplayGain set volume to amarok.
So, ReplayGain decide volume value.

2)
Amarok send event trackChange ==>
first ReplayGain, after AlbumGain.
In this case,
ReplayGain set volume to amarok.
AlbumGain set volume to amarok.
So, AlbumGain decide volume value.

in streaming playing.

1)
Amarok send event trackChange ==>
first AlbumGain, after ReplayGain.
In this case,
AlbumGain set volume to amarok.
ReplayGain do nothing.
So, AlbumGain decide volume value.

2)
Amarok send event trackChange ==>
first ReplayGain, after AlbumGain.
In this case,
ReplayGain do nothing
AlbumGain set volume to amarok.
So, AlbumGain decide volume value.

I don't know how amarok send trackChange event to scripts, so I can say nothing.

If you play only local file,
you had better that set tag to all files from ReplayGain and use it.
That is very efficient.

For set volume data in AlbumGain,
you have to change amarok volume each
album.

I made this script for only stream play.

I think best way is that
amarok(TagLib) read replaygain tag and,
tell that value to script.
In amarok2.0, I hope so !!


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.