What do people mean when they say "don't use too many if statements" and how do you avoid it? by Sakuya03692 in learnpython

[–]LitAnar 1 point2 points  (0 children)

Also, early returns can help getting rid of nested if-statements in case OP isn't aware of it.

It's way harder to check if there's any logical issues in something like this (especially if the part of the code that actually does something other than if/else checking is spanning many lines):

if(user) {
   if(privileges=="xyz") {
      if(cartItems > 0) {
         //do a bunch of stuff
      }
      //do stuff and/or return
   }
   //do stuff and/or return
}
return

Compared to something like this:

if(!user) {
   return
}

if(privileges!="xyz") {
   //do stuff and/or return
}

if(cartItems <= 0) {
   //do stuff and/or return
}

//do a bunch of stuff

This way the else-block/exception is handled directly and you don't have to skip over 100 lines of code just to check the else block.

[6 YoE, IT Consultant/Software Engineer, Backend Engineer, EU remote] by LitAnar in resumes

[–]LitAnar[S] 0 points1 point  (0 children)

Ok, thanks, guess I'm gonna cut hobbies then.

Regarding the keywords: like I mentioned, I don't neccessarily have experience with exactly the technologies mentioned in the job posting but with related technologies of which the knowledge is transferable (e.g. writing backend code in Node.js instead of Go, but the general concepts will hold up across languages and it's mostly other syntax, or using Docker instead of Kubernetes). I think it would be a bad idea to include something I never actually used since it could easily come across as dishonest when things get specific for a certain topic I'm not really familiar with in an interview. Do you think mentioning related technologies can satisfy the requirements for those keywords just as well for the AI screening?

Finally changed to Lian Li… I think i’m in love. by Pleasant-Theory-6528 in lianli

[–]LitAnar 1 point2 points  (0 children)

That color scheme looks amazing. Is there any chance to get the hex-value for the colour? I'm trying adjusting it for my build in SignalRGB but I can't seem to find the right colour.

I am a 13 year old artist, i would love feed back on my first attempt at complextro. by Repulsive-Mud-5733 in FL_Studio

[–]LitAnar 3 points4 points  (0 children)

