IPB

Welcome Guest ( Log In | Register )

126 Pages V  « < 66 67 68 69 70 > »   
Reply to this topicStart new topic
WSH Panel Mod script discussion/help.
pIv
post May 29 2012, 07:39
Post #1676





Group: Members
Posts: 288
Joined: 9-July 03
Member No.: 7668



QUOTE (Falstaff @ May 28 2012, 23:09) *
@pIv

sorry, my bad... v1.4.3 uploaded that fix this issue.

http://pastebin.com/u/Br3tt


Thank you very much for the quick correction of this bug.
Go to the top of the page
+Quote Post
onv
post May 29 2012, 10:08
Post #1677





Group: Members
Posts: 48
Joined: 23-March 12
Member No.: 98013



@Falstaff

In WSH VU Meter does not work Keep Aspect Ratio in CUI. You need to add transparency fields (wh -hVU)/2 to top and bottom or (ww-wVU)/2 to left and right in mono ( (ww-2wVU)/2 in stereo)

This post has been edited by onv: May 29 2012, 10:10
Go to the top of the page
+Quote Post
Mod-Ular
post May 29 2012, 10:29
Post #1678





Group: Members
Posts: 47
Joined: 17-April 12
Member No.: 98918



QUOTE (onv @ May 28 2012, 22:56) *
QUOTE (Falstaff @ May 28 2012, 21:22) *
to use with the last version of the component foo_vis_vumeter 2012-05-27]

Last - 2012-05-28 smile.gif

The site for foo_vis_vumeter is still on 2012-05-12
The last version i could find on foobar2000.ru is from 2012-05-23. sad.gif
U got a better link for us onv? Thanks smile.gif
Go to the top of the page
+Quote Post
onv
post May 29 2012, 10:33
Post #1679





Group: Members
Posts: 48
Joined: 23-March 12
Member No.: 98013



QUOTE (Mod-Ular @ May 29 2012, 12:29) *
QUOTE (onv @ May 28 2012, 22:56) *
QUOTE (Falstaff @ May 28 2012, 21:22) *
to use with the last version of the component foo_vis_vumeter 2012-05-27]

Last - 2012-05-28 smile.gif

The site for foo_vis_vumeter is still on 2012-05-12
The last version i could find on foobar2000.ru is from 2012-05-23. sad.gif
U got a better link for us onv? Thanks smile.gif

http://foobar2000.org.ru/forum/viewtopic.p...1&start=135 --> http://rghost.ru/38330606

This post has been edited by onv: May 29 2012, 10:37
Go to the top of the page
+Quote Post
kareha
post May 29 2012, 11:38
Post #1680





Group: Members
Posts: 52
Joined: 1-September 11
Member No.: 93415



QUOTE (onv @ May 28 2012, 21:56) *
QUOTE (Falstaff @ May 28 2012, 21:22) *
to use with the last version of the component foo_vis_vumeter 2012-05-27]

Last - 2012-05-28 smile.gif


Could I get a link to the latest version of the VU Meter component, I can only find the one dated 2012-05-12.
Go to the top of the page
+Quote Post
romka18
post May 29 2012, 18:06
Post #1681





Group: Members
Posts: 47
Joined: 30-September 11
Member No.: 94073



so its possible to use wsh panel as host for another panels?
Falstaff can you write how to use it for other panels?

as i understand, i need to write something like this:
CODE
Panel = new ActiveXObject("esplaylist");
Panel.RegisterWindow(window.ID);
PWindow = Panel.CreateWindow(window.ID);

PWindow.SetBounds(50,50,200,200);
PWindow.Visible=true;
PWindow.Enabled=false;


but it crashes
Go to the top of the page
+Quote Post
mjm716
post May 29 2012, 18:09
Post #1682





Group: Members
Posts: 155
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (marc2003 @ May 23 2012, 21:58) *
new script: musicbrainz releases


Marc, your scripts are like little christmas presents all year long! =)

One request - any chance to get the MusicBrainz release sorted chronologically?

thanks for your hard work!

.Mike

This post has been edited by mjm716: May 29 2012, 18:09
Go to the top of the page
+Quote Post
q-stankovic
post May 29 2012, 18:25
Post #1683





Group: Members
Posts: 1741
Joined: 28-May 06
From: Düsseldorf
Member No.: 31251



@mjm716

http://www.hydrogenaudio.org/forums/index....st&p=796454


--------------------
german support forum: www.foobar-users.de / user: qwert73
Go to the top of the page
+Quote Post
Falstaff
post May 29 2012, 18:52
Post #1684





Group: Members
Posts: 2799
Joined: 12-November 06
Member No.: 37463



