You are not logged in.

#251 2008-11-25 10:40:09

GordonFreeman
Member
Registered: 2008-06-06
Posts: 16

Re: A new lightweight music manager

Hi,

did you already include the manual mixer (name) control?

Offline

#252 2008-11-25 12:45:34

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: A new lightweight music manager

are there any "official" updates planned in the next time !? msdelos improvements are great :>

Offline

#253 2008-11-25 16:22:02

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

GordonFreeman wrote:

Hi,

did you already include the manual mixer (name) control?

Added it just now in SVN trunk. smile

Offline

#254 2008-11-25 21:31:22

GordonFreeman
Member
Registered: 2008-06-06
Posts: 16

Re: A new lightweight music manager

sacamano_m82 wrote:
GordonFreeman wrote:

Hi,

did you already include the manual mixer (name) control?

Added it just now in SVN trunk. smile

Thanks :-) Is the trunk version stable, i.e. ready for daily use?

Offline

#255 2008-11-26 01:46:32

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

GordonFreeman wrote:
sacamano_m82 wrote:
GordonFreeman wrote:

Hi,

did you already include the manual mixer (name) control?

Added it just now in SVN trunk. smile

Thanks :-) Is the trunk version stable, i.e. ready for daily use?

More or less usable, might set your house on fire, though.

Offline

#256 2008-12-03 01:26:59

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: A new lightweight music manager

Just an FYI for people having this problem or similar:

** (consonance:449): CRITICAL **: (alsa_init_mixer): Unable to find a valid ALSA mixer element

** (consonance:449): CRITICAL **: (main): Unable to init audio

The output of amixer scontrols on this machine w/ an maudio delta 1010 looks like this:
$amixer  scontrols
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Multi',0
Simple mixer control 'IEC958 Multi',1
Simple mixer control 'IEC958',1
Simple mixer control 'Delta IEC958 Input Status',0
Simple mixer control 'H/W',0
Simple mixer control 'H/W',1
Simple mixer control 'H/W',2
Simple mixer control 'H/W',3
Simple mixer control 'H/W',4
Simple mixer control 'H/W',5
Simple mixer control 'H/W',6
Simple mixer control 'H/W',7
Simple mixer control 'H/W Multi',0
Simple mixer control 'H/W Multi',1
Simple mixer control 'H/W Multi',2
Simple mixer control 'H/W Multi',3
Simple mixer control 'H/W Multi',4
Simple mixer control 'H/W Multi',5
Simple mixer control 'H/W Multi',6
Simple mixer control 'H/W Multi',7
Simple mixer control 'Multi',0
Simple mixer control 'Multi',1
Simple mixer control 'Multi',2
Simple mixer control 'Multi',3
Simple mixer control 'Multi',4
Simple mixer control 'Multi',5
Simple mixer control 'Multi',6
Simple mixer control 'Multi',7
Simple mixer control 'Multi',8
Simple mixer control 'Multi',9
Simple mixer control 'Multi Track Internal Clock',0
Simple mixer control 'Multi Track Internal Clock Default',0
Simple mixer control 'Multi Track Peak',0
Simple mixer control 'Multi Track Rate Locking',0
Simple mixer control 'Multi Track Rate Reset',0
Simple mixer control 'Multi Track Volume Rate',0
Simple mixer control 'Word Clock Status',0
Simple mixer control 'Word Clock Sync',0

So starting Consonance like so will work for people w/ similar cards:

$consonance -m H/W

Offline

#257 2008-12-03 13:57:24

GordonFreeman
Member
Registered: 2008-06-06
Posts: 16

Re: A new lightweight music manager

