Öscillofun

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: Öscillofun

Post by RPG » Sun Mar 20, 2011 4:20 pm


User avatar
Jasoco
Inner party member
Posts: 3619
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Öscillofun

Post by Jasoco » Mon Mar 21, 2011 2:11 am

Whoa. Notch posted this on his Twitter and when I saw it I thought to myself, "self", I said, "how cool would it be to make that in Löve?"

And here it is.

So I tweeted it to Notch. (Not promising a reply. They never reply to my Tweets. Everyone else's, yes, but mine, no.)

I am once again impressed for the second time tonight. Dayum...

User avatar
Ertain
Citizen
Posts: 55
Joined: Fri Nov 19, 2010 9:38 pm
Location: Texas, U.S.A.
Contact:

Re: Öscillofun

Post by Ertain » Thu Mar 24, 2011 11:49 pm

Holy god! :shock:
Booted, suited, and ready to get executed.

User avatar
Alexintosh
Prole
Posts: 8
Joined: Mon Apr 04, 2011 11:18 am
Location: Italy
Contact:

Re: Öscillofun

Post by Alexintosh » Sun Apr 17, 2011 2:07 pm

that's really cool! I was wondering why the other songs looks like noise, it's an encoding problem?

User avatar
Taehl
Dreaming in associative arrays
Posts: 1024
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Öscillofun

Post by Taehl » Sun Apr 17, 2011 4:50 pm

That song was specifically written to make visuals when run through an XY oscilloscope. Other songs do display properly.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.

User avatar
Jasoco
Inner party member
Posts: 3619
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Öscillofun

Post by Jasoco » Sun Apr 17, 2011 6:09 pm

In order to understand how it works you need to know how sound works. The song made for this show is specifically made to place certain sounds in the right place to make the line make shapes while still sounding like a song and not just random sounds.

User avatar
ishkabible
Party member
Posts: 241
Joined: Sat Oct 23, 2010 7:34 pm
Location: Kansas USA

Re: Öscillofun

Post by ishkabible » Sun Apr 17, 2011 7:14 pm

cool, it stops playing for me after a while though. the song keeps playing but the visualization doesn't

User avatar
miko
Party member
Posts: 409
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Öscillofun

Post by miko » Mon Apr 18, 2011 8:08 am

Jasoco wrote:In order to understand how it works you need to know how sound works. The song made for this show is specifically made to place certain sounds in the right place to make the line make shapes while still sounding like a song and not just random sounds.
That is interesting. Does anyone have some URL so I could read more about the algorithm? It would be fun to generate (or "encode") graphics, not only to render it (think: paintbrush to music conversion ;) )
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples

User avatar
bartbes
Sex machine
Posts: 4933
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Öscillofun

Post by bartbes » Mon Apr 18, 2011 8:10 am

Well, the 'algorithm' to calculate a sound for an image isn't that hard, it's making it music that's hard. Since it's a monochrome image, the only data you need is the X and Y position, which are indicated by the 2 channels (it's stereo music).

User avatar
BlackBulletIV
Inner party member
Posts: 1260
Joined: Wed Dec 29, 2010 8:19 pm
Location: Queensland, Australia
Contact:

Re: Öscillofun

Post by BlackBulletIV » Mon Apr 18, 2011 8:44 am

bartbes wrote:Well, the 'algorithm' to calculate a sound for an image isn't that hard, it's making it music that's hard. Since it's a monochrome image, the only data you need is the X and Y position, which are indicated by the 2 channels (it's stereo music).
But aren't the samples played one at a time? Or do you take a bunch of samples at a time? Is that decided by the refresh rate or something?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests