sin/virtule

🏳️‍⚧️MiaCD🏳️‍⚧️@lemmy.blahaj.zone to 196@lemmy.blahaj.zone – 168 points –

FUCK ZODIAC SIGNS, WHAT'S YOUR FAVORITE SIN; Lust, Gluttony, Wrath, Pride, Envy, Greed, Sloth. ok fine I'll let you choose heavenly sins too: Patience, Temperance, Charity, Kindness, Chastity, Humility.

(u can choose multiple or just a sin or a virtue and it doesnt matter if they're opposites or whatevs)

80

My favorite sin is Lust. My favorite virtue is Chastity.

My favorite sin is cos(2πft) = sin(2πft+π/2), because it's easy to work with (because the frequency is exactly f Hz if t is in seconds).

Incomprehensible, tell me more :3

So in electrical engineering and audio applications, we often decompose a signal into a (possibly infinite [1]) weighted sum of sines and cosines. Because each sine has a frequency [2], each weight roughly represents how much of each frequency is in the decomposed signal. Similarly, if such a decomposition is performed on certain test signals, you can characterize how a system will act on any signals.

In audio applications, this has a particularly intuitive interpretation: this characterizes how bright or dull, bassy or trebly, "sounds good" or "sounds like shit", a sound is, depending on what frequencies are present. For a system, it describes what frequencies it emphasizes and can be used as a figure of merit to decide if it is fit for purpose.

Also, because in audio applications we need to do things in nearly real-time, and because we can safely throw out all frequencies above 20kHz (we can't hear them!), all the infinities and most of the calculus drops out in favor of matrix algebra. This is why if you use an equalizer plugin (like ReaEQ or Izotope Ozone) you can see a(n approximate) chart of the frequencies that are sounding at any given time (technically in a window of time that is tiny compared to the progression of the music) and look visually for anything that shouldn't be there.

For example, even if your speakers can't reproduce 60Hz, you can check if a track has 60Hz hum from the power system by looking for a spike in the frequency response at 60Hz that stays up the whole time. To fix it, you would put in a notch filter that "throws out" 60Hz.

I prefer cos to sin because if you solve for both in terms of complex exponentials, you end up with real weights in the answer. Practically [3], cos(t) = 1/2 * ( e^jt + e^-jt ) and sin(t) = 1/(2j) * ( e^jt – e^-jt ), the latter of which is annoying. I prefer the form cos(2πft) because you can measure a real wave directly in terms of its frequency (=1/period). Since the post "asked for" a sin(e), and sin(x+π/2) = cos(x) for any x, I plugged in my "pet" argument to get sin(2πft+π/2).

Also on a more advanced note, if you derive the Fourier transform using e^j2πft as a basis, you end up with a unitary (read: mathematically convenient) transform. Unfortunately, using e^jωt where ω=2πf actually doesn't yield a unitary transform, but e^jωt still constitutes an orthogonal basis so it is still just as used in engineering applications.

I literally have dozens of books about sin(e)s and how to use them to get what I want (Fourier analysis). It's such a deep and interesting topic that I recommend everyone look into at some point.

[1] In the real world, because there is only finite computer storage, any infinities are practically truncated or otherwise approximated away. Still, the full theory is useful for understanding and possibly deriving your way out of some complex calculation.

[2] The input to the sine function sin(2πft) must not have units, i.e. it needs to just be a number. Therefore, if the independent variable t is in terms of some unit, the frequency is in terms of 1/unit. For example, if the input is in seconds, the frequency is in 1/s = Hz.

[3] j = sqrt(-1). Yes, j is for jmaginary. Electrical engineers use j instead of i for the imaginary unit. Also, all arguments to sin() and cos() are in radians, not degrees. π radians = 180°, π/2 radians = 90°, and 2π radians = 360° = 1 rotation.

Still incomprehesible but also somehow very interesting X3 thank u so much for the in-depth explaination! :D (cuz I'm hoping this is in-depth? this is normally when u sqy "actually, that's not in-depth at all" and fill my DMs with an ocean of math LOL) I'm studying something that includes electrical stuff and audio but DAMN thank god it's not this complicated cuz that would be too much for my silly head >u<

infinities are practically truncated or otherwise approximated away

What is the difference between these two? I can only imagine the infinite becoming the limit of the computer or maybe just a very very high number

What is the difference between these two?

Truncation is a primitive way to approximate something. In any case, truncating a process means to "cut off" the process after some point.

For example, take the number π ≈ 3.141592653589793... ad infinitum. If you need to do a calculation with π, you typically round it to some number of significant figures. For example, 3.1416 is π rounded to 5 significant figures. Truncation is even more primitive; for example, 3.1415 is π truncated to 5 significant figures by simply "cutting off" the rest.

So Fourier analysis in its most general form requires you to compute an uncountably infinite (one element per real number) number of points to represent a frequency response. If your signal has a start time and an end time, you can get that down to a countable infinity (one element per integer) of points. This is equivalent to truncating the signal in time. Audio signals typically have a beginning and end, so theoretically no work needs to be done. However, for real-time processing, we typically break up the signal into tiny windows and analyze each of these windows piece by piece.

Now you can have a computer start your task, but it will never finish it. It won't even finish processing one single window. To do that, you have to "ban" any frequencies above a fixed maximum from your analysis. This is equivalent to truncating the signal in its frequency response. For audio signals, this means that if there is anything above 22050Hz (or half your sample frequency), you throw it out before you process it any further. After this, you get an algorithm that will terminate in a finite number of steps.

Truncating the frequency response results in Gibb's oscillations (audible ringing) if done "irresponsibly". There are other methods (e.g. Cesaro summation) that can be used to reduce these oscillations, but it's kind of a technical topic. Practically, we use filters that "slowly" begin to throw out frequencies lower than the desired cutoff. These "gradual" filters don't cause ringing.

I can only imagine the infinite becoming the limit of the computer or maybe just a very very high number

The infinite would be how many measured values are needed to recover the signal and its frequency response without losing any information. You need to iterate over each of these when doing Fourier analysis on a computer.

(cuz I'm hoping this is in-depth? this is normally when u sqy "actually, that's not in-depth at all" and fill my DMs with an ocean of math LOL)

So I went to recording school several years before I went to engineering school. We were taught about frequency response and how to manipulate audio signals with canned software, but without any of the mathematics behind it. This is about as in-depth as that. Engineering school went into more depth, but considering that I want to actually write audio software, eventually with my own hand-rolled math, I really feel a need to understand Fourier analysis at a depth that my even engineering education alone has been unable to provide.

So there is a much more in-depth explanation (several books worth at least), but I'll spare you the details ☺️. But if you ever want those details, feel free to ask for textbook recommendations.

thank god it's not this complicated cuz that would be too much for my silly head >u<

I used to think math was too complicated for me to learn too. That's why I waited so long to go to engineering school after high school. And it is complicated. But IMO when I approached math like I approached my creative pursuits, i.e. something I planned on retaining for the rest my life, that is when it clicked for me. I have a terrible memory for random stuff that makes no sense and has no pattern. However, if I understand why something is the way it is, and what motivated mathematicians to come up with some new abstraction, it all of a sudden becomes a lot easier to internalize.

Ooo yea that makes the truncation thing a lot clearer thank u! :D and damn writing audio software sounds so cool, I always saw them as black magic X3 I wish u luck in ur studies and work :>

And ye I feel ya on that last paragraph, math is actually so fun when I'm in the mood but I just need to try really hard to get in that mood >u<

Gluttony and patience so I don't burn my mouth waiting for the food to cool

What if I'm Divergent?

srry what does that mean in this context? :p

It's just a dumb joke because vices and graces are made-up crap like the factions in the Divergent franchise.

Ohhh I've actually watched that movie! Omg I get it now LOL X3 is there more in the franchise? I looked it up and apparently the movie was based on a book

Ah hell, I'm a fan of all seven. But right now, I'm gonna have to go with Wrath.

Oh is something wrong that's making u wrathy? :< maybe u could use some Sloth and chill down :>

No, it's a reference to Serenity. Bad guy asks the hero basically the same question you did, that was his answer.

Oh damn I've never watched that but that sounds badass X3

Favorite sin: gluttony. It's fun to have more than you should of something

Favorite virtue: charity. Share the abundance!

Gluttony gang 💪 if they ever invent the time machine, let's meet up at the roman vomitorium

Wrath and Kindness

So the thing with virtues is there's never been any agreement on them in christian literature, unlike the sins which everyone knows. If you look at different sources, you'll find different virtues. With that out of the way, my favourite virtue is kindness and my favourite sin is lust, because I'm basic.

o really? I didnt know about the virtues before looking for a cool image of the sins for this post but when I searched them up all the sources I found listed those same virtues tho I didnt look much into it :p

I'm a proud patient sloth

Theres no better life :3

Am planning on getting chastity cage tho c:

Ok, that's a life improvement LOL x3

Mine would be charity and humility, I guess?

So far u're the only person that didnt pick a sin (ahem, lust X3) that's so pure >u<

It's not "so pure", I was just trying to extrapolate from whatever crappy description for the seven sefirot was given. Mine is water/tummy, which is called "charity" here, and purple/spiritual, which is called "humility" here. I'm referring to this here:

ooo thats cool! but that doesnt seem so related? just has the same colors and I dunno where the symbols came from but the "virtues" in my post r supposed to be from christianity and ur "sefirot" r apparently from a different religion? I dunno, I was just going to make it about the seven sins and then found out they also have the opposing seven virtues, but Im not a christian or anything

Yeah, this idea is pretty widespread.

To give you a short summary:

  • In India people very long time ago came up with a concept named "Chakra", which means something like "spiritual energy". It's not energy in the physical sense, but something more like willpower, concentration or sth.
  • In Jewish mysticism, people came up with a concept named "Sefirot" in their studies (Kabala). It's different words, but basically it means the same thing or something very similar to Chakra. It is "the aspects of god inside the human", so, in other words, spiritual powers.
  • In christian religion, they have "the seven deadly sins", which represent malfunctions of each of the spiritual energies. For example, if your hunger doesn't work, it becomes gluttony. If your responsibility doesn't work, it becomes greed. These "sins" are supposed to be warning signs, to lead you back to the proper function of each spiritual energy.
  • There's more examples of religion coming up with a very similar concept, but these are the most-well-known.

Oh, and I forgot: In almost all religions, or schools of spirituality, there's said to be seven (though the number varies depending on context) "spiritual energies" or centers, and they are commonly associated with the internal organs. They are said to be mere symbolism for your character (word is cognate with "chakra"), which in turn is a direct result of the configuration of your internal organs.

If you want any link, this one might do, though I admit, it is dificult getting good-quality resources on this. Most of what I know I have learned over years, and a lot of it from introspection. If you have any questions, feel free to ask me.

Ooo all that sounds very interesting! Damn u seem to know a lot about religions X3 is it cuz it's ur passion to study them or cuz they help with introspection or what?

Like, I have a natural tendency towards the "spirit world". So it comes easy to me.

Oh very cool, I'm not much into the spirit world and all that but I do like playing with my brain, learning how to control everything about it I can and knowing my limits and the things that make me me and stuff

And I've been in communities with people that had similar likings but some from a more spiritual perspective, sometimes the people like me and the people like u would fight X3 but idk I think both perspectives r so cool :3

sloth and diligence. i am a conundrum, but a somewhat stoic one i guess?

srry could u explain this comment? X3 I dont think I've seen the word conundrum used like this before tho english isn't my main language

in this context, i meant it as "paradoxical". since i can work hard and persevere, but i'm also a bit lazy about it all. Like, have you ever dropped your phone on the floor when lying in bed and come up with some absurd bodily contortion to reach it without physically leaving the bed? But you could have just gotten up and grabbed it and laid back down in much less time with much less energy spent overall? That's the kind of diligent slothfulness that I am quite prone to.