Öscillofun
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Öscillofun
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...
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...
- Alexintosh
- Prole
- Posts: 9
- Joined: Mon Apr 04, 2011 11:18 am
- Location: Italy
- Contact:
Re: Öscillofun
that's really cool! I was wondering why the other songs looks like noise, it's an encoding problem?
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Öscillofun
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+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Öscillofun
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.
- ishkabible
- Party member
- Posts: 241
- Joined: Sat Oct 23, 2010 7:34 pm
- Location: Kansas USA
Re: Öscillofun
cool, it stops playing for me after a while though. the song keeps playing but the visualization doesn't
Re: Öscillofun
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 )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.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Öscillofun
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).
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: Öscillofun
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?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).
Who is online
Users browsing this forum: No registered users and 2 guests