Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
System sound volume
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Plugin Author
- Posts: 37
- Joined: March 30th, 2006, 1:50 pm
- Contact:
System sound volume
I have develped a plugin that displays current system sound volume
Usage:
Text01="Volume $dll(volume,1,,)"
Text02="Volume $dll(volume,2,,)"
Text03="Volume $dll(volume,3,,)"
Text04="Volume $dll(volume,4,,)"
Will display:
Volume 0%
Volume
Volume 0
Volume 00
I know there is some features that my be added but it's a start at least.
The plugin requires .NET framework 1.1 and can be found here: http://erlis.se/lcdsmartie/volume.dll
Edit: new url.
Usage:
Text01="Volume $dll(volume,1,,)"
Text02="Volume $dll(volume,2,,)"
Text03="Volume $dll(volume,3,,)"
Text04="Volume $dll(volume,4,,)"
Will display:
Volume 0%
Volume
Volume 0
Volume 00
I know there is some features that my be added but it's a start at least.
The plugin requires .NET framework 1.1 and can be found here: http://erlis.se/lcdsmartie/volume.dll
Edit: new url.
Last edited by erlis on March 31st, 2006, 8:15 am, edited 1 time in total.
-
- LCD Smartie Fanatic
- Posts: 132
- Joined: March 9th, 2005, 2:21 pm
- Location: UK
great!
Thanks! I'll try it out tonight.
What prerequisites does it have? Will the dll just work, or do I need any frameworks installed too?
What prerequisites does it have? Will the dll just work, or do I need any frameworks installed too?
-
- Plugin Author
- Posts: 37
- Joined: March 30th, 2006, 1:50 pm
- Contact:
-
- LCD Smartie Fanatic
- Posts: 132
- Joined: March 9th, 2005, 2:21 pm
- Location: UK
Yey!
Woo! It's working great!
Now I have a bar showing my volume.
Thanks so much!
Now I have a bar showing my volume.
Thanks so much!
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 26
- Joined: March 6th, 2006, 3:08 am
Cool plugin. I gotta try this tonight.
I have a more of a general question, is it possible to have this plugin display on the screen for only a few seconds while the volume is being changed? and then have the screen revert back to whatever else it was displaying.
This is probably more of a LCD Smartie question, than for this plugin.
I have a more of a general question, is it possible to have this plugin display on the screen for only a few seconds while the volume is being changed? and then have the screen revert back to whatever else it was displaying.
This is probably more of a LCD Smartie question, than for this plugin.
-
- Plugin Author
- Posts: 37
- Joined: March 30th, 2006, 1:50 pm
- Contact:
I have updated the plugin so function5 returns 1 if the volume has changed and 0 if it hasn't.johnmacd wrote:Cool plugin. I gotta try this tonight.
I have a more of a general question, is it possible to have this plugin display on the screen for only a few seconds while the volume is being changed? and then have the screen revert back to whatever else it was displaying.
This is probably more of a LCD Smartie question, than for this plugin.
So add an action like this in your smartie.ini
Code: Select all
Action03Variable=$dll(volume,5,1,1)
Action03Condition=2
Action03ConditionValue=1
Action03Action=GotoScreen(15)
-
- LCD Smartie Fanatic
- Posts: 132
- Joined: March 9th, 2005, 2:21 pm
- Location: UK
single bar.
EDIT: No need to to this anymore thanks to the tiny bar plugin! http://www.lansley.co.uk/forum/phpBB2/v ... .php?t=561
I'll leave this post here in case it gives others ideas.
I've created a 'signal strength' type triangle to show my system volume in one charactor space.
Here's what it looks like when animated. In reality, it just moves up and down when I press my volume buttons.

