HOME | DD

Published: 2007-08-08 22:49:38 +0000 UTC; Views: 2814; Favourites: 23; Downloads: 96
Redirect to original
Description
It is big so you will need to wait a little...So I wanted to make something to see sound spectrum changes. After some time remembered one work that amazed me few years ago. Here it is: [link] Check it out because it is better
Music is taken from here: [link] It is under CC license and I suppose I am not doing anything illegal. Anyways music is incredible and contains some cool looking parts. Here is his myspace by the way [link]
Related content
Comments: 54
Schnurr [2007-08-14 19:33:34 +0000 UTC]
that looks reallly cool, was that a lot of actionscript?
π: 0 β©: 1
wonderwhy-ER In reply to Schnurr [2007-08-14 19:53:26 +0000 UTC]
No... 45 lines of code But this is flash. I think i would have been some 500 on C++
π: 0 β©: 1
Schnurr In reply to wonderwhy-ER [2007-08-14 23:03:48 +0000 UTC]
yes i love flash lol, i never tried making one of these, but it looks awesome,
i never even tried c++ lol
π: 0 β©: 0
javamocha [2007-08-09 17:05:34 +0000 UTC]
i like it
could you maybe label acouple of the frequencies across the bottom
π: 0 β©: 2
wonderwhy-ER In reply to javamocha [2007-08-09 22:21:58 +0000 UTC]
well i checked and i don't know how to map them to real sound friquencies....
π: 0 β©: 1
javamocha In reply to wonderwhy-ER [2007-08-10 14:28:23 +0000 UTC]
ok thanks for checking what is the range?
π: 0 β©: 0
wonderwhy-ER In reply to javamocha [2007-08-09 17:50:00 +0000 UTC]
I will need to think about it a little. I mean that i don't knwo real frequencies which i get. Need to make little research on that...
π: 0 β©: 1
javamocha In reply to wonderwhy-ER [2007-08-10 14:27:26 +0000 UTC]
its probably between 20Hz and 20kHz but is it linear or something else?
π: 0 β©: 1
wonderwhy-ER In reply to javamocha [2007-08-10 18:25:14 +0000 UTC]
Well... It seems that FFT transformation scales value s in a process... So resulting values are from 0 to 1.4~(root of 2) And I don't know reason behind it Mmm... So if I will speak about the whole process... FFT gets an array of discrete values of the function. In this case I have 256 values of sound wave. Those values are passed to FFT. And I get 256 values of frequency on this functions part. So I suppose that 1βst value of this goes for lowest frequency 1... And 256 value for 256 frequency. Maximal on such short part of function. So you already see that it's hard to map back to real values... I think that if I will check the frequency of MP3 that is played and will think that 256βth value is equal to it then may be I will be able to map it but I didn't find any information on this question. This all is just my guess... Except for the part about values I can get in flash from sound and part about FFT(Fast Fourier Transformation) and it's result.
π: 0 β©: 1
javamocha In reply to wonderwhy-ER [2007-08-11 04:12:22 +0000 UTC]
where can i see the code for these functions... i use vb and ill try to translate, i intersted in how they pull these frequences out of the mp3...
i know that music files are just a list of values of micorphone voltages taken really rapidly, i just want to know how they get frequencies out of that.
π: 0 β©: 1
wonderwhy-ER In reply to javamocha [2007-08-11 07:46:41 +0000 UTC]
well... in Flash there is SoundMixer class. It controlees some part of the soudns in the app. It has computeSpectrum function. Depending on a parametrs it returns raw data or spectrum. So i doubt that flash example till help you to do that in VB. Actualy i have experement for AS2 where i programmed FFT my self and used MIC volume as value. I will try to fidn it and then psot a code here.
π: 0 β©: 1
javamocha In reply to wonderwhy-ER [2007-08-12 16:56:08 +0000 UTC]
i really just want to understand the code behind it
π: 0 β©: 1
wonderwhy-ER In reply to javamocha [2007-08-13 08:38:25 +0000 UTC]
wow thanks. I will read it latter after work. May be i will mae one mroe experement based on this. To get the notes
π: 0 β©: 1
javamocha In reply to wonderwhy-ER [2007-08-14 01:17:31 +0000 UTC]
i didn't quite understand it in some places i am starting calc this year
π: 0 β©: 1
wonderwhy-ER In reply to javamocha [2007-08-14 08:10:26 +0000 UTC]
Well i read a little. I saved the page for future. Rightnow i am working on on Ball world thing.
π: 0 β©: 1
CainDraka [2007-08-09 14:34:55 +0000 UTC]
no idea what I'm looking at but I'm entertained >.>
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-09 15:03:46 +0000 UTC]
And what are you looking for? May be we can exchange works. I will provide you with flash thing you want and you provide me with some drawings for games
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-09 15:10:06 +0000 UTC]
wha o_o? I wasn't looking for anything lol
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-09 16:09:50 +0000 UTC]
ouh lol i read wrong
"at - for"
That was late and i was slippy i suppose
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-09 18:20:23 +0000 UTC]
lol, I do need to get into flash sometime though
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-09 22:01:02 +0000 UTC]
Want to learn something?
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-10 12:54:30 +0000 UTC]
sure! when I actually have flash again >.>...and a computer that doesnt belong to someone else or the school ._.
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-10 12:56:56 +0000 UTC]
Well i have a lot to learn in programming and Flash too Tough not those things you like about them i suppose...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-10 13:23:33 +0000 UTC]
I need to learn how to make video games of awesome <.<
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-10 13:35:34 +0000 UTC]
Wohohoho... I have expiriance in programmin and computer grahics... Well actualy 7 years but you may say 4-5 And i still have a lot to learn to make good games.
You know that game developmen is considered to be the msot complex type of art... It contains music, graphics, story, characters... And math, physics, algorithms... Thats not all but even this part is huge.... I was thinking on making and music and graphics and programing for my games... But... I slowly start to look for CG artists and music composers becouse making this all... Thsi is just too much... I may be can create graphics and ofcourse programming part but sorely not hte music part. Tough i found few good places here i can by needd righs on some good music for reasonable price...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-10 15:49:40 +0000 UTC]
well im majoring in Game Art&Design for the sole purpose of getting experience with all of that, cuz I figure If I can make a good game, I can prolly make anything else
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-10 17:53:54 +0000 UTC]
But what you are majoring is only 30% of complete game making no? Story, Music, Art? Ok may be 30-70% depending on a game...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-10 18:30:33 +0000 UTC]
well music i was never really planning on making myself, I can be good at everything @_@, but I already got most of the arts down, and stories I've been working on (in my head), and I'll be learning all of the current programs and programming languages used. Damn its gonna be so fun
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-10 18:32:06 +0000 UTC]
Hehe Cool... I've been loking for somethign game related in Europe(English language) or Russia(Russian) but haven't found anything...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-11 01:22:57 +0000 UTC]
you mean classes or..?
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-11 07:49:50 +0000 UTC]
No something more serios. Like get Bacherlo degree in CS(computer science) with specialisation in game development Or may be computer graphics...
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-11 14:06:59 +0000 UTC]
just get degrees in everything <.< Then escape to another country that doesnt know about the massive debt youd be in from all of those loans >.>
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-12 16:23:36 +0000 UTC]
Heh too much time it will take
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-12 16:59:11 +0000 UTC]
pft, you have your whole life to do it >.>
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-12 17:11:00 +0000 UTC]
Heh... And where will be time to actualy make the games
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-12 17:18:59 +0000 UTC]
by then you'll have access to prosthetic cyborg bodies and cyberbrains , so you'll live forever >.>
π: 0 β©: 1
wonderwhy-ER In reply to CainDraka [2007-08-12 17:35:19 +0000 UTC]
Hehehe Well may be it is not our future but ways t extend life wil be invented in out life time
Here you are right. But untill then i will try to spend my life on thigs i find really necesary. And if we will becoem syborgs we will have all inf owe need from the net
π: 0 β©: 1
CainDraka In reply to wonderwhy-ER [2007-08-12 17:41:26 +0000 UTC]
until ninja jesus hacks the net and forces us to square-dance...to our doom @.@!
π: 0 β©: 1
ssjskipp [2007-08-09 02:23:09 +0000 UTC]
XD! Forget my other 2 posts -- I looked over the code a teensy bit closer, and I see he re-draws the 'output' onto itself, with the displace matrix - making it move by the displace...I need to learn to work with BitmapData a bit more...because the things you can do are pretty awesome...
π: 0 β©: 1
wonderwhy-ER In reply to ssjskipp [2007-08-09 08:04:25 +0000 UTC]
Yeah faster. I used same aprouch. Tough his is better anyway
π: 0 β©: 0
| Next =>