These are chat archives for learnclang/general

10th
Feb 2015
David Martinez
@davidmartinezanim
Feb 10 2015 07:52
I hope to catch up soon and join the fun. :-)
Marcus Ottosson
@mottosso
Feb 10 2015 08:06

I'm also hoping to get some more time for it soon.

I made the next project our current project. Full steam ahead!

Justin Kovac
@justinkovac
Feb 10 2015 14:49
Looks really cool mottosso!
Marcus Ottosson
@mottosso
Feb 10 2015 14:51
Thanks @justinkovac! It's just an animation, not an actual working program. That's what we're here to do. :)
Justin Kovac
@justinkovac
Feb 10 2015 14:52
Hahaha oh I know, should be a fun little project :smile:
Marcus Ottosson
@mottosso
Feb 10 2015 14:58
Think so too. :) You ever done any audio programming before?
Justin Kovac
@justinkovac
Feb 10 2015 17:02
I've generated a sound using a sequence of user selected values with FFT for a client project, but it was under a tighter deadline so I'm always wanting to learn how to think through this kind of stuff the (subjectively) right way :smile:
Marcus Ottosson
@mottosso
Feb 10 2015 17:25

Ah, that's great! I was always fascinated by FFT; ever since I first heard about it in Transformers 1.

(Fast-forward to ~1.45)

https://www.youtube.com/watch?v=_xpfJEBU9BA#t=103

Busty gal - "Something something fourier transfers something something quantum mechanics"

Senior something - "THERE IS NOTHING, ON EARTH, THAT COMPLEX!"

Gah. So awesome. :)

@justinkovac What library/api did you use? Not portaudio?
Justin Kovac
@justinkovac
Feb 10 2015 17:47
hahah gogo youtube!
It was actually built initially as a web application in plain-ol js. Performance was rubbish ( but it worked!) so it was converted over to Unity for final application in C#.
No library / apis used from what I recall (and just skimming through the old code), but I did find some matlab psuedo code for the process that I was able to translate to js and then plot onto a graph in a charting library so you could view the frequency
Marcus Ottosson
@mottosso
Feb 10 2015 17:52

was able to translate to js and then plot onto a graph in a charting library so you could view the frequency

Oo, that's cool. I'd like to do that here too. In the terminal. :)

Justin Kovac
@justinkovac
Feb 10 2015 18:08
Please do! C / C++ is still a big scary monster for me so anything that runs parallel to things I've done in the past or mostly understand are going to be great projects to follow along and translate.
Very self-serving of me :X
Marcus Ottosson
@mottosso
Feb 10 2015 18:10
Sounds good to me. :)

C / C++ is still a big scary monster for me

Yeah, me too, but it's gotten a lot less scary since we started this group. A lot of it had to do with the discovery of Handmade Hero, I'm all starry eyed about it. Feels like I've witnessed most of the scary parts by now, and it's not that bad. :)

Justin Kovac
@justinkovac
Feb 10 2015 18:13
That's great to hear! I'm just about to start diving into it -- both excited and intimidated by the sheer amount of videos/information to catch up on. I need a solid week or two to soak it all up.
Marcus Ottosson
@mottosso
Feb 10 2015 18:29
Understandably; one of those puppies is enough to keep my mind busy for a week with research and testing just to understand what he really did.
But it's very relevant to what we do here; in the second week or so, he shows you how to output audio using DirectSound.