Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 04 18:54

    grandchild on effect-api-port

    [port][effect] New-style Dynami… [port][effect] New-style Bump [port][effect] New-style Grain (compare)

  • May 04 16:28

    grandchild on effect-api-port

    fixup! [clean] Handle SSC code … [clean] Allow compact case bloc… [clean] Apply compact switch-ca… and 76 more (compare)

  • May 03 19:33
    grandchild closed #41
  • May 03 19:32

    grandchild on effect-api-port

    [port][effect] New-style Grain (compare)

  • May 02 14:39
    exo-cortex opened #41
  • May 01 18:13

    grandchild on effect-api-port

    [clean] const& parameter_path i… [port][effect] New-style Dynami… [port][effect] New-style Bump (compare)

  • Apr 24 15:45

    grandchild on effect-api-port

    [port][effect] New-style MultiD… [port][effect] New-style Interf… (compare)

  • Apr 24 14:31

    grandchild on effect-api-port

    [port][effect] New-style Interf… (compare)

  • Apr 24 14:29

    grandchild on effect-api-port

    [port][effect] New-style MultiD… (compare)

  • Apr 21 10:06

    grandchild on effect-api-port

    [port][effect] New-style MultiD… (compare)

  • Apr 21 09:29

    grandchild on effect-api-port

    [bug] Create FRANGE parameters … [clean] Remove unneeded Effect.… [bug] AVSTrans: Append newline … and 2 more (compare)

  • Apr 21 09:28

    dependabot[bot] on github_actions

    (compare)

  • Apr 21 09:28

    dependabot[bot] on github_actions

    (compare)

  • Apr 21 09:28
    dependabot[bot] closed #38
  • Apr 21 09:28
    dependabot[bot] closed #40
  • Apr 21 09:28
    dependabot[bot] edited #38
  • Apr 21 09:28
    dependabot[bot] edited #40
  • Apr 21 09:28
    dependabot[bot] edited #38
  • Apr 21 09:28
    dependabot[bot] edited #40
  • Apr 21 09:28

    grandchild on main

    [ci] Bump actions/upload-artifa… [ci] Bump actions/checkout to 3… (compare)

jakob
@grandchild
do you have changes that conflict with mine? if so, do you want to merge or use one of mine or yours?
Jan T. Sott
@idleberg
well, i have two projects to work on first, so i might not have time to work on webvsc related stuff before june
jakob
@grandchild
alright -- i might get to work on removing the js files, and i might work on further removing all instances of unknown in the meantime
the latter more likely than the former
Jan T. Sott
@idleberg
i dont think that my definitions are in any shape that's commit-able. i started by creating those presets for testing purposes, then converting them. well, since buffersave was one of the first effects i worked on, that bug didnt get my far
i can send you that file in private, but i'm not sure how helpful it is. still requires a lot of work
buffer save is complete though, i think :)
interface BufferSave {
    type: BufferSave;
    group: MiscGroup;
    action: "SAVE" | "RESTORE" | "ALTERNATE_SAVE_RESTORE" | "ALTERNATE_RESTORE_SAVE";
    bufferId: 18;
    blendMode: 'REPLACE' | 'FIFTY_FIFTY' | 'ADDITIVE' | 'EVERY_OTHER_PIXEL' | 'SUB_DEST_SRC' | 'EVERY_OTHER_LINE' | 'XOR' | 'MAXIMUM' | 'MINIMUM' | 'SUB_SRC_DEST' | 'MULTIPLY' | 'ADJUSTABLE';
    adjustBlend: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
}
jakob
@grandchild
ah
you want to type all the effects.... hm.
Jan T. Sott
@idleberg
ignore the inconsistend quotes for a minute, that what the toolchain is supposed to fix
if that's not what you're working on, don't start and we won't collide :)
jakob
@grandchild
that's not what i was thinking at all, so we're safe here.
but i like the concept
it's just going to be a lot of work
Jan T. Sott
@idleberg
it's hard work, but so far it paid of. one effect complete, one bug found. hehe
jakob
@grandchild
what about the order though?
that's not guaranteed in an interface, is it?
Jan T. Sott
@idleberg
the order of properties?
jakob
@grandchild
or do you mean to keep the compontents.ts file as is, and type everything on top?
i.e.: is the typing for the input or the output components?
... looks like it's for the output
(and yes, the order of the properties)
Jan T. Sott
@idleberg
why would the order matter?
it's an object
jakob
@grandchild
yeah, in the output it doesn't
for the input it does
but i think i misread, you want to type only the output and not type all of components.ts
... a.k.a. the input definitions for parsing the .avs file
so i think our plans should conceptually not collide. there will be git conflicts, but i can deal with those
apart from the fact that i did introduce some output types. but yours should then only make my Component type more specific
... conceptually.
I don't care if my specific types are changed in the process.
Jan T. Sott
@idleberg
ah my, all of this is such a waste of time (unless somebody picks up webvs again)
jakob
@grandchild
yes. yes it is :)
exocortex
@exo-cortex

