pMusic 6.0.0
When I went to replace gtkdialog here's what I found. What do I do now, replace gtkdialog4?
- Attachments
-
- gtkdialog symbolic link.png
- (22.92 KiB) Downloaded 1722 times
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
gtkdialog problems
Flash, I see that you're using Racy, which I never have.Flash wrote:When I went to replace gtkdialog here's what I found. What do I do now, replace gtkdialog4?
I'm using Lucid Puppy 5.2.8. When I removed gtkdialog4 so that pmusic would work, Puppy setup didn't. So I put gtkdialog4 back where it was.
I don't have the symbolic link for gtkdialog like you do. What if you just delete that symbolic link or rename it, and put the gtkdialog from Zigbert in that directory?
Hopefully he or other expert can help. I guess there's a thread for Racy, where people might know how to handle this?
Sheldon
Here comes the first beta.
Things are set and seems to work nicely. Hopefully for you too.....
There is also a new version of pEqualizer that should be tested.
Please step in and give it a run
Changelog pEqualizer
- gettext for NLS support.
- New switch -s for setting up equalizer.
- v switch for showing version.
- Bugfix: Integration with pMusic.
- Bugfix: Preset handling.
- Bugfix: Reset values if preset is missing.
Download pMusic 3 - Beta here
Things are set and seems to work nicely. Hopefully for you too.....
There is also a new version of pEqualizer that should be tested.
Please step in and give it a run
Changelog pEqualizer
- gettext for NLS support.
- New switch -s for setting up equalizer.
- v switch for showing version.
- Bugfix: Integration with pMusic.
- Bugfix: Preset handling.
- Bugfix: Reset values if preset is missing.
Download pMusic 3 - Beta here
Pmusic-2.6.6 problem in Precise Puppy. See Barry Kauler`s post and replies.
http://bkhome.org/blog/?viewDetailed=03076
http://bkhome.org/blog/?viewDetailed=03076
Hi zigbert,
Running pmusic 2.6.6 i have added support for (if installed) dunst desktop notification on track change (top right on screen) seems to work ok for GUI track change - systray track change and play-list cycle
Full Size:http://i.imgur.com/soQmi.png
cheers.
Running pmusic 2.6.6 i have added support for (if installed) dunst desktop notification on track change (top right on screen) seems to work ok for GUI track change - systray track change and play-list cycle
Full Size:http://i.imgur.com/soQmi.png
cheers.
- Attachments
-
- func_player.gz
- remove fake .gz
- (14.25 KiB) Downloaded 586 times
stu91
A cool oneliner.
pMusic 3 supports plugins, and I think screenlets belongs there. Pwidgets has one, but a standalone would be much better - what about gt2desklet
Sigmund
Download pMusic 3 - Beta here
A cool oneliner.
pMusic 3 supports plugins, and I think screenlets belongs there. Pwidgets has one, but a standalone would be much better - what about gt2desklet
Sigmund
Download pMusic 3 - Beta here
Pmusic 3 beta is doing what I ask of it
One issue, which isn't a bug, as any application which has the setting has the same issue, is that if you choose your sound card in the preferences (other than default) the equalizer does not work.
For those that don't know, Pequalizer is a "plugin" for Pmusic (optional dependency). It is actually a system wide equalizer. It depends though on your settings in whatever player you are using. The settings must be either "default" or "alsa".
I'll put this in writing as part of the Pmusic FAQ, it will basically have a brief "howto" for Pequalizer.
One bug. My sound card needs PCM set in the preferences but only Master is shown so the volume control does nothing for me. If you need more info let me know.
One issue, which isn't a bug, as any application which has the setting has the same issue, is that if you choose your sound card in the preferences (other than default) the equalizer does not work.
For those that don't know, Pequalizer is a "plugin" for Pmusic (optional dependency). It is actually a system wide equalizer. It depends though on your settings in whatever player you are using. The settings must be either "default" or "alsa".
I'll put this in writing as part of the Pmusic FAQ, it will basically have a brief "howto" for Pequalizer.
One bug. My sound card needs PCM set in the preferences but only Master is shown so the volume control does nothing for me. If you need more info let me know.
Puppy Linux Blog - contact me for access
Hmmm... pMusic detects playback channels by the command01micko wrote:One bug. My sound card needs PCM set in the preferences but only Master is shown so the volume control does nothing for me. If you need more info let me know.
Code: Select all
amixer controls | grep 'Playback Volume'
Code: Select all
amixer controls
Thank you
Sigmund
Pmusic 2.5.4 gives this error when I try to start it from the command line in Precise Puppy. For what it's worth, the sound works fine. In fact, I had to turn it down to watch a YouTube video about the end of the world.
- Attachments
-
- Pmusic3 error in Precise Puppy 5.4.jpg
- (135.88 KiB) Downloaded 1545 times
Flash
The splash error is to do with pequalizer, which shouldn't be installed in Precise as it wont have the alsaequal or CAPS libraries necessary for the equalizer to function. If I get the motivation I'll compile them for precise to fix that. EDIT: is that a typo.. "2.5.4" ? Also, still looks like you aren't using latest gtkdialog-0.8.2.
-
Sigmund
here is my output:
#EDIT: I just discovered that running amixer controls with no options will only probe the first card, which in my case is the HDMI on my video card. My real first card, the onboard nvidia is disabled in BIOS for simplification, else my USB card would be card 2. As it is now it's card 1 and the HDMI is card 0.
My onboard sound is physically broken so use an USB device.
- Later..
Sigmund, I have some useful info for you. I must run MultipleSoundCardWizard to get sound. It then changes my default card in a newly created file /etc/asound.conf. In this case, amixer must be run with the "-c 1" option to the "controls" command.
This is what is found in /etc/asound.conf
So some routine like this might be needed:
My output from above:
The splash error is to do with pequalizer, which shouldn't be installed in Precise as it wont have the alsaequal or CAPS libraries necessary for the equalizer to function. If I get the motivation I'll compile them for precise to fix that. EDIT: is that a typo.. "2.5.4" ? Also, still looks like you aren't using latest gtkdialog-0.8.2.
-
Sigmund
here is my output:
Code: Select all
# amixer controls
numid=1,iface=MIXER,name='IEC958 Playback Con Mask'
numid=2,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=3,iface=MIXER,name='IEC958 Playback Default'
numid=4,iface=MIXER,name='IEC958 Playback Switch'
numid=5,iface=PCM,name='ELD',device=3
# amixer controls | grep 'Playback Volume'
#
My onboard sound is physically broken so use an USB device.
- Later..
Sigmund, I have some useful info for you. I must run MultipleSoundCardWizard to get sound. It then changes my default card in a newly created file /etc/asound.conf. In this case, amixer must be run with the "-c 1" option to the "controls" command.
This is what is found in /etc/asound.conf
Code: Select all
defaults.pcm.card 1
defaults.pcm.device 0
Code: Select all
ASOUNDOPTION=""
if [ -f /etc/asound.conf ];then #see if MultipleSoundCardWizard was used
CARD=$(head -1 /etc/asound.conf)
DEFAULTCARD=${CARD##* }
ASOUNDOPTION="-c $DEFAULTCARD"
fi
VOLUMECONTROL=$(amixer $ASOUNDOPTION controls | grep 'Playback Volume')
Code: Select all
# ASOUNDOPTION=""
# if [ -f /etc/asound.conf ];then #see if MultipleSoundCardWizard was used
> CARD=$(head -1 /etc/asound.conf)
> DEFAULTCARD=${CARD##* }
> ASOUNDOPTION="-c $DEFAULTCARD"
> fi
# VOLUMECONTROL=$(amixer $ASOUNDOPTION controls | grep 'Playback Volume')
# echo $VOLUMECONTROL
numid=2,iface=MIXER,name='PCM Playback Volume'
Last edited by 01micko on Thu 01 Nov 2012, 01:38, edited 2 times in total.
Puppy Linux Blog - contact me for access
I did install Pequalizer. It didn't complain about missing libs.
Not a problem. I'm running Precise Puppy from a multisession DVD. I just won't save this session when I shut down.
Code: Select all
# gtkdialog --version
gtkdialog version 0.8.0 (C) 2003-2007 Laszlo Pere, 2011 Thunor
# amixer controls
numid=39,iface=MIXER,name='Master Playback Switch'
numid=38,iface=MIXER,name='Master Playback Volume'
numid=12,iface=MIXER,name='Headphone Playback Switch'
numid=11,iface=MIXER,name='Headphone Playback Volume'
numid=40,iface=MIXER,name='PCM Playback Volume'
numid=21,iface=MIXER,name='Front Mic Boost Volume'
numid=16,iface=MIXER,name='Front Mic Playback Switch'
numid=15,iface=MIXER,name='Front Mic Playback Volume'
numid=2,iface=MIXER,name='Front Playback Switch'
numid=1,iface=MIXER,name='Front Playback Volume'
numid=4,iface=MIXER,name='Surround Playback Switch'
numid=3,iface=MIXER,name='Surround Playback Volume'
numid=7,iface=MIXER,name='Center Playback Switch'
numid=5,iface=MIXER,name='Center Playback Volume'
numid=8,iface=MIXER,name='LFE Playback Switch'
numid=6,iface=MIXER,name='LFE Playback Volume'
numid=18,iface=MIXER,name='Line Playback Switch'
numid=17,iface=MIXER,name='Line Playback Volume'
numid=22,iface=MIXER,name='Capture Switch'
numid=23,iface=MIXER,name='Capture Switch',index=1
numid=24,iface=MIXER,name='Capture Switch',index=2
numid=25,iface=MIXER,name='Capture Volume'
numid=26,iface=MIXER,name='Capture Volume',index=1
numid=27,iface=MIXER,name='Capture Volume',index=2
numid=35,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=31,iface=MIXER,name='IEC958 Playback Con Mask'
numid=32,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=33,iface=MIXER,name='IEC958 Playback Default'
numid=34,iface=MIXER,name='IEC958 Playback Switch'
numid=37,iface=MIXER,name='IEC958 Capture Default'
numid=36,iface=MIXER,name='IEC958 Capture Switch'
numid=19,iface=MIXER,name='Auto-Mute Mode'
numid=28,iface=MIXER,name='Input Source'
numid=29,iface=MIXER,name='Input Source',index=1
numid=30,iface=MIXER,name='Input Source',index=2
numid=20,iface=MIXER,name='Rear Mic Boost Volume'
numid=14,iface=MIXER,name='Rear Mic Playback Switch'
numid=13,iface=MIXER,name='Rear Mic Playback Volume'
numid=10,iface=MIXER,name='Side Playback Switch'
numid=9,iface=MIXER,name='Side Playback Volume'
#
It won't unless it's installed through PPM, it is a limitation of petget. also, being a script based program, it won't show the libs are missing, that's why the splash screen with the error.Flash wrote:I did install Pequalizer. It didn't complain about missing libs.
-
Sigmund,
Maybe a simple dependency check and exit should exist in pequalizer.
@line 25 add
Code: Select all
# dep test
if [ ! -f /usr/lib/alsa-lib/libasound_module_ctl_equal.so ]
then echo "missing dependencies" && exit
fi
Puppy Linux Blog - contact me for access
===========================
For Precise Puppy Users
===========================
In an effort to get Pmusic 3 beta and Pequaliser more widely tested I have compiled alsaequal-0.6 in Precise and also gtkdialog-0.8.2 without the vte dependency, gtkdialog-0.8.2 is to be considered "testing" (even though it is the latest stable version) as Barry may or may not upgrade to gtkdialog-0.8.2 and may or may not include the vte dependency (for virtual terminal functions of gtkdialog). There is one more dependency needed, caps, which is a LADSPA plugin
Instructions
For Precise Puppy Users
===========================
In an effort to get Pmusic 3 beta and Pequaliser more widely tested I have compiled alsaequal-0.6 in Precise and also gtkdialog-0.8.2 without the vte dependency, gtkdialog-0.8.2 is to be considered "testing" (even though it is the latest stable version) as Barry may or may not upgrade to gtkdialog-0.8.2 and may or may not include the vte dependency (for virtual terminal functions of gtkdialog). There is one more dependency needed, caps, which is a LADSPA plugin
Instructions
- open PPM and search in the search box for caps_0.4. It will find caps_0.4.2-1. Install it. (see screenshot).
- download and install the 2 attachments to this post, gtkdialog-0.8.2-i486-NO_VTE-up.pet and alsaequal-0.6-i486-up.pet. You will get a box asking you if you want to link to gtkdialog4. If you don't know click Cancel.
- Install pmusic-2.9.4 and pequalizer-0.8.0 (these may be updated at a later date) from zigbert's post here
- delete /root/.pmusic (hidden directory, click the eye icon in rox-filer to expose hidden directories)
- Start up Pmusic from the menu or by clicking a music file (mp3, ogg, aac, wav and some other formats) and test away. Pequalizer should be already running in the background but you should open it from the Pmusic File menu
- Attachments
-
- alsaequal-0.6-i486-up.pet
- FOR PRECISE PUPPY ONLY!!! (RetroPrecise is ok)
- (12.53 KiB) Downloaded 704 times
-
- gtkdialog-0.8.2-i486-NO_VTE-up.pet
- FOR PRECISE PUPPY ONLY!!! (RetroPrecise is ok)
- (95.28 KiB) Downloaded 678 times
-
- capture18905.jpg
- search the PPM for the caps dependency
- (43.09 KiB) Downloaded 1462 times
-
- pmusic+peq-upup.jpg
- pmusic and pequalizer tested working in Precise
- (40.24 KiB) Downloaded 1409 times
Puppy Linux Blog - contact me for access
done01micko wrote:Maybe a simple dependency check and exit should exist in pequalizer.
@line 25 addCode: Select all
# dep test if [ ! -f /usr/lib/alsa-lib/libasound_module_ctl_equal.so ] then echo "missing dependencies" && exit fi
Thank you
Sigmund
Download pMusic 3 - Beta here
Last edited by zigbert on Thu 01 Nov 2012, 19:33, edited 1 time in total.
Good catch. All calls for amixer in func_mixer is using the -c switch, but in func_config it does not.01micko wrote:Sigmund, I have some useful info for you. I must run MultipleSoundCardWizard to get sound. It then changes my default card in a newly created file /etc/asound.conf. In this case, amixer must be run with the "-c 1" option to the "controls" command.
This is what is found in /etc/asound.confSo some routine like this might be needed:Code: Select all
defaults.pcm.card 1 defaults.pcm.device 0
Code: Select all
ASOUNDOPTION="" if [ -f /etc/asound.conf ];then #see if MultipleSoundCardWizard was used CARD=$(head -1 /etc/asound.conf) DEFAULTCARD=${CARD##* } ASOUNDOPTION="-c $DEFAULTCARD" fi VOLUMECONTROL=$(amixer $ASOUNDOPTION controls | grep 'Playback Volume')
This is the code I included in func_config to detect speakers for ACTIVE card. Please test in pMusic-2.9.5
Code: Select all
#To find available speakers, we must first detect soundcard number
if [ "$SOUND_DEVICE" = "auto" ]; then
if [ -f /etc/asound.conf ]; then #see if MultipleSoundCardWizard was used
TMP=$(head -1 /etc/asound.conf)
CARD_NR=${TMP##* }
else
TMP="`aplay -l | grep -m 1 -F card`" #grab the first card
CARD_NR="`echo $TMP | cut -d':' -f1 | cut -d' ' -f2`"
fi
else
CARD_NR="`echo $SOUND_DEVICE | cut -d':' -f1 | cut -d' ' -f2`"
fi
export SPEAKERS=`amixer -c $CARD_NR controls | grep 'Playback Volume' | cut -d "'" -f 2 | sed -e "s/ Playback Volume//g" | tr -s ' ' '_' | awk '{print "<item>"$1"</item>"}' | tr -s '_' ' '`
Download pMusic 3 - Beta here
Last edited by zigbert on Thu 01 Nov 2012, 19:33, edited 2 times in total.
I will add dependencies info in the next pet.Flash wrote:I did install Pequalizer. It didn't complain about missing libs.
Thank you
Sigmund
Download pMusic 3 - Beta here