pMusic 6.0.0
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
don570,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.
________________________________________________________
Good that you are testing 5.0.1, Quirky Xerus 8.0 only has 5.0.0.
[url]https://bkhome.org/news/[/url]
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
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.
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)
______________________________________________________
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
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
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
I did a further test ...
I put the following code at beginning of play app
...and here are the results. I hope this helps you understand.
pmusic -b
________________________________________________________
pmusic -B
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"
pmusic -b
________________________________________________________
pmusic -B
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
It is not meant to toggle. Reason: I don't know how to detect if sound is muted by another app.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.
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
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
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
-
- Posts: 902
- Joined: Mon 22 Jun 2009, 01:36
- Location: Philadelphia, PA
pmusic-5.1.0.pet
"Failed to install' under Lucid Puppy 5.2.8.7zigbert wrote:Development release
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
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P