tt

@exo-cortex = hurric4ne?

exactly!

Broken-Paradox
@Broken-Paradox
i've got a question regarding the global variables manager APE
i run AVS 2.81d on Winamp 5.58 (x86) and AVStrans works perfectly without crashing, but the aforementioned ape crashes most of the time when switching from a preset with globmgr.
i'm using version 1.011. is there any version that doesn't crash?
jakob
@grandchild
global variable manager is buggy. it depends a bit on your system. your best bet is to simply load all (recent) versions from http://avs.visbot.net/ and some different Winamp versions and mix and match, until you find a working version.
Broken-Paradox
@Broken-Paradox
there's also another thing: Jheriko's J10 pack had an intro that apparently used global vars, but the pack begins with preset 2 instead.
what happened to it?
Jan T. Sott
@idleberg
i spoke to @captbaritone, we could have a channel on their discord server rather than running our own
the one advantage i could see there is being a part of a larger winamp community. people might drop by. maybe something will come out of it (also in regards of webvs etc)
jakob
@grandchild
sounds cool!
jakob
@grandchild
TexerII is now builtin to the newest vis_avs :)
next: Normalize (because it's easy) and AVStrans (because source is available). After that, it's ColorMap (which is neither easy, nor is there any source. shudders)
Jan T. Sott
@idleberg
cc @unconed ;)
exocortex
@exo-cortex
hail grandchild! He who has gone through the 7 circles of asm and came back victorious!
jakob
@grandchild
@idleberg i already told him :P
Broken-Paradox
@Broken-Paradox

i'm having a coding problem here:
i'm going to make an avs preset that mimicks windows, but i don't know how i'm going to make it so a window border doesn't stop moving if you move too fast; it needs to check if getkbmouse(3) is still 1, even if it goes outside the detection threshold, like a real window would behave, and then stop moving when mouse3 is released.

also, it must not move if you hold click while outside any thresholds and then move into them

click=getkbmouse(3);
xmouse=getkbmouse(1);
ymouse=getkbmouse(2);

//check if inside the avs screen
inscreen=band(
band( above(xmouse,-1) , below(xmouse,1) ),
band( above(ymouse,-1) , below(ymouse,1) )
);

//mouse detection threshold for four sides of the triangle window
lthr=band( above(xmouse,xa-0.05) , below(xmouse,xa+0.05) );
uthr=band( above(ymouse,ya-0.05) , below(ymouse,ya+0.05) );
rthr=band( above(xmouse,xb-0.05) , below(xmouse,xb+0.05) );
dthr=band( above(ymouse,yb-0.05) , below(ymouse,yb+0.05) );
// Mouse positioning
xoffset=xmouse2-xmouse;
yoffset=ymouse2-ymouse;
xmouse2=xmouse;
ymouse2=ymouse;

oxleft=if( band(clickin,lthr) ,oxleft+xoffset,oxleft);
oyup=if( band(click,uthr) ,oyup+yoffset,oyup);
oxright=if( band(click,rthr) ,oxright+xoffset,oxright);
oydown=if( band(click,dthr) ,oydown+yoffset,oydown);
1 reply
jakob
@grandchild
I'd be interested in feedback around the kind of versioning/compatibility introduced here: grandchild/vis_avs@43de8aa (see commit message)
I hope it'll work quite nicely.