Topic:   The Useless Web   (Read 5456 times)


0 Members and 1 Guest are viewing this topic.

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
The Useless Web
« on: April 13, 2014, 09:11:31 PM »
I think I'm going to make a useless website like the ones off of http://www.theuselessweb.com/.

My idea is to make an audio equalizer out of hats of various sizes. The trouble is, I have absolutely no idea how to go about doing this in a web language. Presumably it would be a small HTML5 thing, but I don't know how. I guess it would take the amplitude of different frequency ranges between 20 and 20,000 Hz, the human hearing range, and turn that into a value between 1 and 11 and determine which hat image to use (there's 11 of them).

The trouble is, I have NO IDEA how to do that. Any ideas?

I guess the trouble is coding to work with audio. I'm not 100% sure as to how that works.

https://drive.google.com/folderview?id=0ByGFPE2mRy5hR0Jka212aFFQSzQ&usp=sharing
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: The Useless Web
« Reply #1 on: April 13, 2014, 09:14:11 PM »
This does sound like a potential use for the HTML5 GM
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: The Useless Web
« Reply #2 on: April 13, 2014, 09:25:46 PM »
Okay, so I kinda sorta taught myself a bit of C++ a while back, and I can actually sort of work the HTML5 GM now.  8)

I really like HTML5 GM, actually. It's quite impressive. I guess I didn't fully appreciate it when Gan made it. For some reason, half the commands aren't working for me, though.

« Last Edit: April 13, 2014, 10:07:58 PM by Zoo »
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: The Useless Web
« Reply #3 on: April 13, 2014, 11:00:26 PM »
Well jeez, if you need help ask me or Gan. We're on Skype pretty often! However I'm not too familiar with working with audio.

 Even if I could write a program that can analyze a sound wave, I'd have no idea how to begin making an equalizer. I bet there's a free code library out there somewhere with a built in function to make one, though. Could be fun to try it.
« Last Edit: April 13, 2014, 11:06:07 PM by Connors »
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The Useless Web
« Reply #4 on: April 13, 2014, 11:25:24 PM »
I saw a Sound Transformer class in StageXL.

HTML5 GM is a bit outdated. Dart kinda fills that roll. It's actually easie than the HTML5 GM.

Zoo


  • GMG Extraordinaire

  • ***


  • Posts: 1686
    • My Bandcamp
Re: The Useless Web
« Reply #5 on: April 14, 2014, 09:21:47 PM »
Well... I think I'll do it in pure HTML5 canvas and JS. JS is so similar to C++ that it makes sense. Dart is a bit less inviting, even if it may be easier.
Kirby, your pudgy buddy from dream land, is back again on the game boy®!

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: The Useless Web
« Reply #6 on: April 15, 2014, 12:31:48 AM »
Dart is pure HTML5 and is just a nicer flavor of JS(it compiles to Javascript). Ask Connors, he's recently gotten into it.

Edit: Actually Javascript is a great starting point. You'll learn plenty and I'm sure you'll came to the same conclusion I did. It's simply too messy and you'll need a more organized language(Dart) with a dedicated IDE(Dart Editor) with auto-complete to work in. Writing Javascript code in TextEdit is certainly difficult.
« Last Edit: April 15, 2014, 12:38:24 AM by Gan »

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: The Useless Web
« Reply #7 on: April 15, 2014, 01:36:11 PM »
What you should understand is that Dart's syntax is almost identical to Java even though it compiles to HTML5 and Javascript files. I did enjoy working with it, it seems more optimized than Java.

Dart is easier to learn for Java programmers, but knowledge of Object Oriented Programming such as C++ might still be useful.

Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/