Ok, I've tested the latest version now, but the mixer handling as it is right now is not the way I need it. I don't have much time at the moment, but in the next days I'll go into a more detail how I would like it and maybe over christmas I'll even have the time to program it myself (of course I'll post a patch here).
But one thing I'll write right now: how are the big players like Amarok handling this part? Do they keep a big database for every card, or is there some way to find the "main mixer control"?



One thing would be cool though: drag&drop support from the file/folder-view to the playlist. Haven't tested it with the latest svn snapshot, but with the latest release it's not yet possible.

Offline

#258 2008-12-07 00:46:22

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: A new lightweight music manager

Awesome this! big_smile Really snappy and easy to use. Too bad I'm not a good coder. But I wonder, is it implemented to be able to pick your own alsa-device (ie. alsa:device=xxxx or something)? It's really needed in my hardware-mixing setup tongue I tried to modify the audio.c file, and

#define ALSA_MIXER_DEV "default". This might refer to the default device ALSA sets. However, when I try to change this to another device, which is stated in /etc/asound.conf, i.e mia2 ...

pcm.mia2{
type hw
card 0
subdevice 4
}

I get

ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL mia2

** (consonance:18708): CRITICAL **: (alsa_init_mixer): Unable to attach to alsa dev : mia2

** (consonance:18708): CRITICAL **: (main): Unable to init audio

I've also tried with #define ALSA_MIXER_DEV "pcm.mia2" with no luck there.

Using newest SVN-update btw.


Well, a temporary "dirty fix" tongue would be to use a script that alters the pcm.!default{} right before consonance starts.

Last edited by Themaister (2008-12-07 01:25:24)

Offline

#259 2008-12-11 20:31:37

fcaraballo
Member
Registered: 2008-12-11
Posts: 3

Re: A new lightweight music manager

I receive the following error message when Consonance is run for the first time:

** (consonance:28883): CRITICAL **: (init_config): Unable to load conrc, err: File is empty

GThread-ERROR **: GThread system may only be initialized once.
aborting...
Aborted

If I run:

echo -e "[Audio]\naudio_sink=oss" >> ~/.consonance/conrc

or

echo -e "[Audio]\naudio_sink=alsa" >> ~/.consonance/conrc

the program then works like it should. If I change between 'oss' and 'alsa' within the program (close and then reopen), everything still works as it should. If I change to 'default' within the program (close and then try to reopen), I end up with the same error message as above (less Unable to load conrc). There seems to be a problem with the 'default' setting. Tested on Slackware 12.2 with v0.3.1 and r765.

Besides this minor problem, your application is very nice. Looking forward to the next release (hopefully with Audio CD support).

Frank

Edit: I am also getting the following errors every time I change songs  (v0.3.1 and r765):

** (consonance:29613): CRITICAL **: (mad_get_type): input buffer too small (or EOF)

** (consonance:29613): WARNING **: (mad_decode): lost synchronization

Last edited by fcaraballo (2008-12-11 22:01:17)

Offline

#260 2008-12-11 23:57:59

Mashi
Member
Registered: 2007-02-19
Posts: 38

Re: A new lightweight music manager

I LOVE this player. It's precisely what I need. Thank you!

Edit

Perhaps these have already been posted, but I don't want to read 11 pages to find out:

* If the width of the song title + time exceeds the width of the play progress meter, the whole window expands to compensate. I think it would be better if it could scroll, the window is currently over 1600px wide due to a retardedly long song title.
* It would be nice to be able to select and copy information in the song properties dialogue, especially the path.
* Would love an equaliser.

Last edited by Mashi (2008-12-12 00:09:55)

Offline

#261 2008-12-12 03:58:56

Lyceuhns
Member
From: João Pessoa, Paraíba, Brasil
Registered: 2008-05-09
Posts: 121

Re: A new lightweight music manager

Mashi wrote:

I LOVE this player. It's precisely what I need. Thank you!

Edit

Perhaps these have already been posted, but I don't want to read 11 pages to find out:

* If the width of the song title + time exceeds the width of the play progress meter, the whole window expands to compensate. I think it would be better if it could scroll, the window is currently over 1600px wide due to a retardedly long song title.
* It would be nice to be able to select and copy information in the song properties dialogue, especially the path.
* Would love an equaliser.

Are you using the SVN version?
If not, so try this. smile

Offline

#262 2008-12-13 16:29:28

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

So I have released 0.4, with tag editing, modplug support and a number of bug fixes.
I wanted to complete last.fm support and audio cd playback, but I have realized that I am really lazy.
I mention these two features, because *I* really want them. smile

Maybe the next release will hopefully have these, in the meantime, 0.4 should be enough to listen
to all those tracks we got legally from the Intertubes.

Offline

#263 2008-12-13 21:54:41

Lyceuhns
Member
From: João Pessoa, Paraíba, Brasil
Registered: 2008-05-09
Posts: 121

Re: A new lightweight music manager

And we thank you a lot. smile

(I still hope a streaming suport.)

o/

Offline

#264 2008-12-15 12:03:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,912
Website

Re: A new lightweight music manager

Can we have this added to community packages?


Mr Green

Offline

#265 2008-12-16 10:57:03

anubis2591
Member
Registered: 2008-07-06
Posts: 52
Website

Re: A new lightweight music manager

Thanks for your hard work, I love this player. Nice and lightweight. Lack of Last.fm support is the only thing keeping me from using this as my primary player. Although it would be nice to have the option of hiding the tray icon, I like to keep my try nice and clean. AAC support might be nice as well. Other than that thanks for your great player. ^_^

Offline

#266 2008-12-16 13:21:59

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: A new lightweight music manager

anubis2591 wrote:

Lack of Last.fm support is the only thing keeping me from using this as my primary player

use consonance-svn; it supports last.fm

Offline

#267 2008-12-16 13:26:59

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

arch0r wrote:

use consonance-svn; it supports last.fm

Hm, nope, not yet.
Only initial code is present.

Offline

#268 2008-12-16 15:39:40

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: A new lightweight music manager

k. sry :>

Offline

#269 2008-12-17 05:07:03

Lyceuhns
Member
From: João Pessoa, Paraíba, Brasil
Registered: 2008-05-09
Posts: 121

Re: A new lightweight music manager

Hello,
just reporting, i was listen to a sweet music today at Consoncance, and when i plug my pen drive, i felt a little pause on playing. Curious, i started Consonance in a terminal with -e, and find this when i plug my pen drive and the music takes a little pause:

ALSA: underrun, at least 0ms.

Nothing fatal, but it was interessting, and it's here the report.

o/

Offline

#270 2008-12-17 06:42:15

fcaraballo
Member
Registered: 2008-12-11
Posts: 3

Re: A new lightweight music manager

Version 0.4 fixed the error messages I was receiving every time I changed songs, but I am still getting the same error messages (post #260) when running Consonance for the first time. Running 'consonance -a <alsa or oss>' instead of the other command works, but 'Audio sink' still shows 'default' in the Preferences instead of the new value. After manually changing 'Audio sink' and restarting with just the 'consonance' command, no error messages are shown and everything works good.

Frank

EDIT: Does Consonance support surround sound? I have been trying to get 5.1 surround sound working here with no luck.

Last edited by fcaraballo (2008-12-17 07:13:04)

Offline

#271 2008-12-19 18:51:46

Mapleblack
Member
Registered: 2008-12-19
Posts: 2

Re: A new lightweight music manager

Hi,

I can't compile Consonance from svn on Ubuntu 8.10

checking for libcurl... no
configure: error: curl-2.19.2 is required

These packages are installed:

$ apt-cache policy curl
curl:
  Geïnstalleerd: 7.18.2-1ubuntu4
  Kandidaat: 7.18.2-1ubuntu4
  Versietabel:
 *** 7.18.2-1ubuntu4 0
        500 http://nl.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy libcurl3
libcurl3:
  Geïnstalleerd: 7.18.2-1ubuntu4
  Kandidaat: 7.18.2-1ubuntu4
  Versietabel:
 *** 7.18.2-1ubuntu4 0
        500 http://nl.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

What am I missing? =/

Offline

#272 2008-12-19 21:55:39

sacamano_m82
Member
Registered: 2007-05-29
Posts: 167

Re: A new lightweight music manager

libcurl-devel or something ?

Offline

#273 2008-12-19 22:05:07

Mapleblack
Member
Registered: 2008-12-19
Posts: 2

Re: A new lightweight music manager

libcurl-dev and libcurl4-dev both point to these two packages:

libcurl4-openssl-dev 7.18.2-1ubuntu4
libcurl4-gnutls-dev 7.18.2-1ubuntu4

Tried both and I can't configure =/

Offline

#274 2008-12-22 09:01:56

fcaraballo
Member
Registered: 2008-12-11
Posts: 3

Re: A new lightweight music manager

Tested out svn r770. Hopefully the following will help figure out what is causing my error messages when running Consonance for the first time:

consonance -e
** (consonance:5997): DEBUG: (init_config): Initializing configuration
** (consonance:5997): DEBUG: (init_config): Created .consonance
** (consonance:5997): DEBUG: (init_config): Created conrc

** (consonance:5997): CRITICAL **: (init_config): Unable to load conrc, err: File is empty
** (consonance:5997): DEBUG: (init_musicdbase): Initializing music dbase
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS TRACK (location INT PRIMARY KEY, track_no INT, artist INT, album INT, genre INT, year INT, bitrate INT, length INT, channels INT, samplerate INT, file_type INT, title VARCHAR(255));
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS LOCATION (id INTEGER PRIMARY KEY, name TEXT, UNIQUE(name));
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS ARTIST (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS ALBUM (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS GENRE (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS YEAR (id INTEGER PRIMARY KEY, year INT, UNIQUE(year));
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS PLAYLIST_TRACKS (file TEXT, playlist INT);
** (consonance:5997): DEBUG: (exec_sqlite_query):CREATE TABLE IF NOT EXISTS PLAYLIST (id INTEGER PRIMARY KEY, name VARCHAR(255), UNIQUE(name));
** (consonance:5997): DEBUG: (init_audio): Initializing audio
** (consonance:5997): DEBUG: (init_audio): Using audio driver: default (Advanced Linux Sound Architecture (ALSA) output) with id: 2
** (consonance:5997): DEBUG: (set_alsa_mixer): Initializing ALSA audio mixer
** (consonance:5997): DEBUG: (get_alsa_elem): Found ALSA elem: PCM
** (consonance:5997): DEBUG: (alsa_init_mixer): Max vol: 31, Curr vol: 23
** (consonance:5997): DEBUG: (alsa_init_mixer): Poll ALSA for 1 descriptors
** (consonance:5997): DEBUG: (init_lastfm): Initializing libcurl
** (consonance:5997): DEBUG: (init_threads): Initializing threads

GThread-ERROR **: GThread system may only be initialized once.
aborting...
Aborted

As for surround sound, would it be possible to add a way to specify an alsa device?

Frank

Offline

#275 2008-12-27 18:16:48

Lyceuhns
Member
From: João Pessoa, Paraíba, Brasil
Registered: 2008-05-09
Posts: 121

Re: A new lightweight music manager

In new menus, Consonance stays on others category, because there isn't Audio only category.
Changing it to AudioVideo (on .desktop) solve this.

Categories=GTK:Application;AudioVideo;Player

Last edited by Lyceuhns (2008-12-29 11:39:42)

Offline

Board footer

Powered by FluxBB