My Dell multimedia keyboard has volume buttons on it. When pressed they raise and lower the system volume by exactly 4%. So, by using sandr.dll to detect volumes of 0%, 4%, 8%... etc. I can then have it replace those numerical percentages with a custom character.
Here's the code I'm using in smartie. Note that the volume is shown as +volwithleadingzero+.
Here's the omit.ini file I'm using with sandr.dll. The string "16" is contained in $CustomChar(8,0,0,0,0,0,0,0,16) so I had to put in a work around to stop 16 being replaced in the customchar when the volume was at 16%. I chose to wrap my volumes with + symbols.
It works well, but stops working if the volume goes to a value I'm not replacing, like 25%. That will only happen if I change the volume using something other than my keyboard.
Is there a rounding function in smartie I can use to round the volume %s to the nearest 5% say?
I'll leave this post here in case it gives others ideas.
I've created a 'signal strength' type triangle to show my system volume in one charactor space.
Here's what it looks like when animated. In reality, it just moves up and down when I press my volume buttons.

My Dell multimedia keyboard has volume buttons on it. When pressed they raise and lower the system volume by exactly 4%. So, by using sandr.dll to detect volumes of 0%, 4%, 8%... etc. I can then have it replace those numerical percentages with a custom character.
Here's the code I'm using in smartie. Note that the volume is shown as +volwithleadingzero+.
Code: Select all
$dll(sandr,1,+$dll(volume,4,,)+,)$Chr(136)
Code: Select all
[Search1]
1=+00+
2=+04+
3=+08+
4=+12+
5=+16+
6=+20+
7=+24+
8=+28+
9=+32+
10=+36+
11=+40+
12=+44+
13=+48+
14=+52+
15=+56+
16=+60+
17=+64+
18=
19=
20=
[Replace1]
1=$CustomChar(8,0,0,0,0,0,0,0,0)
2=$CustomChar(8,0,0,0,0,0,0,0,0)
3=$CustomChar(8,0,0,0,0,0,0,0,16)
4=$CustomChar(8,0,0,0,0,0,0,24,16)
5=$CustomChar(8,0,0,0,0,0,0,24,16)
6=$CustomChar(8,0,0,0,0,0,24,24,16)
7=$CustomChar(8,0,0,0,0,0,24,24,16)
8=$CustomChar(8,0,0,0,0,28,24,24,16)
9=$CustomChar(8,0,0,0,0,28,24,24,16)
10=$CustomChar(8,0,0,0,28,28,24,24,16)
11=$CustomChar(8,0,0,0,28,28,24,24,16)
12=$CustomChar(8,0,0,30,28,28,24,24,16)
13=$CustomChar(8,0,0,30,28,28,24,24,16)
14=$CustomChar(8,0,30,30,28,28,24,24,16)
15=$CustomChar(8,0,30,30,28,28,24,24,16)
16=$CustomChar(8,31,30,30,28,28,24,24,16)
17=$CustomChar(8,31,30,30,28,28,24,24,16)
18=
19=
20=
Is there a rounding function in smartie I can use to round the volume %s to the nearest 5% say?
Last edited by fishthecat on April 11th, 2006, 12:41 am, edited 1 time in total.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- LCD Smartie Fanatic
- Posts: 132
- Joined: March 9th, 2005, 2:21 pm
- Location: UK
Hey, that's a nice plugin which works brilliantly.limbo wrote:@ fishthecat
I don't know if you noticed about the tiny bar plugin...
The animation is similar to this.... Please check it!
I'm going to add this style to my plugin if you agree on this!
Do you agree to add this style on next release of the plugin?
However, I'm using the winamp graphic equaliser on the same screen. I've set it to use 7 of the 8 custom chars. That gives me 1 customchar to use for volume, char #8. Tiny bar looks to use all 8 chars, rather than re-setting one customchar, so it's stops the graphic equaliser from working.
Is there a problem with me re-setting the customchar each time like I have above?
Would there be an issue with Tiny Bar being tweaked to use just one custom char, and for us to tell it which one ( 1-8 ) to use?
EDIT: Are you asking if you can add that triangle to Tiny bar as say style 7? If so, please go ahead.

