pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2086 Post by zigbert »

Tested pmusic -B in latest Slacko - works. Do you have any idea why it doesn't work in Xersus?

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#2087 Post by BarryK »

don570 wrote:I tested pmusic 5.0.1 (and beta as well)
in Barry K's latest Xersus distro
and I found a strange thing

pmusic -B option doesn't work
pmusic -b does work

Apparently this is only distro that shows this.

I discovered this by trying to use pschedule and pmusic together.

________________________________________________________
don570,
Good that you are testing 5.0.1, Quirky Xerus 8.0 only has 5.0.0.
[url]https://bkhome.org/news/[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2088 Post by don570 »

I think pmusic -B doesn't work with in version 5.0 as well.

Maybe it's just my machine. It has problems with pschedule and Xersus
and Werewolf . --> Very odd. No problems with 32 bit OS.

I'll test it again. I have another IBM model for testing.
_________________________________________________

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2089 Post by Flash »

I just used Pmusic 5.0.1 to fill in the metatdata of a several audiobooks that I had converted to mp3. Masstagger worked perfectly in Quirky Werewolf 64. I've only just burned a DVD of Quirky Xerus64-8.0. I won't be booting it for a while yet, but I'll try Pmusic in it when I do.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2090 Post by don570 »

Bad news. pmusic showed the same behaviour in 32 bit Slacko Puppy 5.9.3.

I tested on two IBM machines with different motherboards.
I noticed that pschedule uses bash and pclock sh shell but that doesn't matter
in puppy :lol:

pmusic -B /root/puppy-reference/audio/2barks.wav doesn't work

however the first time use results in brief flashing of the indexing message.

I tried the terminal and looked at the top command.

Code: Select all

sh -c while [ ! -f /root/.pclock/tmp/end_while ]; do func_time; sleep 0.05
Note that this command is running in background.
I set up pschedule to play the sound every minute.


Video-Info 1.5.1 - Mon 25 Apr 2016 on Slacko Puppy 5.9.3 - Linux 3.4.94 i686

Note that pmusic -b in terminal results in another command (func_player)
working as well and the command isn't finished in terminal.

Whereas pmusic -B results in quick showing of shell prompt again
indicating that the command has executed (no error warning and no sound)

Code: Select all

# pmusic -b /root/puppy-reference/audio/2barks.wav
/root/puppy-reference/audio/2barks.wav|2barks.wav||||||||pcm_s16le|Hz,|00:00||/root/puppy-reference/audio/2barks.wav|gtk-audio||||||,1461575297
# /usr/local/pmusic/func_player: line 26:   770 Killed                  $APPDIR/func_player -playing "$2"
^C

Code: Select all

# pmusic -B /root/puppy-reference/audio/2barks.wav
# pmusic -v
pMusic 5.0.0




______________________________________________________

Code: Select all

15138 15079 root     S     250m  17%   1   1% gtkdialog4 -f /root/.pclock/tmp/pclock_xml
15149 15138 root     S    14008   1%   0   1% sh -c while [ ! -f /root/.pclock/tmp/end_while ]; do func_time; sleep 0.05; done
10315 10307 root     S <   178m  12%   1   0% /usr/lib/xorg/Xorg :0 -br -nolisten tcp
14962 14960 root     S     167m  11%   1   0% retrovol -hide
14928 14926 root     S     116m   8%   0   0% /root/Startup/freememapplet_tray
    7     2 root     SW       0   0%   1   0% [rcu_sched]
 6825     1 root     S     323m  22%   0   0% /usr/sbin/smbd -D
 6928  6825 root     S     323m  22%   1   0% /usr/sbin/smbd -D
 6859  6825 root     S     319m  21%   0   0% /usr/sbin/smbd -D
 6874     1 root     S     231m  15%   1   0% /usr/sbin/nmbd -D
  920 11959 root     S     208m  14%   1   0% geany /root/file.txt
11959     1 root     S     176m  12%   0   0% /usr/local/apps/ROX-Filer/ROX-Filer -p /root/Choices/ROX-Filer/PuppyPin
11109 10307 root     S     160m  11%   1   0% jwm
17330 16869 root     S     127m   9%   0   0% gtkdialog -p pschedule
14953 14951 root     S     116m   8%   1   0% /root/Startup/network_tray
14924 14922 root     S     116m   8%   0   0% /usr/local/bluepup/bluepup_tray
 6248     1 root     S    84356   6%   0   0% /usr/sbin/cupsd -C /etc/cups/cupsd.conf -s /etc/cups/cups-files.conf
