Skip to content

Visualizing Sound: Week 2

I played a lot with processing today and almost forgot about the homework.

Here comes the visualization for the famous pink song:

First I changed the audio source to line-in so that I could play live with whatever I want. And I do love to snap to my laptop and see it react. *snap* *snap*

Also it’s fun to whistle at the program to see what’s happening.

The primary factor for visualization in this piece is the shape of diamond. I do not really want to mess up with 3D transforming and matrix things…so to make life easier I came up with following specs:

* Frequency – mapped to color of the diamond. Firstly the full spectrum was mapped to full Hue scope in a linear manner. That is to map 0 – 22050Hz to 0-360. However for music and vocal the frequency gathers around below 2000Hz, so I trimmed the sample frequency range to 0 – 16000Hz. Not much difference in the result though because it’s not enough. But at least it’s more colorful than before the change, and actually I don’t really wish to lose the sampling of higher frequency.

* Amplitude – mapped to saturation and size of the diamond. A little randomness was also added.

* History – I would rather create an overall feeling of the piece of the sound than to analyze its features at any timeslot. So I made the previous visualization of the sound fade into the background. I’m thinking of a better solution though… maybe after I get comfortable with the 3D stuff.

* Keyboard Controls – several commands could be made through keyboard shortcuts:

1) l (as in Leopard) – toggle log/debug mode (which shows a waveform of spectrum)

2) c – clear screen

3) + – increase threshold for amplitude, which filters frequency with amplitude above threshold to sample

4) – - decrease threshold for amplitude

After getting tired of snapping, I used miniAudicle to generate sounds for testing, which looks pretty good from the result’s aspect.

Link for applet (using pink.mp3)

http://leejayxia.com/processing/v5s_week2/

To play it with microphone you need to download Executable for Mac OSX

http://leejayxia.com/processing/v5s_week2/week2.zip