QUOTE (romka18 @ May 29 2012, 19:06) *
so its possible to use wsh panel as host for another panels?
Falstaff can you write how to use it for other panels?


1. afaik not, should be a feature to implement in the WSH Panel Mod component, ask to T.P Wang if something is possible...
2. i've nothing to explain, what you talk about is the use of an activeX object provided by a component : VU Meter... it's not a common feature for any component !


--------------------
http://br3tt.online.fr/
Go to the top of the page
+Quote Post
mjm716
post May 29 2012, 19:13
Post #1685





Group: Members
Posts: 155
Joined: 27-May 10
From: EST
Member No.: 80935



QUOTE (q-stankovic @ May 29 2012, 18:25) *


Ho Ho Ho! Merry Christmas! smile.gif
Go to the top of the page
+Quote Post
bulletproof2k
post May 29 2012, 20:09
Post #1686





Group: Members
Posts: 31
Joined: 15-January 11
From: Russia
Member No.: 87344



Hi all Army FB2K !!!
I need Default Volume Bar script such as this:
Please help, Thx.

P.S.Sorry for bad English :]


--------------------
♪ ♪ ♪ (((d[^_^]b))) ♪ ♪ ♪
Go to the top of the page
+Quote Post
romka18
post May 29 2012, 20:20
Post #1687





Group: Members
Posts: 47
Joined: 30-September 11
Member No.: 94073



Falstaffits sad, but possible make same trick with other visualisation - channel spectrum panel?
T.P Wang i think i could make some interesting things, if there will be function or method to get name of main or context item - like "properties" or "open containing folder" in context. this items are known, but some plugins make dynamic items name, or related to settings of plugin. anyone agree with my point?
Go to the top of the page
+Quote Post
marc2003
post May 30 2012, 09:21
Post #1688





Group: Members
Posts: 4465
Joined: 27-January 05
From: England
Member No.: 19379



QUOTE (mjm716 @ May 29 2012, 18:09) *
One request - any chance to get the MusicBrainz release sorted chronologically?


on line 102, use 2 slashes to comment it out....

CODE
//temp_arr.reverse();


now it should be in ascending order.

EDIT: i missed this post. tongue.gif

QUOTE (mjm716 @ May 29 2012, 19:13) *
Ho Ho Ho! Merry Christmas! smile.gif


if you're happy with descending order then of course you don't have to change anything.

This post has been edited by marc2003: May 30 2012, 09:30
Go to the top of the page
+Quote Post
Mr.Duck
post May 30 2012, 14:24
Post #1689





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



What does "gr.SetTextRenderingHint" do?
Go to the top of the page
+Quote Post
prateek88
post May 30 2012, 17:43
Post #1690





Group: Members
Posts: 101
Joined: 21-January 12
Member No.: 96605



@marc

I downloaded the samples new but they aren't working with latest wsh panel mod, may be i am missing something. Requesting for the updated script if possible.
Go to the top of the page
+Quote Post
Falstaff
post May 30 2012, 18:13
Post #1691





Group: Members
Posts: 2799
Joined: 12-November 06
Member No.: 37463



QUOTE (Mr.Duck @ May 30 2012, 15:24) *
What does "gr.SetTextRenderingHint" do?


it affects the way text is displayed with DrawString() api (smoothness, ... etc), check the doc (interface.txt) bundled with the component


--------------------
http://br3tt.online.fr/
Go to the top of the page
+Quote Post
onv
post May 30 2012, 20:03
Post #1692





Group: Members
Posts: 48
Joined: 23-March 12
Member No.: 98013



Screensaver "Flying VU", the next update from DRON

http://www.youtube.com/watch?v=ZcnQBA1DrfU...eature=youtu.be

smile.gif
Go to the top of the page
+Quote Post
marc2003
post May 31 2012, 09:26
Post #1693





Group: Members
Posts: 4465
Joined: 27-January 05
From: England
Member No.: 19379



QUOTE (prateek88 @ May 30 2012, 17:43) *
@marc

I downloaded the samples new but they aren't working with latest wsh panel mod, may be i am missing something. Requesting for the updated script if possible.


i always use the latest version of WSH panel mod so it's not that.

perhaps being more descriptive with your problem might help. if you get "aw crashed" in the panel, then make sure you post the full message from the foobar console found on the view menu. if the panel appears to load ok but crashes if you do something, then post the steps to re-produce.
Go to the top of the page
+Quote Post
ExtremeHunter
post May 31 2012, 11:51
Post #1694





Group: Members
Posts: 133
Joined: 5-October 08
From: Estonia
Member No.: 59398





Played too with the new toy tongue.gif

You may grab it here:

WSH digital Vu meter

http://pastebin.com/H26MujCP

This post has been edited by ExtremeHunter: May 31 2012, 12:04
Go to the top of the page
+Quote Post
Mr.Duck
post May 31 2012, 20:52
Post #1695





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



QUOTE (Falstaff @ May 30 2012, 18:13) *
it affects the way text is displayed with DrawString() api (smoothness, ... etc), check the doc (interface.txt) bundled with the component

D'oh. The one place I didn't look. Thanks.
Go to the top of the page
+Quote Post
Mr.Duck
post Jun 1 2012, 02:11
Post #1696





Group: Members
Posts: 80
Joined: 26-March 09
Member No.: 68393



Can "gr.SetTextRenderingHint(5);" be set globally at the beginning of the script instead of in "function on_paint(gr)" ?

Is there anything wrong with doing that?

This post has been edited by Mr.Duck: Jun 1 2012, 02:13
Go to the top of the page
+Quote Post
rawny
post Jun 1 2012, 02:58
Post #1697





Group: Members
Posts: 30
Joined: 27-January 09
Member No.: 66042



QUOTE (Mr.Duck @ Jun 1 2012, 02:11) *
Can "gr.SetTextRenderingHint(5);" be set globally at the beginning of the script instead of in "function on_paint(gr)" ?

Is there anything wrong with doing that?


No it can't (and therefore what's wrong with it is that it won't work unfortunately).

The reason it won't work is that you need access to the gr object in order to call the function gr.SetTextRenderingHint(...). This access is granted by gr being provided to the on_paint function as a parameter.

You could, however, set a global variable to the value you want and then refer to this in the on_paint function, but I'm not sure if that will be of any use to you.
Go to the top of the page
+Quote Post
Brett289
post Jun 1 2012, 12:43
Post #1698





Group: Members
Posts: 5
Joined: 21-January 12
Member No.: 96597



First off, if this request is in the wrong place please forgive my ignorance.
Might be best to quickly read an old post of mine dated Jan 21 2012, 13:44 to best describe my issue.
http://www.hydrogenaudio.org/forums/index....st&p=783162

Can anyone help? Please?

Thanks in advance.

Brett.

This post has been edited by Frank Bicking: Jun 1 2012, 15:57
Reason for edit: Removed mode=threaded from link (changes thread display mode).
Go to the top of the page
+Quote Post
marc2003
post Jun 1 2012, 14:00
Post #1699





Group: Members
Posts: 4465
Joined: 27-January 05
From: England
Member No.: 19379



i can't be bothered to make something nice tongue.gif

CODE
var ww = 0;
var wh = 0;

function RGB(r, g, b) {
return (0xff000000 | (r << 16) | (g << 8) | (b));
}

function on_size() {
ww = window.Width;
wh = window.Height;
}

function on_paint(gr) {
gr.FillSolidRect(0, 0, ww, wh, fb.StopAfterCurrent ? RGB(255,0,0) : RGB(0,255,0));
}

function on_playlist_stop_after_current_changed() {
window.Repaint();
}

function on_mouse_lbtn_up() {
fb.StopAfterCurrent = !fb.StopAfterCurrent;
}


green panel: stop after current disabled
red panel: stop after current enabled
click the panel to toggle the state and it will also update if you use the playback menu.
Go to the top of the page
+Quote Post
Manchesterer
post Jun 1 2012, 14:02
Post #1700





Group: Members
Posts: 25
Joined: 2-August 11
Member No.: 92721



I made a small piece of code, use it as WSH panel on its own or place it into your other script. Clicking on the panel will toggle SACT mode and inform you what is going on.

CODE
var font_1 = gdi.Font("Tahoma",10,1);
var color_1 = RGB(235,235,235);
var DT_LEFT = 0x00000000;

function on_paint(gr){
    var ww,wh;
    ww = window.Width;
    wh = window.Height;
    gr.FillSolidRect(0, 0, ww, wh, RGB(0,0,0));
    
    if(fb.IsPlaying){
        text = (fb.IsPlaying && fb.StopAfterCurrent) ? "SACT" : "NO SACT";
        gr.GdiDrawText(text, font_1, color_1, 0, 0, 60, 10, DT_LEFT);
    }
}

function RGB(r, g, b){
return (0xff000000 | (r << 16) | (g << 8) | (b));
}

function on_mouse_lbtn_down(x, y, mask){
    if(!fb.IsPlaying) return;
    fb.RunMainMenuCommand("Playback/Stop After Current");
}

function on_playlist_stop_after_current_changed(state){
        window.Repaint();
}
Go to the top of the page
+Quote Post

126 Pages V  « < 66 67 68 69 70 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th September 2014 - 20:09