Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 07 16:00
    PerhapsSomeone review_requested #277
  • Dec 07 16:00
    PerhapsSomeone opened #277
  • Nov 08 15:23
    iprisj edited #276
  • Nov 08 12:48
    iprisj opened #276
  • Nov 08 08:29
    Sharparam closed #275
  • Nov 08 08:29
    Sharparam commented #275
  • Nov 08 00:20
    iprisj opened #275
  • Sep 27 12:48
    MasterR8 closed #273
  • Sep 05 16:31
    MasterR8 commented #273
  • Sep 05 16:23
    Sharparam commented #273
  • Sep 05 16:07
    MasterR8 commented #273
  • Sep 03 09:46
    Sharparam commented #273
  • Sep 03 09:44
    Sharparam edited #273
  • Sep 03 09:44
    Sharparam edited #273
  • Sep 03 09:43
    Sharparam milestoned #274
  • Sep 03 09:43
    Sharparam commented #274
  • Sep 03 09:42
    Sharparam labeled #274
  • Sep 03 09:06
    poveden edited #274
  • Sep 03 09:06
    poveden opened #274
  • Aug 15 16:13
    MasterR8 opened #273
cindylove
@cindylove
Now I can start with my Ideas! I wish you a nice weekend.
Adam Hellberg
@Sharparam
you too! i think it's time to order pizza to celebrate :P
Pet0203
@Pet0203
Hi! I just got the Tiamat V2 and I was wondering how to set different colors for each grid. In this case there are 3 grids (I think). Right earcup, left earcup and the controller.
I don't know if the controller is diveded into different sections too, because you can appy a wave effect in synapse 2. Haven't fount the grid profile for the V2, but Razer SDK has implemented custom grid settings for headset, but there isn't any option for that in Colore. Would it be possible to implement this?
Adam Hellberg
@Sharparam
@Pet0203 the custom effect for headsets is missing from v5.2.0 of Colore, an oversight on our part. It will be included in v6.0.0
i'm not sure yet on when a stable v6.0.0 will be out, but you can get the prerelease versions from myget here: https://www.myget.org/feed/coralestudios/package/nuget/Colore
if you use the pre-release versions, please let us know if you discover any bugs!
it should be relatively stable by now, but not everything has been fully tested yet
also note that the API has changed drastically in the new version, you can check an updated getting started guide here: http://coralestudios.github.io/Colore/devdocs/articles/getting-started.html (also, IntelliSense is your friend)
PsiQss
@PsiQss

Hello!
I also tried to contact you on razer forums few days ago, since I didn't know about this room back then, but this here seems to be the main form of contact :)

Basically, I'm trying to create custom effect for razer HDK LED Strip and for the life of me, I cannot find any information on it whatsoever. I know how to create custom effects for keyboard an such, but I'm looking for one for the LED strip. They mentioned on the forums that they used the special plugs just to allow individual LED control, so that should be possible.

