Mira
803 subscribers
851 photos
26 videos
21 files
273 links
sporadic attempts at life.
personal channel

files: @mira_files
playlist: @the_coding_playlist
Download Telegram
Mo' tries
Me vs this economy rn
i'm down for her like the economy
😁151
you be having a garden full of pretty flowers, but your favourite flower ain't just there. life is a mirror made of shared memories. and maybe, if a goodbye hurts, at least you have spent your time well, well enough to grow a whole garden around an empty soul
9
sleep
do random shit at 2am. the mixing was perfect ngl. we might drop a collab 🎧
Please open Telegram to view this post
VIEW IN TELEGRAM
4😁1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤‍🔥4
did you know when NADH delivers electrons to Complex I, Complex I pumps 4 protons? i didn't either 🚬

quiz support is integrated now
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥10
Mira
Photo
and yeah, the dopamine hits too
👏62
Forwarded from Kirakos
NADH
NERD AHH
4
Forwarded from 𝕶𝖆𝖑 .𝕯. 𝕶𝖗 (Ϩⲉⲛⲃⲟⲛ Ⲍⲁⲕ𐌵ꞅⲁ)🙃®
Mira
NADH NERD AHH
Nerdy And Dyslexic Hacker aka pixie
😁2😭2
i don't even relate to them, but these lyrics making a nigga feel it. i should actually tag them. #holeheart, cuz why not
6
just learned being short is a genuine red flag. thank God i am not short and fat 🎧
Please open Telegram to view this post
VIEW IN TELEGRAM
👀11🤣10🤡2
Mira
just learned being short is a genuine red flag. thank God i am not short and fat 🎧
whatchu guys starin at. i ain't the one who's short
😭5😁2
bullying is my love language ngl
12💯1😭1
Mira
Photo
profile pages are public and shareable
14🔥43
Mira
Photo
refined it actually. it's customizable either ways
6👌31
This media is not supported in your browser
VIEW IN TELEGRAM
remembered i had a free will and was experimenting with this last night. it's an audio visualizer purely made with web audio API and raw canvas API for the visuals.

how it works

it has two main files, AudioController.ts and VisualizerEngine.ts. the audio controller relies on web audio API and has a signal path:

AudioBufferSourceNode (Player) --> AnalyserNode (FFT) --> GainNode (Volume) --> AudioContext.destination (Speakers).

it uses getByteFrequencyData to extract the spectrum and getByteTimeDomainData to extract the waveform (oscilloscope data). the engine manually iterates through specific indices of the frequency array to calculate average energy for bass, mids, and treble. this normalized data is used for the visual parameters then.

as i said, the visualizer engine depends on canvas 2D API. it runs on a dedicated requestAnimationFrame loop to make sure a consistent 60fps (or 144fps on high-refresh monitors).

this is like an overview of it. i didn't know the concepts before. it's kinda nice what you can build these days with a limited set of knowledge and curiosity. i can make this a native desktop app and monitor output audio from spotify. it'd be nice to put it on the background while working or smtn
9👍21