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

files: @mira_files
playlist: @the_coding_playlist
Download Telegram
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
finna take a walk and look at the rich guy's compound and his generator 🎧
Please open Telegram to view this post
VIEW IN TELEGRAM
🤣7😁1
🔥5😭3
😁251
>21 missed calls
>look inside
>mom and dad blowing up my phone while i am fighting in my dream with the 4chan retard who happened to be a cow

just waking up tho. i can't even call myself a hustler 🎧
Please open Telegram to view this post
VIEW IN TELEGRAM
😁14😭32
seeing the outside properly after 8 consecutive days. shi is beautiful 🐸
Please open Telegram to view this post
VIEW IN TELEGRAM
12
i went out again, cuz got addicted to fetira thanks to certain someone. have the pic i took
14❤‍🔥2
👀
🔥9
Mira
👀
added KaTeX support. i ain't spamming you with updates anymore beka, but this one was cool 😂
7
typa shi i'd be doing if i didn't drop out from astu 🎧 KaTeX rendering is beautiful tho
Please open Telegram to view this post
VIEW IN TELEGRAM
😁8