PsiQss
@PsiQss
Oops, wanted to add a new line, sorry.
Well, continuing, after jumping through the documentation, I expect I should use ChromaLink.CustomEffect but what should I use to specify what the effect should do? In my specific case, I want to add some nice integration for my AI gaming assistant app, with speech synthesis, and I wanted to create a nice animated effect to have the LEDs light up to the Speech Synthesis audio level. I guess you could call it a peak meter. Again, I know how to do it for keyboard, but led strips seem to be handled differently for some reason..
Adam Hellberg
@Sharparam
@PsiQss the SDK lets you set 5 different LED indices for Chroma Link, which are exposed in Colore on the ChromaLink device via the indexer (or by sending a Custom effect to the SetCustom method on ChromaLink
in v5.2.0 as: Chroma.Instance.ChromaLink[myIndex] = Color.Blue;, or in v6.x as: chroma.ChromaLink[myIndex] = Color.Blue; (where chroma is an instance previously obtained via ColoreProvider, for example var chroma = await ColoreProvider.CreateNativeAsync();)
PsiQss
@PsiQss
Thank you.
I managed to change colors in the HDK before, but only all colors of a strip. if I use:
Chroma.Instance.ChromaLink[2] = Color.Blue;
It will set ALL the LEDs on a strip on port 1 to blue, which is not really what I'm looking for. I tried to mess around with the CustomEffect but still can't figure out how to access individual LEDs. The built-in Starlight effect lights them up randomly, so there has to be a way to access them somehow, probably through creation of a custom effect.
Unless by saying "the SDK lets you set 5 different LED indices for Chroma Link.." you mean that's the only thing the SDK lets you do? If that's the case, I'm going to whine to the SDK devs :P
Adam Hellberg
@Sharparam
@PsiQss the SDK only exposes 5 LED indices, so i don't think there's anything more that can be done
IIRC they correspond to the different connections on the chroma link device? i don't have a chroma link so i'm not sure how it's set up
Adam Hellberg
@Sharparam
@PsiQss this page seems to explain how the 5 different "virtual LEDs" work: https://developer.razerzone.com/works-with-chroma/chroma-link-guide/
so it seems index 0 is for every LED, and index 1-4 is for limited control of sections of LEDs
PsiQss
@PsiQss

Yup, I've read through that page. The problem is, they've basically implemented their HDK like third party devices, which does not make any sense to me. Virtual LEDs are pretty much just zones. With HDK you can have 4 LED strips connected. Chroma Link 1 is all strips, CL2 is strip 1, CL3 is strip 2 and so on. Each strip has 16 LEDs on them, and that's what I'm trying to address. You'd think chroma.ChromaLink[i] would apply an effect to an entire zone, while CustomEffect would allow you to set up a custom effect while accessing individual LEDs, but that doesn't seem to be the case. As I mentioned before, the built in Starlight effect DOES manipulate the LEDs individually, 1 by 1, so it doesn't make any sense to me for them to not allow us to program our own effects.

Anyways, seems like it actually isn't possible through the SDK, I'll have to either find another way around it or just scrap my entire idea due to SDK limitations.. I just can't understand why would they implement their own HDK as CL device.. Well thanks for the help, I'll go harass the razer devs now since it doesn't seem to be a Colore issue ;)

Adam Hellberg
@Sharparam
yeah, unfortunately the SDK does not give access to those individual LEDs
the starlight effect might be implemented in the firmware of the strips or something, so it is entirely contained in the hardware
there are some people who go the route of reverse engineering the interfaces and addresses the hardware directly, that might give more control
PsiQss
@PsiQss
I'm not that advanced to reverse engineer stuff, especially in C++ but I might try to find and ask those guys that do this, maybe they can give me some hints. Thanks for all the help, I'll probably return when I have more questions lol :P And huge thanks for the amazing Colore library!
Adam Hellberg
@Sharparam
no problem!
Christian Georgiev
@thechrisgeorgiev
Hi, so im having problems with corale on c#
So i have imported Corale and was trying to test it on a razer keyboar but the problem is i keep getting '' dose not exist in the current context, the error could be simple to fix but im not so good in c#
Adam Hellberg
@Sharparam
@thechrisgeorgiev did you add it via NuGet, and are you adding the necessary using statements and/or using the fully qualified name to access it? (Visual Studio should auto-suggest adding the using statement but maybe it's not for some reason)
try doing something like (if on v5.2.0 of Colore): Corale.Colore.Core.Chroma.Instance.Keyboard.SetAll(Corale.Colore.Core.Color.Red); (this is using fully qualified names for everything)
HoangTheBoss
@HoangTheBoss
Hi, I just wanna say that the wiki on github is misleading user.
Adam Hellberg
@Sharparam
@HoangTheBoss the "Getting Started" on wiki has been updated for 6.0. I guess we should've kept the v5.2 version accessible though. we didn't think it would take this long to get v6.0 release, so we got a bit over-enthusiastic i guess
Adam Hellberg
@Sharparam
@HoangTheBoss i have added the v5.2 getting started guide back and a link pointing to it in the new guide
Daniel
@Paladinleeds
So I've had a quick glance on this (I am one of the contributors for an app using Colore). It seems that there's just a "mousepad" class, which I guess is the Generic Super Ring Pattern (since the Base Station Chroma and the Chroma Mug also use this). Is it possible using https://developer.razer.com/works-with-chroma-v1/razer-chroma-led-profiles/ to add a separate profile for the Firefly to use as an override over the Generic Super Ring?
Adam Hellberg
@Sharparam
@Paladinleeds the Mousepad class will work for controlling the Firefly. It's the only Chroma-enabled mousepad as far as I'm aware. It's not currently possible to control specific devices in the SDK, so if the base station and mug use the same kind of interface in the drivers, then setting a mousepad effect might set it on all three at once. If that's the case then there's nothing that can really be done unless Razer adds an option to set effects on specific devices in some way
Rudolf Frank
@RudolfFrank_twitter
Hello, I'm fairly new to tinkering with the razer SDK and have Philips Hue lights linked to Chroma. I know that it has to be possible to adress them through the SDK, since some custom profiles (Factorio) has them enabled, possibly by accident. I've tried with Chroma.Instance.SetAll but it only changed the keyboard. Is there any other class I could try for this?
Adam Hellberg
@Sharparam
@RudolfFrank_twitter how are the hue lights connected to chroma, via the Chroma Link thing?
what is written on it on Razer's site seems to suggest it requires Synapse 3, so advanced control of Philips Hue may not be in the SDK yet (internal Razer applications have more advanced APIs available to them which they sadly have not made public)
Rudolf Frank
@RudolfFrank_twitter
It's connected via Synapse 3 - as I understand Chroma Link is for non Razer Chroma devices. The only thing indicating that it should be somehow possible per SDK is the existence of (third party) game profiles that actually modify the hue lights. Or are those programmed differently?
Rudolf Frank
@RudolfFrank_twitter
Okay now I've actually seen that it's not a third party mod, but officially integrated into the game. Was a mod for a while which actually used your library. Can't say if it had the Hue effects then or not.
Adam Hellberg
@Sharparam
It might be using something else to interface with the Hue then, I'm not aware of any methods in the SDK that allow control of it. Seeing as the Hue integration wasn't added until Synapse 3, maybe we'll see such methods in an upcoming SDK release
It could be worth contacting the Factorio developers and see if they are able to share how they did it
Rudolf Frank
@RudolfFrank_twitter
I've updated to api v6.0 now (stupid of me not doing it earlier) and hue actually reacts to changes on chromalink! Interestingly not to chroma.SetAllAsync though
Adam Hellberg
@Sharparam
hm
@RudolfFrank_twitter i'm guessing setting a custom effect on the chroma link doesn't affect it either then, since that's what SetAllAsync uses
that or something isn't working right with the Custom effect
Rudolf Frank
@RudolfFrank_twitter
setting a custom effect does work. I can even adress my hue devices seperatly. setting all devices just turns the hue lights off though.
Adam Hellberg
@Sharparam
So setting all devices and setting all on the Chroma link has that issue?
This is strange
Rudolf Frank
@RudolfFrank_twitter
ChromaLink.SetAllAsync and ChromaLink.ChromaLinkCustom both work fine. chroma.SetAllAsync only sets the keyboard.
Adam Hellberg
@Sharparam
ah, well i found the issue. chroma.SetAllAsync is missing a call to set all colors on the chroma link
@RudolfFrank_twitter 6.0.0-unstable151 is now available from MyGet which should fix the issue: https://www.myget.org/feed/coralestudios/package/nuget/Colore/6.0.0-unstable0151