|
|
|
|
#1 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
hmm, it seems they have moved it, this is the correct place now:
PHP Code:
|
|
|
|
|
|
#2 |
|
Major Dude
|
cool! thanks a lot! where can i find these settings, so that i don'T have to ask everytime?
Frozen skins: Gravestone Betaskins: Mushroom ::-:: The Claw In development: TechnodropFinished: Draculas Helmet (<-- still waiting for some color themes!) ::-:: Hal's eye |
|
|
|
|
|
#3 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
they are in the config registry..
the ConfigItem is the section in the left treecolumn and the attribute is the settingsname in the right column.. -Plague |
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
just a quick bat file for use with pngcrush (handy dos utility to reduce your bloated pngs
), this will crush the pngs in the specific folder & move the originals to a new folder (for safe keeping ) & then move the new crushed pngs back to the original folderhandy for the last skin optimisations ![]() use at own risk it works on my box ![]() @ECHO OFF REM ******************************************************************************************************** REM REM this will pngcrush all pngs and output the new crushed pngs to the output folder REM it will create a source folder within your folder and move the original pngs to that for safe keeping REM copy pngcrush.exe and this file to each of your png folders you want to crush REM USE AT OWN RISK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! REM REM ******************************************************************************************************** REM Basic pngcrush -d dir [other options] files.png ... CLS @ECHO ON ECHO Making an Originalsource folder md originals pause ECHO Crushing those bloated pngs pngcrush -d output *.png *.png pause ECHO Moving all original pngs to source folder move *.png originals\ pause ECHO Moving all crushed pngs to original folder move output\*.png pause ECHO Complete pause |
|
|
|
|
|
#5 |
|
Major Dude
|
hey guys... it's me... again *g*...
i just wanted to be safe that i can't enable desktopalpha in any way, when i've included the colorthemes list in the skin. or am i wrong there? (i hope so) Frozen skins: Gravestone Betaskins: Mushroom ::-:: The Claw In development: TechnodropFinished: Draculas Helmet (<-- still waiting for some color themes!) ::-:: Hal's eye |
|
|
|
|
|
#6 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
the window you have included the colorthemes list in cannot have desktopalpha.
there is ONE workaround for that, but it's tricky and it might not work for you.. Check Invicta, it uses the workaround for the shademode playlist drawer. I think what they did was make the colorthemes list it's own groupdef outside of any window and then locked it to a window and set owner and shit.. It's all in there but like I said, a bit tricky perhaps and might not work for you.. -Plague |
|
|
|
|
|
#7 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
this is one of the last things i want to do on my wip skin atm is to get the playlist in the stick mode, ill post a generic workaround when i get it working, ill be doing it in the next few days as beta 3 is now done (tonite)
![]() only got any additional wa5 changes to make to it & more colour themes, btw would be nice if ya could check it out grfx, code have all been improved , i dont like the NON dta mode on it but it works more or less in this mode. http://slob.org.uk/wa5/UFO_beta3.walive started a part of the pl just got the xml repositioning to do for the playlist |
|
|
|
|
|
#8 |
|
Major Dude
|
hmmm... i have it in an extra group, include this group in another one and include THIS group in another and include this to the mainplayer... i already checked invicta out, but that's to difficult for me...perhaps i've gotta make an extra window for the colorthemes, as always :-/ ...
Frozen skins: Gravestone Betaskins: Mushroom ::-:: The Claw In development: TechnodropFinished: Draculas Helmet (<-- still waiting for some color themes!) ::-:: Hal's eye |
|
|
|
|
|
#9 |
|
Sunshine
(Major Dude) Join Date: Jan 2003
Location: Brisvegas, Australia
Posts: 1,248
|
hey guys,
with texts in winamp, is it possible to add a stroke to the outside thru layer effects or sumthin? just wanting to know cause in my new skin just wanting to use lower and upper case but can't add stroke unless its a bitmap, and as we all know u can't have 2 cases in it . n e help that u can give is very appreciated.-matt |
|
|
|
|
|
#10 |
|
Junior Member
|
I know its been said many times but I am having problems with the drawer script. This is my first time actually working on a skin for any version of winamp and I am unsure of many things. I will pm someone the skin as it is grossly incomplete.
|
|
|
|
|
|
#11 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
Hey guys. Acctualy this one geos to IPlaytheSpoon but if some of you can help me, then just do it. Ok here is my problem. I´ve used the dropdown list code from Iplaythespoons skin classix. My problem is i dun know what i am doing wrong but some how it dun wanna work. I hope you can help me. Check the attch. It contains the xml and maki file.
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#12 |
|
Major Dude
|
what parts not working? i see some potential problems, but id like to know whats not working...
Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code) WIP: Aeschere | Manta | Winamp 5 SingleGUI Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin |
|
|
|
|
|
#13 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
If you looked in the maki you can see i wanna hide or show some party in the skin and that part deosn´t work. Nothing happens when i choose a string in the dropdown menu. That is my problem
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#14 |
|
Major Dude
|
i dunno if it'S been asked before, but i'll just asked. if it's already been answered please just tell me so.
ok: alpha-fading: in winamp3 it was no problem letting an object fade in or out with gototarget. similar thing in winamp5, but in wa5 it'S looking like he would do it with breaks, and that's looking pretty silly. any ideas how to solve that? please don't tell me to shorten the fading time, it's ok as it is, and in wa3 it's working fine.... Frozen skins: Gravestone Betaskins: Mushroom ::-:: The Claw In development: TechnodropFinished: Draculas Helmet (<-- still waiting for some color themes!) ::-:: Hal's eye |
|
|
|
|
|
#15 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
hey guys. There is a wa5 bug with the old cutomsvis script. You can ask rontz. Sometime the vis disapears even if there is no empty frame in the png. I made a new one with somechanges.Here is the code. It isn´t anthing special, but works without any bugs:
code: Hope you like it
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#16 |
|
Major Dude
|
no, carlos, i dont much like it. in the future dont change a script to "fix" it when youre not even doing it the right way. next time one of my scripts isnt working for you, contact me, and ill fix it the right way. thank you
Published: OvalAmp | Scythe | Simple Amp(code) | PAD(code) | Classix10k | LayerONE (code) WIP: Aeschere | Manta | Winamp 5 SingleGUI Need some help? How to write a MAKI script | Custom Vis Script | Add a Notifier to Your Skin |
|
|
|
|
|
#17 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
OK !
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#18 |
|
Junior Member
Join Date: Feb 2004
Posts: 23
|
Ok. Here's a twisted question. Earlier posts told us how to make Treble and Bass knobs, but I want a 'combination' knob. Move it one way and the treble goes up(Base Down), the other does the reverse. You could kinda say that its a Eq-Slider, in that the dial will influence the highest point, and the rest will fall into line. (Preferably by a curve, though I'm not fussed.)
ie: at 50% the eq would look like this ....--.... ..-||||-.. -||||||||- |||||||||| And 100% like this: .......-- ....--||| .--|||||| ||||||||| Where the Dashes are the highest points of the eq-bars, Do you get the picture? |
|
|
|
|
|
#19 |
|
Member
Join Date: Feb 2004
Posts: 92
|
i have a prob with the autorepeatvolumebuttons.maki. it seems like it's not working properly. it gave the volume adjusting fxn to buttons but not as mentioned. clicking on (whether i hold or not) doesn't effect volume level. but when i use mouse wheel while the curser is over either of them volume changes.
<!-- Shade Volume Control --> <groupdef id="player.shade.group.volume.control" w="28" h="25"> <button id="VolUp" x="0" y="0" image="player.shade.button.volup" hoverImage="player.shade.button.volup.over" downImage="player.shade.button.volup.down" tooltip="+ volume +"/> <button id="VolDown" x="0" y="12" image="player.shade.button.voldown" hoverImage="player.shade.button.voldown.over" downImage="player.shade.button.voldown.down" tooltip="- volume -"/> </groupdef> <layout id="shade" w="300" h="24" droptarget="pldr"> <group id="player.shade.group.base" x="0" y="0"/> <group id="player.shade.group.display" x="33" y="4"/> <group id="player.shade.group.controlbuttons" x="157" y="6"/> <group id="player.shade.group.volume.control" x="273" y="0"/> <group id="player.shade.group.winbuttons" x="8" y="9"/> <script id="ARVB" file="scripts/autorepeatvolumebuttons.maki"/> <script id="oldtimer" file="scripts/oldtimer.maki"/> <script id="mainscript" file="scripts/main.maki"/> </layout> |
|
|
|
|
|
#20 |
|
Senior Member
|
does anyone know how to go about putting the status of repeat and shuffle in the songticker like in the winamp5 modern skin?
|
|
|
|
|
|
#21 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
thi i what you need:
code: Probably need to change it a little bit. my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#22 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
umm, for example, you need to specify what attr_repeat, attr_shuffle, attr_crossfade are... you haven't..
edit: PHP Code:
-Plague |
|
|
|
|
|
#23 |
|
Junior Member
Join Date: Mar 2001
Posts: 29
|
How could a script change the crossfade length in Winamp 5.02? The abscence of a Configurification Registry is making this difficult for me...I was thinking of having a button popup a menu of crossfade times. I notice that the Modern Skin has a crossfade-length chooser, but it doesn't really work--changing the crossfade number doesn't produce any effect.
|
|
|
|
|
|
#24 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
It deos my friend. You need to choose directsound as output and then just try it again. You can make a set the corsfade lenght throw a popup.You make a crossfade slider in your xml file. Then you get the slider position throw this:
PHP Code:
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#25 |
|
Junior Member
Join Date: Mar 2001
Posts: 29
|
Thanks for the reply! However, returning the position of the slider will return a value between 0 and 255, which isn't necessarily the value itself of the crossfade time, right?
|
|
|
|
|
|
#26 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
The silder it self tells winamp how long the crossfade length acctauly is.
code: The maximum of silder is 20 secs. That means if slider position is 255 length is 20 secs. You just change the value of your integer and then you can post the rigth value to the slider. my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#27 | |
|
Forum Pirate
Beta Team Join Date: Oct 2001
Posts: 2,032
|
Quote:
|
|
|
|
|
|
|
#28 |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
yea, just use:
PHP Code:
and yes, you need config.mi for it, so what? just get it from wasabi.player or winamp3 or whatever. -Plague |
|
|
|
|
|
#29 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
How you mean? Isn't it maki allready?
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#30 | |
|
f(caffeine){
return wasabi; } (Forum King) Join Date: Jul 2001
Location: Sweden
Posts: 3,984
|
Quote:
what you do, is control it in xml and then just control the slider from maki, you don't actually control the values from maki, which means that it's not reliable. if you still dont have a clue how to do this, I have put together an example script for y'all which brings up a menu, when pressing a button, which contains Shuffle, Repeat, Crossfade and Crossfade Length (toggle between 0 and 1 sec in this example). -Plague |
|
|
|
|
|
|
#31 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
Ahh, i see. I didn´t thought about that. Now i undertand what you mean. It won't work with the way which was in my mind. But it is that easy
You are the WASABI god
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#32 |
|
Forum Pirate
Beta Team Join Date: Oct 2001
Posts: 2,032
|
doing it the whole maki way is the PROPPER way to do it
|
|
|
|
|
|
#33 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
You say it!
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#34 | |
|
Junior Member
Join Date: Nov 2003
Location: Star Base IV
Posts: 15
|
Back to Opacity
Quote:
For some background, in the last half of page 12 we were trying to solve the proble using WinAmp3, but ended with no resolution. |
|
|
|
|
|
|
#35 |
|
Major Dude
Join Date: Nov 2002
Location: Hamburg, Germany
Posts: 1,311
|
is there a way to cut the normal onrightmouse button popup out? i am making a skin and i dun want the user to get to the prefrences window(dun ask why).
my skins: Nokia 3650, Spiderman Freeform, M3 (Manual), Simpsons Freeform(Idea, Coding), Freeamp Metaskins: WooHoo-FER , Ar-7 |
|
|
|
|
|
#36 |
|
Major Dude
|
play2pause fix
i noticed frisbeemonkey's play2pause script doesn't work on wa5.02 very well so i fixed it up
PHP Code:
Croquet is the only real form of happiness Proud member of the Correct Grammar Association™. (CGA) 'All of your bases belong to us!' |
|
|
|
|
|
#37 |
|
Junior Member
Join Date: Feb 2004
Posts: 23
|
Ok. You can probably forget about the Equalizer question.
I think I'v found a way to do it using a string of values and function to rotate those values. Next question... I want to take two images and be able to selectively mask the main image by pointing it to a specific colour on the second. ie: in the images attached, if I specify blue, only the section corresponding to blue in my map should be visible on the source image. I think it can be done using the map objects in MAKI, but so far it only seams to map using an 'If Darker Than # then hide.' Please Help!!! |
|
|
|
|
|
#38 |
|
Member
Join Date: Aug 2002
Location: Somewhere
Posts: 70
|
you can use a map not in a file but in the maki file using a bitmap of some sort.
|
|
|
|
|
|
#39 |
|
Senior Member
Join Date: Apr 2004
Location: killeen, Texas
Posts: 276
|
hi i wrote this bass up script any body can use it, this script can be easily modde to change the highs.
// this script was created by hector hernandez aka "Boricuaso" // Do what you like with this script, if found usefull // oh this is my first script so its provably the worst writen one ever // but it does work so if you know of a more affitient way to // write this same script please email me so i can learn and update it" // hector.hernanadez1@us.army.mil // how to use: // make 2 buttons // id="bassup" and id="bassdown", // if you dont have an // id="songticker" make a dummy one. // thats it //------------------------------------------------------------- // never forget to include std.mi #include "../../../lib/std.mi" Global Button ToneUp,ToneDown; Global Text SongTicker; Global Timer Songtickertimer; Global Group findGroup; Global Int banda, bandb, bandc; //when script is loaded, do this System.onScriptLoaded() { findGroup = getScriptGroup(); // it looks for the apropiate group ToneUp = findGroup.findObject("bassup"); // find bassup button ToneDown = findGroup.findObject("bassdown"); // finds bassdown button SongTicker = findGroup.findObject("songticker"); // finds songticker SongTickerTimer = new Timer; SongTickerTimer.setDelay(750); // it tells the ticker for how long to display all text banda = 0; // it sets witch eq band gets moved i was experimenting bandb = 1; bandc = 2; } //it automaticaly closes the song tiker SongTickerTimer.onTimer() { SongTicker.setText(""); stop(); } // toneup button changes tone click from -127 to 127 toneup.onLeftButtonUp(int x, int y) { // it detects click on that button int toneupStatus = getPrivateInt("bass", "tone up", 0); //bass:if kyou have another script with this int you may get a conflict, tone up:it looks for this on the other private int, SongTickerTimer.stop(); // stops the timer for displaying the status SongTickerTimer.start(); // it starts it if (toneupStatus == 0) { // this is a position of the eq band we have 21 of them the set private int refers to this value System.setEqBand(banda, -120); // the (looks for what is band a, what level to set the band) System.setEqBand(bandb, -108); System.setEqBand(bandc, -84); setPrivateInt("bass", "tone up", 1); // if you hit the up button on this position its going to tone up status 1 setPrivateInt("bass", "tonedown", 20); // if you hit the down button lits going to send the slider to tonedown 20 SongTicker.setText("tone min -20%"); // it will display -20 on the song ticker } if (toneupStatus == 1) { System.setEqBand(banda, -108); System.setEqBand(bandb, -84); System.setEqBand(bandc, -72); setPrivateInt("bass", "tone up", 2); setPrivateInt("bass", "tonedown", 20); SongTicker.setText("tone -18%"); } if (toneupStatus == 2) { System.setEqBand(banda, -96); System.setEqBand(bandb, -84); System.setEqBand(bandc, -72); setPrivateInt("bass", "tone up", 3); setPrivateInt("bass", "tonedown", 19); SongTicker.setText("tone -16"); } if (toneupStatus == 3) { System.setEqBand(banda, -84); System.setEqBand(bandb, -72); System.setEqBand(bandc, -60); setPrivateInt("bass", "tone up", 4); setPrivateInt("bass", "tonedown", 18); SongTicker.setText("tone -14%"); } if (toneupStatus == 4) { System.setEqBand(banda, -72); System.setEqBand(bandb, -60); System.setEqBand(bandc, -48); setPrivateInt("bass", "tone up", 5); setPrivateInt("bass", "tonedown", 17); SongTicker.setText("tone -12%"); } if (toneupStatus == 5) { System.setEqBand(banda, -60); System.setEqBand(bandb, -48); System.setEqBand(bandc, -36); setPrivateInt("bass", "tone up", 6); setPrivateInt("bass", "tonedown", 16); SongTicker.setText("tone -10%"); } if (toneupStatus == 6) { System.setEqBand(banda, -48); System.setEqBand(bandb, -36); System.setEqBand(bandc, -24); setPrivateInt("bass", "tone up", 7); setPrivateInt("bass", "tonedown", 15); SongTicker.setText("tone -8%"); } if (toneupStatus == 7) { System.setEqBand(banda, -36); System.setEqBand(bandb, -24); System.setEqBand(bandc, -12); setPrivateInt("bass", "tone up", 8); setPrivateInt("bass", "tonedown", 14); SongTicker.setText("tone -6%"); } if (toneupStatus == 8) { System.setEqBand(banda, -24); System.setEqBand(bandb, -12); System.setEqBand(bandc, -0); setPrivateInt("bass", "tone up", 9); setPrivateInt("bass", "tonedown", 13); SongTicker.setText("tone -4%"); } if (toneupStatus == 9) { System.setEqBand(banda, -12); System.setEqBand(bandb, -0); System.setEqBand(bandc, -0); setPrivateInt("bass", "tone up", 10); setPrivateInt("bass", "tonedown", 12); SongTicker.setText("tone -2%"); } if (toneupStatus == 10) { System.setEqBand(banda, 0); System.setEqBand(bandb, 0); System.setEqBand(bandc, 0); setPrivateInt("bass", "tone up", 11); setPrivateInt("bass", "tonedown", 11); SongTicker.setText("tone 0%"); } if (toneupStatus == 11) { System.setEqBand(banda, 12); System.setEqBand(bandb, 0); System.setEqBand(bandc, 0); setPrivateInt("bass", "tone up", 12); setPrivateInt("bass", "tonedown", 10); SongTicker.setText("tone + 2%"); } if (toneupStatus == 12) { System.setEqBand(banda, 24); System.setEqBand(bandb, 12); System.setEqBand(bandc, 0); setPrivateInt("bass", "tone up", 13); setPrivateInt("bass", "tonedown", 9); SongTicker.setText("tone +4%"); } if (toneupStatus == 13) { System.setEqBand(banda, 36); System.setEqBand(bandb, 24); System.setEqBand(bandc, 12); setPrivateInt("bass", "tone up", 14); setPrivateInt("bass", "tonedown", 8); SongTicker.setText("tone +6%"); } if (toneupStatus == 14) { System.setEqBand(banda, 48); System.setEqBand(bandb, 36); System.setEqBand(bandc, 24); setPrivateInt("bass", "tone up", 15); setPrivateInt("bass", "tonedown", 7); SongTicker.setText("tone +8%"); } if (toneupStatus == 15) { System.setEqBand(banda, 60); System.setEqBand(bandb, 48); System.setEqBand(bandc, 36); setPrivateInt("bass", "tone up", 16); setPrivateInt("bass", "tonedown", 6); SongTicker.setText("tone +10%"); } if (toneupStatus == 16) { System.setEqBand(banda, 72); System.setEqBand(bandb, 60); System.setEqBand(bandc, 48); setPrivateInt("bass", "tone up", 17); setPrivateInt("bass", "tonedown", 5); SongTicker.setText("tone +12%"); } if (toneupStatus == 17) { System.setEqBand(banda, 84); System.setEqBand(bandb, 72); System.setEqBand(bandc, 60); setPrivateInt("bass", "tone up", 18); setPrivateInt("bass", "tonedown", 4); SongTicker.setText("tone +14%"); } if (toneupStatus == 18) { System.setEqBand(banda, 96); System.setEqBand(bandb, 84); System.setEqBand(bandc, 72); setPrivateInt("bass", "tone up", 19); setPrivateInt("bass", "tonedown", 3); SongTicker.setText("tone +16%"); } if (toneupStatus == 19) { System.setEqBand(banda, 108); System.setEqBand(bandb, 96); System.setEqBand(bandc, 84); setPrivateInt("bass", "tone up", 20); setPrivateInt("bass", "tonedown", 2); SongTicker.setText("tone +18%"); } if (toneupStatus == 20) { System.setEqBand(banda, 120); System.setEqBand(bandb, 108); System.setEqBand(bandc, 96); setPrivateInt("bass", "tone up", 20); setPrivateInt("bass", "tonedown", 1); SongTicker.setText("tone max +20%"); } } // tonedown button changes tone click from-127 to 0 to 127 ToneDown.onLeftButtonUp(int x, int y) { int tonedownStatus = getPrivateInt("bass", "tonedown", 0); SongTickerTimer.stop(); SongTickerTimer.start(); SongTicker.setText("tone down"); if (tonedownStatus == 0) { System.setEqBand(banda, 120); System.setEqBand(bandb, 108); System.setEqBand(bandc, 96); setPrivateInt("bass", "tonedown", 1); setPrivateInt("bass", "tone up", 20); SongTicker.setText("tone max +20%"); } if (tonedownStatus == 1) { System.setEqBand(banda, 108); System.setEqBand(bandb, 96); System.setEqBand(bandc, 84); setPrivateInt("bass", "tonedown", 2); setPrivateInt("bass", "tone up", 20); SongTicker.setText("tone +18%"); } if (tonedownStatus == 2) { System.setEqBand(banda, 96); System.setEqBand(bandb, 84); System.setEqBand(bandc, 72); setPrivateInt("bass", "tonedown", 3); setPrivateInt("bass", "tone up", 19); SongTicker.setText("tone +16%"); } if (tonedownStatus == 3) { System.setEqBand(banda, 84); System.setEqBand(bandb, 72); System.setEqBand(bandc, 60); setPrivateInt("bass", "tonedown", 4); setPrivateInt("bass", "tone up", 18); SongTicker.setText("tone +14%"); } if (tonedownStatus == 4) { System.setEqBand(banda, 72); System.setEqBand(bandb, 60); System.setEqBand(bandc, 48); setPrivateInt("bass", "tonedown", 5); setPrivateInt("bass", "tone up", 17); SongTicker.setText("tone +12%"); } if (tonedownStatus == 5) { System.setEqBand(banda, 60); System.setEqBand(bandb, 48); System.setEqBand(bandc, 36); setPrivateInt("bass", "tonedown", 6); setPrivateInt("bass", "tone up", 16); SongTicker.setText("tone +10%"); } if (tonedownStatus == 6) { System.setEqBand(banda, 48); System.setEqBand(bandb, 36); System.setEqBand(bandc, 24); setPrivateInt("bass", "tonedown", 7); setPrivateInt("bass", "tone up", 15); SongTicker.setText("tone +8%"); } if (tonedownStatus == 7) { System.setEqBand(banda, 36); System.setEqBand(bandb, 24); System.setEqBand(bandc, 12); setPrivateInt("bass", "tonedown", 8); setPrivateInt("bass", "tone up", 14); SongTicker.setText("tone +6%"); } if (tonedownStatus == 8) { System.setEqBand(banda, 24); System.setEqBand(bandb, 12); System.setEqBand(bandc, 0); setPrivateInt("bass", "tonedown", 9); setPrivateInt("bass", "tone up", 13); SongTicker.setText("tone +4%"); } if (tonedownStatus == 9) { System.setEqBand(banda, 12); System.setEqBand(bandb, 0); System.setEqBand(bandc, 0); setPrivateInt("bass", "tonedown", 10); setPrivateInt("bass", "tone up", 12); SongTicker.setText("tone +2%"); } if (tonedownStatus == 10) { System.setEqBand(banda, 0); System.setEqBand(bandb, 0); System.setEqBand(bandc, 0); setPrivateInt("bass", "tonedown", 11); setPrivateInt("bass", "tone up", 11); SongTicker.setText("tone 0%"); } if (tonedownStatus == 11) { System.setEqBand(banda, -12); System.setEqBand(bandb, -0); System.setEqBand(bandc, -0); setPrivateInt("bass", "tonedown", 12); setPrivateInt("bass", "tone up", 10); SongTicker.setText("tone -2%"); } if (tonedownStatus == 12) { System.setEqBand(banda, -24); System.setEqBand(bandb, -12); System.setEqBand(bandc, -0); setPrivateInt("bass", "tonedown", 13); setPrivateInt("bass", "tone up", 9); SongTicker.setText("tone -4%"); } if (tonedownStatus == 13) { System.setEqBand(banda, -36); System.setEqBand(bandb, -24); System.setEqBand(bandc, -12); setPrivateInt("bass", "tonedown", 14); setPrivateInt("bass", "tone up", 8); SongTicker.setText("tone -6%"); } if (tonedownStatus == 14) { System.setEqBand(banda, -48); System.setEqBand(bandb, -36); System.setEqBand(bandc, -24); setPrivateInt("bass", "tonedown", 15); setPrivateInt("bass", "tone up", 7); SongTicker.setText("tone -8%"); } if (tonedownStatus == 15) { System.setEqBand(banda, -60); System.setEqBand(bandb, -48); System.setEqBand(bandc, -36); setPrivateInt("bass", "tonedown", 16); setPrivateInt("bass", "tone up", 6); SongTicker.setText("tone -10%"); } if (tonedownStatus == 16) { System.setEqBand(banda, -72); System.setEqBand(bandb, -60); System.setEqBand(bandc, -48); setPrivateInt("bass", "tonedown", 17); setPrivateInt("bass", "tone up", 5); SongTicker.setText("tone -12%"); } if (tonedownStatus == 17) { System.setEqBand(banda, -84); System.setEqBand(bandb, -72); System.setEqBand(bandc, -60); setPrivateInt("bass", "tonedown", 18); setPrivateInt("bass", "tone up", 4); SongTicker.setText("tone -14%"); } if (tonedownStatus == 18) { System.setEqBand(banda, -96); System.setEqBand(bandb, -84); System.setEqBand(bandc, -72); setPrivateInt("bass", "tonedown", 19); setPrivateInt("bass", "tone up", 3); SongTicker.setText("tone -16%"); } if (tonedownStatus == 19) { System.setEqBand(banda, -108); System.setEqBand(bandb, -96); System.setEqBand(bandc, -84); setPrivateInt("bass", "tonedown", 20); setPrivateInt("bass", "tone up", 2); SongTicker.setText("tone -18%"); } if (tonedownStatus == 20) { System.setEqBand(banda, -120); System.setEqBand(bandb, -108); System.setEqBand(bandc, -96); setPrivateInt("bass", "tonedown", 20); setPrivateInt("bass", "tone up", 1); SongTicker.setText("tone min -20%"); } } |
|
|
|
|
|
#40 |
|
Major Dude
Join Date: Jul 2003
Location: UK
Posts: 1,316
|
quick question on timers
ive noticed a few ways timers are destroyed/not destroyed in various scripts on various skins, whats the impact of the following in the script unload :- not destroying the timer (does wa5 take care of it?) setting the timer to stop before deleting it (any point in this?) just deleting the timer without stopping it any1 cast any light? |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|