-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
-
- Posts: 13
- Joined: April 15th, 2006, 5:40 pm
-
- Plugin Author
- Posts: 37
- Joined: March 30th, 2006, 1:50 pm
- Contact:
Hmm, strange, I haven't had anyproblems myself with this..Pleng2006 wrote:Hmmm I'm using the following line:
$dll(volume,1,,)
And my lcd (imon) is showing 2101%
It occasionally flips between 15xxxx and 0 but is usually 2101
My soundcard is a EMU 1212m, but as it's supposed to be displaying the system volume this shouldnt really have any effect?
Does the value change when you change the system sound volume?
What kind of drivers are you using for your soundcard?
Are you using .NET Framework 1.1?
-
- Posts: 13
- Joined: April 15th, 2006, 5:40 pm
-
- Posts: 6
- Joined: January 28th, 2007, 9:02 pm
- Location: London
Volume Muted
Is there any way to know when the volume is muted (rather than simply set to 0)? Would be cool to have a mute icon.
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
Re: Volume Muted
Use my search and replace plugin!HartleyC wrote:Is there any way to know when the volume is muted (rather than simply set to 0)? Would be cool to have a mute icon.
Take a look here: http://forums.lcdsmartie.org/viewtopic.php?t=733
-
- Posts: 6
- Joined: January 28th, 2007, 9:02 pm
- Location: London
Re: Volume Muted
Yes, that's what I had in mind. However I need to know when the volume is muted in the first place - volume 0 and volume muted are different values (I think).limbo wrote:Use my search and replace plugin!HartleyC wrote:Is there any way to know when the volume is muted (rather than simply set to 0)? Would be cool to have a mute icon.
Take a look here: http://forums.lcdsmartie.org/viewtopic.php?t=733
-
- Posts: 2
- Joined: October 23rd, 2007, 8:55 pm
Hey everyone,
I'm pretty new to LCD Smartie but I already love it. It lets me do exactly what I want with my LCD. Until recently I was looking for a way to show my system volume on the LCD and now I seem to have found it.
I got really excited and wanted to try it out so I click the link and... is met by the not so wonderful "Server not found" page.
Therefore, I ask anyone to make this plugin available for me to download.
Thanks in advance
//A
I'm pretty new to LCD Smartie but I already love it. It lets me do exactly what I want with my LCD. Until recently I was looking for a way to show my system volume on the LCD and now I seem to have found it.
I got really excited and wanted to try it out so I click the link and... is met by the not so wonderful "Server not found" page.
Therefore, I ask anyone to make this plugin available for me to download.
Thanks in advance
//A
-
- Plugin Author
- Posts: 1604
- Joined: February 13th, 2005, 7:38 pm
- Location: Athens - Greece
- Contact:
Alzer wrote:Hey everyone,
I'm pretty new to LCD Smartie but I already love it. It lets me do exactly what I want with my LCD. Until recently I was looking for a way to show my system volume on the LCD and now I seem to have found it.
I got really excited and wanted to try it out so I click the link and... is met by the not so wonderful "Server not found" page.
Therefore, I ask anyone to make this plugin available for me to download.
Thanks in advance
//A

Log in and download it from here!
EDIT: Alzer use this with the tinybar plugin (download it from my site) you gonna love it!


You do not have the required permissions to view the files attached to this post.
-
- Posts: 2
- Joined: October 23rd, 2007, 8:55 pm
Thanks man! The download worked perfectly but I can't get it to work. It just says "[Dll: Can not load plugin]".limbo wrote:Say hello to your lucky star!
Log in and download it from here!
EDIT: Alzer use this with the tinybar plugin (download it from my site) you gonna love it!![]()
Maybe I did something wrong?
Let me retrace my steps:
1) Downloaded the .zip file
2) Placed the volume.dll in the LCD Smartie\plugins folder
3) Copied and pasted "Volume $dll(volume,1,,)" without the qoutes into one of the screens
I am using LCD Smartie 5.4 if that's any help.
//A
EDIT:
Missing .NET Framework and a missing .dll was the cause of the problem.
Everything works fine now. Thanks for all the help!
//A
-
- Posts: 1
- Joined: March 20th, 2007, 10:36 am
I entered the lines but it does not work, please help me.
erlis wrote:I have updated the plugin so function5 returns 1 if the volume has changed and 0 if it hasn't.johnmacd wrote:Cool plugin. I gotta try this tonight.
I have a more of a general question, is it possible to have this plugin display on the screen for only a few seconds while the volume is being changed? and then have the screen revert back to whatever else it was displaying.
This is probably more of a LCD Smartie question, than for this plugin.
So add an action like this in your smartie.iniNow you can specify what you whant to show when the volume changes on Screen 15.Code: Select all
Action03Variable=$dll(volume,5,1,1) Action03Condition=2 Action03ConditionValue=1 Action03Action=GotoScreen(15)
-
- Plugin Author
- Posts: 37
- Joined: March 30th, 2006, 1:50 pm
- Contact:
-
- Posts: 9
- Joined: September 27th, 2007, 12:55 am
- Contact:
-
- Posts: 53
- Joined: September 26th, 2007, 5:33 pm
- Contact:
Re: single bar.
Adapt the one I've done for my imon,fishthecat wrote:EDIT: No need to to this anymore thanks to the tiny bar plugin! http://www.lansley.co.uk/forum/phpBB2/v ... .php?t=561
I'll leave this post here in case it gives others ideas.
I've created a 'signal strength' type triangle to show my system volume in one charactor space.
Here's what it looks like when animated. In reality, it just moves up and down when I press my volume buttons.
My Dell multimedia keyboard has volume buttons on it. When pressed they raise and lower the system volume by exactly 4%. So, by using sandr.dll to detect volumes of 0%, 4%, 8%... etc. I can then have it replace those numerical percentages with a custom character.
Here's the code I'm using in smartie. Note that the volume is shown as +volwithleadingzero+.Here's the omit.ini file I'm using with sandr.dll. The string "16" is contained in $CustomChar(8,0,0,0,0,0,0,0,16) so I had to put in a work around to stop 16 being replaced in the customchar when the volume was at 16%. I chose to wrap my volumes with + symbols.Code: Select all
$dll(sandr,1,+$dll(volume,4,,)+,)$Chr(136)
It works well, but stops working if the volume goes to a value I'm not replacing, like 25%. That will only happen if I change the volume using something other than my keyboard.Code: Select all
[Search1] 1=+00+ 2=+04+ 3=+08+ 4=+12+ 5=+16+ 6=+20+ 7=+24+ 8=+28+ 9=+32+ 10=+36+ 11=+40+ 12=+44+ 13=+48+ 14=+52+ 15=+56+ 16=+60+ 17=+64+ 18= 19= 20= [Replace1] 1=$CustomChar(8,0,0,0,0,0,0,0,0) 2=$CustomChar(8,0,0,0,0,0,0,0,0) 3=$CustomChar(8,0,0,0,0,0,0,0,16) 4=$CustomChar(8,0,0,0,0,0,0,24,16) 5=$CustomChar(8,0,0,0,0,0,0,24,16) 6=$CustomChar(8,0,0,0,0,0,24,24,16) 7=$CustomChar(8,0,0,0,0,0,24,24,16) 8=$CustomChar(8,0,0,0,0,28,24,24,16) 9=$CustomChar(8,0,0,0,0,28,24,24,16) 10=$CustomChar(8,0,0,0,28,28,24,24,16) 11=$CustomChar(8,0,0,0,28,28,24,24,16) 12=$CustomChar(8,0,0,30,28,28,24,24,16) 13=$CustomChar(8,0,0,30,28,28,24,24,16) 14=$CustomChar(8,0,30,30,28,28,24,24,16) 15=$CustomChar(8,0,30,30,28,28,24,24,16) 16=$CustomChar(8,31,30,30,28,28,24,24,16) 17=$CustomChar(8,31,30,30,28,28,24,24,16) 18= 19= 20=
Is there a rounding function in smartie I can use to round the volume %s to the nearest 5% say?
http://forums.lcdsmartie.org/viewtopic.php?t=1635
I guess the code could be really tidied up like you've done yours, using the sandr.dll plugin.
I wish the warnif was more like an "IF... ELSE..."