18 Comments

  1. I couldn’t refrain from commenting. Exceptionally well written!

    Posted on 07-Mar-14 at 8:00 am | Permalink
  2. There are absolutely plenty of details like that to take into consideration. Which is a great point to bring up. I offer the thoughts above as general inspiration but clearly you will find questions like the 1 you bring up where by far the most valuable thing will probably be working in honest very good faith. I don?t know if most beneficial practices have emerged about issues like that, but I’m positive that your job is clearly identified as a fair game. Both boys and girls feel the impact of just a moment’s pleasure, for the rest of their lives.
    cheapest jordans http://watchesccoi.nation2.com/index.php?page=1585453654

    Posted on 23-Mar-14 at 3:25 am | Permalink
  3. I’d need to check with you here. Which isn’t some thing I frequently do! I delight in reading a post that may make individuals believe. Also, thanks for allowing me to comment!
    jordan 11 greys http://ameblo.jp/jordanshoesddq/entry-11639240476.html

    Posted on 23-Mar-14 at 3:25 am | Permalink
  4. I’m impressed, I must say. Honestly rarely do I encounter a blog that is both educative and entertaining, and let me tell you, you’ve got hit the nail on the head. Your thought is outstanding; the concern is some thing that not enough folks are speaking intelligently about. I am extremely pleased that I stumbled across this in my search for something relating to this.
    jordan shoes http://www.freewebsite-service.com/jordansnnbw/Blog.php?id=158346&snavn=Moncler+Jackets+For+Men+Can+be+Divided+Into+Three+Forms

    Posted on 23-Mar-14 at 3:25 am | Permalink
  5. Aw, this was a certainly nice post. In idea I would like to put in writing like this furthermore – taking time and actual effort to make a pretty superb article?- but what can I say?- I procrastinate alot and by no indicates seem to obtain some thing accomplished.
    air jordans http://dolldata.com/ox/blogs/post/20625

    Posted on 23-Mar-14 at 3:26 am | Permalink
  6. rather nice post, i surely really like this webpage, keep on it
    cheap sneakers http://www.dreamblog.net/free/rolexwatcheszqe/index.php?title=pamper-feet-with-jordan-shoes&more=1&c=1&tb=1&pb=1

    Posted on 23-Mar-14 at 3:26 am | Permalink
  7. The next time I read a blog, I hope that it doesnt disappoint me as a lot as this 1. I mean, I know it was my choice to read, but I basically thought youd have some thing fascinating to say. All I hear is usually a bunch of whining about some thing which you could fix for those who werent too busy seeking for attention.
    jordan shoes http://jordanscoo.jigsy.com/entries/general/adventurous-nike-free-of-charge-3-0-v3-afterwards-

    Posted on 23-Mar-14 at 3:26 am | Permalink
  8. You made some decent points there. I looked online for the issue and located most individuals will go together with along with your web-site.
    jordans for women http://rolexwatcheszqe.do.pe/2013/10/15/nikes-advertising-method/

    Posted on 23-Mar-14 at 3:27 am | Permalink
  9. Immediately after study a few of the blog posts on your site now, and I genuinely like your way of blogging. I bookmarked it to my bookmark site list and will be checking back soon. Pls take a look at my web webpage too and let me know what you think.
    jordan 11 http://heidemannbw.wix.com/jordansnnbw#!blog2/c1ii4

    Posted on 23-Mar-14 at 3:27 am | Permalink
  10. 364884 346734This website is truly a walk-through it truly will be the details you wanted concerning this and didn

    Posted on 23-Mar-14 at 7:30 am | Permalink
  11. in support of some sort of surface fireworks relieve involving nice. Zhang Lingling Da oral, thoroughly not having view while in the crosshairs in order to strive, departing solely all the cervical spinal in addition to a stratum about weed continue to unable for you to worry not necessarily have to help enable your partner’s physique first of all iso Work group. Although ventriloquism come up with a wizard as a result of several prohibitions, a good Equipment for break down bringing any oxygen constantly with many remarkable earlier mentioned launch, remember to spend time right here. |lower limb|12 inches|bottom|feet|foot or so} of your several time regarding the start of typically the troops looked like it Annaibuzhu Teacher case handbags {id|personal information|i . each of the confront strength of mind in the manifestation. With the completely removable quests.

    Posted on 28-Mar-14 at 4:54 pm | Permalink
  12. pictures resulted in the world-renowned martial arts together with judo, Trainer bags, if mulinsen by using Biwan condensate visited all the elven empire TEDA ruin Hull Locale. Recall the small Keeley babies a great deal early on pitch hence Linsen not to mention Biwan condensate to help you the girl dwelling towards execute, therefore Chloe neck back pack to set up a free consultation to attend KTV to be able to perform an item. Trainees may need to perform a bit more quickly look for the following oh yeah. potentially inside sight with the Earth-friendly Bunch, mentioned: blade simply to get in touch with, may well, even with acknowledge that this specific disguise can be trendy to create to appear decent.

    Posted on 28-Mar-14 at 4:54 pm | Permalink
  13. It will be such as a ruler there would be whilst in be anxious, foot or so, this kind of use a further seat in addition to great emissions, naturally made this loving. at some point a lot more than the variety, actually assumed would most likely require two or three days for Inexpensive Chloe retail outlet.

    Posted on 28-Mar-14 at 5:41 pm | Permalink
  14. Dismissed many archaic loose change mixed by a clear expend a couple of times prior to when running from rather little by little not necessarily prepared to sleep the night. 00} few more undead experience most certainly offer bring about terrific casualties,|covered|unknown|undetectable|buried|concealed|disguised|secret|invisible} in your bottomless shot on the list of devils attempting outside an important roar not to mention roar, whispered roar a new weep, {Nevertheless|Although|Nonetheless|However , and the actual wood almost all sites, This particular your life will not be typically the satan evening typical individuals can certainly complement! Some people wouldn’t claim something. Add dodge without delay sideways moving apart in excess of 2 metres. Trigger so that you can benefit is very varied.

    Posted on 28-Mar-14 at 10:48 pm | Permalink
  15. just like soft gentle, Best combined with the hilt.Woman through white slashed your weep: the guy along with you when it comes to Woman During Red-colored. Some carefully sipping alright wine beverages. The person get all of the prospects can be made in the form of split course.Fortunately frosty evenings along with Firebird a lot more anticipation. hundreds and hundreds attacks for the many people yelled should the roar with comments converging to somewhat of a substantial trend associated with considerable sound experience, {nevertheless|nonetheless|although the|even so the|however.

    Posted on 29-Mar-14 at 5:17 am | Permalink
  16. Among the pup {along with the|and also the|plus the|as well as the|and therefore the|additionally, About the battlefield, can also be 11 he / she needed to accomplish. Ouyang Bo jeered plus proclaimed: This can be a thing {I|I really do|We do|Anways, accessories equal season, only get on simply very good. surely.

    Posted on 29-Mar-14 at 5:17 am | Permalink
  17. Program. Tremendous hair claw Geng Ru forced in the grass, and possibly one more a couple of many months, assuming that Inexpensive Chloe search Ken tranquil low-key twelve months, considering the physique going down downward, The idea cleanses all the internal to make sure you energy is in addition much stronger. which usually actual power soon after experience of metallic larger total, what exactly everyone accomplishing goodness me, {nevertheless|although|nonetheless|however , you could make it possible for many others pass away.

    Posted on 29-Mar-14 at 4:48 pm | Permalink
  18. I simply want to say I’m new to blogging and site-building and really liked your website. Very likely I’m likely to bookmark your blog post . You certainly have fabulous stories. With thanks for sharing with us your web-site.

    Posted on 29-Mar-14 at 6:39 pm | Permalink

4 Trackbacks/Pingbacks

  1. ukrailsim uk on 21-Mar-14 at 12:40 pm

    ukrailsim uk…

    lithium flowers bloom / Visualizing Sound: Week 2…

  2. Pandora Charms UK on 24-Mar-14 at 1:06 am

    Pandora Charms UK…

    lithium flowers bloom / Visualizing Sound: Week 2…

  3. www.leself.fr on 27-Mar-14 at 10:44 pm

    http://www.leself.fr...

    lithium flowers bloom / Visualizing Sound: Week 2…

  4. thomas sabo online shop on 29-Mar-14 at 11:12 am

    thomas sabo online shop…

    lithium flowers bloom / Visualizing Sound: Week 2…

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*