News for hackers. Stuff that matters.
Re:The DaftPunKonsole by dang on Sunday February 15, 2015 @01:28AM (#9051937)
Re:The DaftPunKonsole by vortico on Wednesday February 11, 2015 @10:00AM (#9033153)
This is super fun to play with, but the delay between the key press and audio playback is killing me. Are the sounds loaded into a buffer? Perhaps this is the best latency you can get with Web Audio (on Linux).

Also, the semicolon key is not working for me. A fun toy nonetheless!

Re:The DaftPunKonsole by _lce0 on Wednesday February 11, 2015 @12:56PM (#9034329)
> Also, the semicolon key is not working for me. A fun toy nonetheless!

on my keyboard, I have a "ñ" key there. It would be awesome if you could use keys "hjkl" instead.

Re:The DaftPunKonsole by pxndx on Wednesday February 11, 2015 @02:00PM (#9034793)
The ñ key works for me!
Re:The DaftPunKonsole by 9point6 on Wednesday February 11, 2015 @11:10AM (#9033635)
This will probably be about as responsive as this can get without a low latency audio driver.

At least on Windows, this is similar to the latency when using a MIDI keyboard and a DAW with non-ASIO/WaveRT audio drivers. I think for Linux the analogue would be higher-latency with PulseAudio than with JACK.

Re:The DaftPunKonsole by vortico on Thursday February 12, 2015 @02:55PM (#9040983)
I use PulseAudio on Linux, so that must be why. Is it possibly to get Firefox on Windows to use ASIO4all?
Re:The DaftPunKonsole by chrisan on Wednesday February 11, 2015 @10:29AM (#9033351)
> Also, the semicolon key is not working for me. A fun toy nonetheless!

Appears to be Firefox related, when I play with this in Chrome it works

Re:The DaftPunKonsole by jonrx on Wednesday February 11, 2015 @10:47AM (#9033457)
I can't and Ctrl-shortcut (i.e. Ctrl+W to close the window) (Firefox 35.0.1 on Windows 7).

Otherwise, a fantastic job :-)

Re:The DaftPunKonsole by TempaTaccount on Wednesday February 11, 2015 @10:55AM (#9033527)
Sound doesn't seem to be working for me. (Firefox 35.0.1 on Ubuntu 14.10)
Re:The DaftPunKonsole by thecodemonkey on Wednesday February 11, 2015 @11:04AM (#9033592)
This is awesome, I really love the execution. Shameless plug, I built an iPhone app some years ago with a similar concept https://itunes.apple.com/us/app/daft-touch/id308195972?mt=8
Re:The DaftPunKonsole by vertex-four on Wednesday February 11, 2015 @12:11PM (#9034014)
For whatever reason, on my Firefox (35 on Linux), all the audio files fail to load with a 403 error? For example, http://s.cdpn.io/190177/Our3.ogg returns a 403 Access Denied XML document.
Re:The DaftPunKonsole by calibwam on Wednesday February 11, 2015 @11:05AM (#9033607)
There should be a karaoke bar when playing the instrumental. Also, high seems to be low for me?
Re:The DaftPunKonsole by bawigga on Wednesday February 11, 2015 @12:03PM (#9033956)
This is awesome, would love to hear recording of what others have put together.
Re:The DaftPunKonsole by Carrok on Wednesday February 11, 2015 @12:50PM (#9034277)
Clearly built for nerds, but no DVORAK option? Come on.
Re:The DaftPunKonsole by mbrubeck on Wednesday February 11, 2015 @01:16PM (#9034464)
It's a gap in the web platform that there's no solid cross-browser way to automatically adapt these sorts of control layouts to the user's actual keyboard layout. :( I type Dvorak too, and just have to switch to qwerty for certain games and things like this (both web and native).
Re:The DaftPunKonsole by KwanEsq on Wednesday February 11, 2015 @02:13PM (#9034928)
Isn't that what http://www.w3.org/TR/DOM-Level-3-Events/#keys-codevalues is for?

Hmm, caniuse doesn't seem to have it, I'll have to look for info.

Edit: ah, and looks like Fx38 will be the very first to have it. https://bugzilla.mozilla.org/show_bug.cgi?id=1126673

Re:The DaftPunKonsole by simlevesque on Wednesday February 11, 2015 @01:24PM (#9034511)
I don't see why you'd say it's "clearly for nerds", it seems to be "clearly for Daft Punk fans" and since they're french you can use the french keyboard layout soo their french fans can play with it.
Re:The DaftPunKonsole by binarnosp on Wednesday February 11, 2015 @04:07PM (#9035721)
Cannot wait to play this in the office tomorrow
Re:The DaftPunKonsole by pwenzel on Wednesday February 11, 2015 @10:25AM (#9033323)
I love the Normal, Low, and High modifiers.
Re:The DaftPunKonsole by rcarmo on Wednesday February 11, 2015 @11:35AM (#9033801)
I wish I could mod this way higher.
Re:The DaftPunKonsole by oldmanhorton on Wednesday February 11, 2015 @10:50AM (#9033475)
made an account just to saw how awesome this was
Re:The DaftPunKonsole by treve on Wednesday February 11, 2015 @11:07AM (#9033616)
I didn't need an account to see this. Odd!
Re:The DaftPunKonsole by rememberlenny on Wednesday February 11, 2015 @11:22AM (#9033708)
He may have meant "say".
Re:The DaftPunKonsole by topliceanu on Saturday February 14, 2015 @12:58PM (#9050222)
how cool is this?!
Re:The DaftPunKonsole by dangowango on Wednesday February 11, 2015 @10:26AM (#9033333)
love it!
Re:The DaftPunKonsole by larssorenson on Wednesday February 11, 2015 @10:57AM (#9033542)
Your hot-linking cross domain made this impossible to try, as I block this. Please serve your javascript directly, even if it is a third party library.

Additionally, the "Over" button (;) does not work for me for whatever reason. Firefox 30.

Re:The DaftPunKonsole by kaoD on Wednesday February 11, 2015 @11:39AM (#9033820)
> Please serve your javascript directly, even if it is a third party library.

CodePen is a frontend playground. You cannot host anything there, so third-party scripts are a requirement.

You can either disable the third-party block or just don't play with it.

Re:The DaftPunKonsole by mmabbq on Wednesday February 11, 2015 @12:58PM (#9034340)
Yeah the JSON file with key mappings (http://s.cdpn.io/190177/keyboard_.json) appears to have an incorrect mapping for ';'.

It says 186, but console.log(code) returns 59 for me. If I update the javascript to replace the 186 with 59 the sound will play, but to get proper CSS effects I think the JSON file needs to be corrected.

Re:The DaftPunKonsole by Igglyboo on Wednesday February 11, 2015 @11:56AM (#9033913)
That's not possible on codepen