25501 11959 root     S    48044   3%   0   0% /usr/bin/urxvt
29251 11959 root     S    47724   3%   1   0% /usr/bin/urxvt
12704 11109 root     S    41720   3%   1   0% xload -nolabel -bg #888888 -fg red -hl white
 6365     1 messageb S    36444   2%   0   0% /usr/bin/dbus-daemon --system
 6938     1 root     S    29556   2%   0   0% /usr/sbin/bluetoothd
  612     1 root     S    26944   2%   1   0% udevd --daemon --resolve-names=early
10307  9841 root     S    16068   1%   0   0% /usr/bin/xinit /root/.xinitrc -- -br -nolisten tcp
25514 25501 root     S    15768   1%   1   0% bash
29252 29251 root     S    15768   1%   1   0% bash
 9629     1 root     S    15728   1%   1   0% -sh
15079 11109 root     S    14124   1%   0   0% {pclock} /bin/sh /usr/sbin/pclock
16869 16868 root     S    13548   1%   1   0% {pschedule} /bin/bash /usr/local/pschedule/pschedule

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2091 Post by don570 »

I did a further test ...

I put the following code at beginning of play app

Code: Select all


#!/bin/bash
#pMusic - play engine
#GPL - Copyright Sigmund Berglund
xmessage here play "$1" "$2" + "$3"
...and here are the results. I hope this helps you understand.

pmusic -b
Image

________________________________________________________


pmusic -B
Image

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2092 Post by zigbert »

Finally some time to look into this -B issue. Sorry for the delay!
I can reproduce it when using the exact same audio-file as don570. Playing an ordinary song works for me.

This is not a Quirky issue!
I will look into it.

Thank you for testing and feedback
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2093 Post by zigbert »


User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2094 Post by don570 »

pclock now gives an alarm while using xerus 64 bit with the change!

__________________________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2095 Post by zigbert »

don570 wrote:pclock now gives an alarm while using xerus 64 bit with the change!
Great. Thanks for sharing.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#2096 Post by 01micko »

Minor issue.. in the 'sound processing' gui the speaker icon seems locked on 'mute' and wont toggle, just the icon.. the functionality does actually work. That is when I click the icon the sound gets muted/unmuted so it is just the icon not refreshing.
Puppy Linux Blog - contact me for access

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2097 Post by zigbert »

01micko wrote:Minor issue.. in the 'sound processing' gui the speaker icon seems locked on 'mute' and wont toggle, just the icon.. the functionality does actually work. That is when I click the icon the sound gets muted/unmuted so it is just the icon not refreshing.
It is not meant to toggle. Reason: I don't know how to detect if sound is muted by another app.

pMusic stores the mute status in ~/.pmusic/tmp/func_mixer-MUTE.
The mute-toggle-function looks like this

Code: Select all

if [ "$(<$WORKDIR/func_mixer-MUTE)" = "true" ]; then
	amixer -c $CARD_NR set "$SPEAKER" unmute > /dev/null 2>&1
	echo false > $WORKDIR/func_mixer-MUTE
else
	amixer -c $CARD_NR set "$SPEAKER" mute > /dev/null 2>&1
	echo true > $WORKDIR/func_mixer-MUTE
fi

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2098 Post by zigbert »

Ok, found it, will fix ;)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2099 Post by zigbert »

The mute-toggle will be in the next major release - 5.1.0.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2100 Post by zigbert »

Version 5.0.2
See main post

Changelog
- Bugfix: Play 1sec files with -B switch. (thanks to don570)
- Bugfix: Rename source file.
- Bugfix: Refresh sourcelist without direct user interaction.
- Bugfix: Missing icon on search-button in dock.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2101 Post by don570 »

I'll try it with fatdog arm and report back.
_______________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2102 Post by don570 »

I remade the package for fatdog arm and it works fine.
___________________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2103 Post by zigbert »

don570
Thank you

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2104 Post by zigbert »

Development release
Much is done, but more to do.

Note!
Delete/Rename existing /root/.pmusic directory before installing this release.

Tempo detection and extended Smartadd
Realtime sound processing
Basic visualization
Attachments
pmusic-5.1.0.pet
(110.41 KiB) Downloaded 202 times

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

pmusic-5.1.0.pet

#2105 Post by sheldonisaac »

zigbert wrote:Development release
"Failed to install' under Lucid Puppy 5.2.8.7

Installed & works under Slim Slacko

Thank you,
Sheldon
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

Post Reply