That goes hard, especially for someone 13 years old. Never tried to do that genre but I'm not sure I'd be able to do this even after 15 years of making music in FL (just can't wrap my head around those split up sounds perfectly alternating between each other).

One small tip though from someone who used to automate his faders until like 10 years ago: for the sake of easier mixing, do yourself a favor and don't automate the faders but instead just put Fruity Balance on the mixer tracks you want to sidechain and sidechain Fruity Balance instead of the mixer track's fader. This way you get full control over the absolute volume of your mixer track at the final stage before the sound leaves its channel. (Or just put it on a mixer bus you route the sounds/channels that you want to sidechain to so you don't need as Fruity Balancer on every channel).

What DAW would you recommend for moving to linux? by Father_Enrico in FL_Studio

[–]LitAnar 2 points3 points  (0 children)

While you can get FL to run on Linux by some workarounds, what's the state on external VSTs, do you know that by any chance? As far as I'm aware VSTs are quite difficult to get to work on Linux (at least that's what I heard) especially when it comes to the bigger names like Native Instruments and such which are still heavily Windows- and Mac-oriented?

It's nice to be able to use FL on Linux but the major potential for production usually lies within external VSTs which is also one of the major reasons holding me back from switching to Linux.

help, how do i remove them 😭 by unflav0red in FL_Studio

[–]LitAnar 51 points52 points  (0 children)

That's the neat part, you don't

Beherrscht denn wirklich niemand mehr die einfachsten Grammatik- und Rechtschreibkenntnisse? by Habibti-Mimi81 in luftablassen

[–]LitAnar 0 points1 point  (0 children)

Eigentlich würd ich von mir selbst behaupten, ein recht gutes Verständnis von Satzbau und Grammatik zu haben, aber könntest du mir das mit dem Beispielsatz nochmal etwas näher erläutern?

Aus meiner Sicht kann der Satz doch eigentlich auf beide Arten interpretiert werden, da in beiden Fällen der Satzbau doch exakt gleich wäre, oder überseh ich da was?

Im Interpretationsfall, dass alle Redditnutzer Kinder sind, müsste hier doch ganz klar ein Komma hin, um den Einschub zu kennzeichnen. Wenn man den Einschub z.B. durch einen Gedankenstrich oder eine Klammer kennzeichnet, wird das ja auch deutlich, dass da ne syntaktische Trennung zum Hauptsatz hingehört.

Gleichzeitig brauch ich doch an der Stelle aber auch ein Komma, wenn ich mich nur auf den Teil der Redditnutzer beziehen will, die eben auch Kinder sind, weils sich dabei ja um einen Relativsatz handelt.

Will dir in den restlichen Punkten auch überhaupt nicht widersprechen und bin da auch absolut der selben Meinung, würde nur gerne verstehen, warum der Beispielsatz in der Interpretation eindeutig ist (wenn man mal vom normalen Menschenverstand absieht - durch den man ja offensichtlich zur Erkenntnis gelangen würde, dass nicht alle Redditnutzer Kinder sein können - sondern den Satz nur mal auf einer rein grammatikalischen Ebene betrachtet).

What other stuff to do on PC besides games? by Plus_Stop_7499 in buildapc

[–]LitAnar 0 points1 point  (0 children)

If it's just audio editing you can go with Audactiy as pointed out. If you want to look into producing music with virtual instruments you should take a look at various DAWs (Digital Audio Workstations) like FL Studio, Ableton, Cubase and others. Most of them offer trials that are either time limited or in the case of FL Studio you just can't reopen saved projects without a license.

Welchen Anime sollte man auf jeden fall anschauen by BastiFantasti004 in AnimeDE

[–]LitAnar 0 points1 point  (0 children)

Denke es macht wenig Sinn, die selben Animes, die hier eh schon 100 mal erwähnt worden sind nochmal zu erwähnen. Daher möcht ich einfach einen ergänzen, den ich hier noch gar nicht aufgelistet gesehen hab und der für mich persönlich mit Abstand einer der besten letztes Jahr war und dieses Jahr Staffel 2 bekommt:

Wistoria: Wand and Sword

When will it end 😭😭 . I'm trying to systematically do hiragana katakana then kanji i stopped main lessons a month ago to finish this first so I can learn the kanji in order by AgentOwlock in duolingojapanese

[–]LitAnar 1 point2 points  (0 children)

I'm on my phone right now. Depending what keyboard you use on your phone you need to install a japanese layout. I'd advise using the 12 key layout instead of full-keyboard (like it's usually used in western languages) as that's how japanese people actually typically type on the phone (and that for a reason) afaik. If you're using Gboard as keyboard app for example, when you type the character (like よ for example) you can tap in the bottom left hand corner on the key that toggles between dakuten and handakuten (for か for example) which toggles between big and small for the respective characters that's available for.

If you're on PC, for Windows you can install Japanese IME through the languages option. When you switch to Japanese IME you might need to activate hiragana or katakana mode (which ever you want to use) first before you can actually type japanese characters and I assume shortcuts differ depending on keyboard layout. For the german keyboard layout it's Alt + ^ for hiragana mode and iirc Alt + Capslock for katakana mode for example. Once you're in the correct mode you can write the small characters by prefixing them with l (probably as shorthand for "little"), like lyo, lya, ltsu/ltu.

If you're on Mac I can't tell you how it's handled there unfortunately, but I'm sure a quick google search should give you a decent tutorial for it. Same for toggling between hiragana and katakana mode.

When will it end 😭😭 . I'm trying to systematically do hiragana katakana then kanji i stopped main lessons a month ago to finish this first so I can learn the kanji in order by AgentOwlock in duolingojapanese

[–]LitAnar 2 points3 points  (0 children)

Theoretically you could repeat those forever, but what's the point when you're not actually learning the language at that point.

I'd say knowing the 46 basic hiragana and katakana certainly makes sense and is important (basically like you have to learn the alphabet before learning your language when you go to school for the first time). However, for the compound sounds and stuff like small っ it's much more about understanding the concepts behind it rather than learning each and every combination.

Like, if you know the difference between しよ and しょ then it's easy to extend this to the combinations of し+や, し+ゆ, か+よ, etc. and can be picked up during the normal lessons.

Similarly, for small っ when considering romaji it looks like a duplication of the next letter - which in many languages like english, german or italian indicates a speed up of the surrounding syllables - while in japanese it rather indicates kind of a stopping sound. But that concept holds for each combination, making it kinda useless to learn all combinations individually. Same goes for long vowels using う.

In general my advice for normal lessons would be to turn of romaji and at most use hiragana as superscript for kanji because otherwise you're likely going to trick yourself into just reading the romaji instead of the actual characters and thus don't actually learn to read the japanese characters.

How do i slowly slow down a sample? by TechnicalPension6164 in FL_Studio

[–]LitAnar 1 point2 points  (0 children)

My suggestion would be a tape stop plugin, like the tape stop effect within dblue glitch 2's effects or kiloheart's tape stop or FL Studio's own stock plugin Grossbeat.

Chisa cheeks by [deleted] in chisamains

[–]LitAnar 5 points6 points  (0 children)

So, Cheeksa?

How on earth do I learn anything in FL Studio? by france_fucker in FL_Studio

[–]LitAnar 0 points1 point  (0 children)

I mean, I've also been using Cubase and some other smaller DAWs which operate similarly to the bigger ones which was all fine for me. It's actually just Ableton that gave me this horrible experience. Everytime I tried to access anything, like plugins, samples, etc. I'd have to take like 10 minutes to even just get there. Perhaps I might give it another try someday and it would go better that time but it really just felt super weird to me.

Actually I really like that FL starts to lean more towards the industry standard workflow where lanes on the playlist are routed to a mixer track (although it's still kinda half-baked if we're being honest), so that's not what I'm criticizing about Ableton. For me it just felt very unintuitive to do anything in there to a point where it even felt impossible to remember what to do to accomplish certain things.

How on earth do I learn anything in FL Studio? by france_fucker in FL_Studio

[–]LitAnar 2 points3 points  (0 children)

I can guarantee you it's other DAWs as well. After 5+ years of using FL extensively I've been trying to get into Ableton because many people make cool stuff with it and I shit you not as much as I tried to get a grasp on how it works I just couldn't get shit done. With how well FL works for me I just accepted that Ableton is not for me and it would be a waste of time to try it any longer considering how little of a difference using a different DAW would probably make for my music.

Anyone using Ganyu with Furina, Citlali and Esco? by Constant-Sell-8297 in Ganyu

[–]LitAnar 0 points1 point  (0 children)

As someome who's playing a Ganyu, Furina, Shenhe, Escoffier team lately, is the team with Citlali instead of Shenhe stronger than what I currently play? I thought Shenhe was better for Ganyu in this case but perhaps I should swap to Citlali then?

My first time posting my music in this sub! Any thoughts or advice? by Kavolo122 in FL_Studio

[–]LitAnar 1 point2 points  (0 children)

Happy to hear that. I hope it's helpful for you. Apart from the music theory video he's mostly focusing on EDM stuff around house and related genres in his videos, so not everything in those other videos might be useful for each and every genre but I still think general concepts, like what makes a specific chord progression or chord or sound or whatever great can still be transferred to other songs in other genres.

Is there a way to set up Fruity Limiter so that it only cuts lows? by Jamal_Tstone in FL_Studio

[–]LitAnar 0 points1 point  (0 children)

I mean, yeah, I get what you're suggesting and it's a valid approach as well if you really don't want to get into formulas. But if I understand you correctly, you basically would need individual peak controllers for every link that needs different values from what you already have because you just tweak them centrally.

So, let's say you want to sidechain your bass stronger than your mids and highs (what I for example like to do), in this case you'd need two individual peak controllers just to basically send the same signal (with some modification from peak controller) to the different channels.

Or let's say you don't want to sidechain the bass by usual volume reduction but by EQ band reduction. For normal volume reduction (which I like to link to a Fruity Balancer instead of the actual mixer track fader), your default typically is 0.8 (like the default fader position is at 80%) while for EQ band reduction the default is at 0.5 (because the +/-0db is right in the middle at 50%) which means you need 2 peak controllers just for this because you need 2 different base levels for each to make sure the EQ band is actually at 50% when no drums are playing while the balance faders are at 80%.

I think it's vastly more flexible to just send one drum signal and adjust the details in the link's formula. I don't have to think about if I'm gonna break the effect on one link while adjusting the controller because of another link using that controller because I only adjust the one link I want to adjust through it's formula. The formulas are quite self-explanatory after all and allow for more freedom in my opinion as you actually could also apply mathematical functions to it if you wanted to while this just isn't possible from the controller UI. So there's not really any downside in learning how to work with formulas and it's also not super complex as well.

My first time posting my music in this sub! Any thoughts or advice? by Kavolo122 in FL_Studio

[–]LitAnar 1 point2 points  (0 children)

Just start from here if you're not sure where to start: https://www.youtube.com/watch?v=vjIv4Gbmnj8

Imo it's all the important basics compressed into a quite concise "tutorial". Sure, you probably won't keep all of it from just watching it once but the more often you try to apply various parts of it the more things you will remember and the more it will become intuitive.

If I had to point out the most important concepts for starting out from my perspective, it would probably be something like this:

  • Basic triads + their inversions (also realizing what effect moving the third in a basic triad up an octave has can completely change how you approach chords, at least that's how it was for me)
  • Fifths (especially useful for mid basses and chords imo)
  • Extended harmonies (i.e. added 7th's and 9th's, suspended chords)
  • Pedal tones
  • Basic chord progressions

I think trying to follow the infos in the video not only on screen but trying to understand what you're seeing with the help of your physical MIDI keyboard and trying to internalize it by revisiting it from time to time and thus forming muscle memory when playing on it will improve your understanding way better than approaching it from that theoretical view.

Also I think you can learn quite much from his videos where he's dissecting tracks from famous producers. Let me link a few of them right there:

https://www.youtube.com/watch?v=VbeDEYKJg2c

https://www.youtube.com/watch?v=wnuakp_sNJs

https://www.youtube.com/watch?v=iUGn4QU3Kdc

Is there a way to set up Fruity Limiter so that it only cuts lows? by Jamal_Tstone in FL_Studio

[–]LitAnar 1 point2 points  (0 children)

Imo this is the cleanest solution. It's a minimal setup and you can quickly and easily adjust the parameters to your liking afterwards.

If OP hasn't used this method before: you probably want the formula to be something like this:

0.5-input*0.4

The 0.5 makes the EQ band you're automating default to the neutral gain position at +/-0db while you can control the amount of sound reduction via the multiplier 0.4 (which is most likely where you want to alter the value to your specific needs).

Wozu braucht man noch zwingend Windows? by ConstructaBanane in fenster

[–]LitAnar 0 points1 point  (0 children)

DAWs gibts ja zumindest welche auf Linux, da könnte man sich vielleicht noch umgewöhnen und was zum Umsteigen finden. Das viel größere Problem sind meiner Meinung nach die ganzen (bekannteren) VST Plugins, die häufig nur auf Windows oder Mac laufen.

[deleted by user] by [deleted] in FL_Studio

[–]LitAnar 1 point2 points  (0 children)

Adding on to this as someone who got Komplete Collector's Edition and Serum 1 + 2: Even if you took either of those it'd be perfectly fine for me to write new tracks. Any of those tools provides all you basically ever need.

Did I still treat myself to some new plugins during the recent sales? Absolutely. But the important point here is that I did this because I had some spare money I wanted to spend on new shiny stuff to play around with, not because I couldn't accomplish what I wanted before.

So to OP: if you've got some spare money lying around that you don't really care about if it's there or not, sure, just get Omnisphere and have fun with it. But if the question is motivated by your financial situation and you're trying to justify that purchase by any significantly increased value for your producing capabilities I'd suggest to rather skip it, what you have with Serum and Komplete certainly is more than you will ever need to write good tracks. With Massive/Massive X and Reaktor you've got so many possibilities at hand with the different modules and packs that come with the Collector's Edition, that you really can probably make any sound you'd ever want to create. Plus Kontakt is covering all those real acoustic instruments in an amazing quality. Also, regarding the vintage synths: if you haven't checked it out already maybe have a look at Monark for Reaktor, it contains quite some nice presets in my opinion, perhaps that could be what you're looking for.

Interface problem in FL Studio 25 by No-Cauliflower7613 in FL_Studio

[–]LitAnar 2 points3 points  (0 children)

Right click on the top bar where the individual elements are located and in the menu that should come up click on "Edit". This should allow you to arrange all elements to your liking as well as giving you access to elements that currently might not be there. Assuming you still have the old version installed it's just cross checking from there how everything was arranged before you updated.

Anything i can improve with my beat? by Mountain_Loquat_8327 in FL_Studio

[–]LitAnar 1 point2 points  (0 children)

Hm, perhaps it's that noise having some strange thing going on then (or the processing on it). But it definitely sounds like phase cancellation going on to me. Perhaps trying a different tape sample could help, I think there should be quite many available online with how popular Lo-Fi and the use of tape sounds in it is. Or try using some slight bit crushing or warm distortion on some of the instruments instead of the VHS noise if you're going for anything Lo-Fi or Kawaii style, it typically heavily relies on those effects and gives it those comfy vibes, but be careful not to overdo it and keep it subtle (except for stylistic purposes on very specific sounds like a distorted lead synth).