code logs -> 2009 -> Sun, 11 Jan 2009< code.20090110.log - code.20090112.log >
--- Log opened Sun Jan 11 00:00:43 2009
00:23 AnnoDomini [~farkoff@Nightstar-29274.neoplus.adsl.tpnet.pl] has quit [Quit: Death is always at your back, for all return to the earth from which they came, the fire of life is at the births to come, the tears of a mourning woman are at your left, and the wind blows forth from your right.]
00:46 You're now known as TheWatcher[T-2]
00:50 You're now known as TheWatcher[zZzZ]
01:26 Attilla_ [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
01:27 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
02:00 Attilla_ [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Quit: <Insert Humorous and/or serious exit message here>]
02:13 Syloqs-AFH [~Syloq@ServicesAdmin.Nightstar.Net] has quit [Connection reset by peer]
03:19 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has quit [Quit: Z?]
04:15
<@ToxicFrog>
Woot. Map loading interface is done.
04:15
<@ToxicFrog>
Apart from the bit where clicking on a map to load it doesn't actually load the map because I haven't written that part of the model~
04:16
<@Derakon>
Ahh, that's UI. It can wait.
04:24
<@Derakon>
Curses. My attempt to use boolean logic in a .bml file is foiled by my dependence on '<' which is a special character in XML.
04:44 * Derakon adds support for multiple colors of bullets.
04:45
<@Derakon>
Ideally this would be through pallet swapping, but the bullet graphics are not terribly large and it's easy to add new colors.
04:50
<@ToxicFrog>
Derakon: well, no, the bit I just finished is UI, the bit I haven't implemented is backend~
04:50
<@ToxicFrog>
Because I'm doing this part top-down so I can figure out what the API for map management should be.
04:50
<@Derakon>
Ah hah.
05:04 * Derakon creates a fireworks bullet pattern.
05:05
<@Derakon>
Unfortunately, it has a massive hole along the bottom edge of the screen, so I added some random-fire shotguns to cover those areas and force the player up to where the fireworks are going off.
05:05
<@Derakon>
Feels like a hack. :\
05:49
<@Derakon>
Why would evaluating 360/(int(0.02)*6.0) give an error "float division"?
05:49
<@Derakon>
...because I'm an idiot.
05:52
<@ToxicFrog>
...
05:52
<@ToxicFrog>
Yeah, doesn't that turn into 360/0?
05:52
<@Derakon>
Yes.
05:52
<@Derakon>
I was reading it as int(.02*6.0), which has similar problems but is less obvious.
05:56 Sy [Syloq@Nightstar-26318.hsd1.or.comcast.net] has joined #code
06:11 Sy [Syloq@Nightstar-26318.hsd1.or.comcast.net] has quit [Ping Timeout]
06:13
<@Derakon>
I am a GEEEEENIOUS.
06:14
<@Derakon>
I've created a bullet pattern where the emitter starts by laying out a circle of bullets which hang in space. Each bullet then periodically fires a shotgun at the player.
06:14
<@Derakon>
The circle has a fixed radius, but the number of bullets in it increases as you rank up (so more shotguns fired).
06:14
<@Derakon>
I call it "doomcircle", as even at rank 0 it's pretty hard.
06:16
< ASCII>
do they fire simultaneously or in sequence?
06:16
<@Derakon>
In sequence.
06:16
<@Derakon>
I could make them fire simultaneously with some cleverness in their wait patterns...but such patterns tend to be easier to game.
06:31
<@Derakon>
http://derakon.dyndns.org/~chriswei/temp/bulletmlscreen5.png
06:42
< ASCII>
and that's with 1x1 hitboxes for everything, or just the player?
06:43
<@Derakon>
Bullets use radius-15 balls (it occurs to me that should be 10). The player is a pixel.
06:56
< ASCII>
the ship rotates, or just moved in directions?
06:57
<@Derakon>
Just moves in directions.
06:57
<@Derakon>
Inertial ships and manic shooters do not mix well.
07:25 * ToxicFrog strangles windows
07:25 * Vornicus helps more.
07:26
<@ToxicFrog>
So, someone's written a kernel module for the PSP that can output the video over USB, and read control input in the same way.
07:26
<@ToxicFrog>
Which means you can plug it into the computer when at home and then, say, play it fullscreen on your 22" LCD monitor using a PS2 controller.
07:27
<@ToxicFrog>
Eeeeeeexcept...Durandal refuses to recognize any of its USB ports as USB2.
07:27
<@ToxicFrog>
I invite you to guess how well realtime video streaming works over USB1.
07:27 * Derakon snerks.
07:28
<@Vornicus>
Heh.
07:30
<@ToxicFrog>
Arlghfsaksagasg
07:30
<@ToxicFrog>
There is source available, but it's windows-only
07:30
< ASCII>
I can take a wild stab in the dark and say that it gives realtime a new meaning
07:30
<@ToxicFrog>
I wonder how much work it would take to port it to SDL.
07:30
<@ToxicFrog>
Or peel the frontend off the (old, notoriously unstable) PSPLink based SDL build and affix it to 0.19.
07:32 Derakon is now known as Derakon[AFK]
08:28 AnnoDomini [~farkoff@Nightstar-29274.neoplus.adsl.tpnet.pl] has joined #Code
08:28 mode/#code [+o AnnoDomini] by ChanServ
08:41 KBot [AnnoDomini@Nightstar-29637.neoplus.adsl.tpnet.pl] has joined #Code
08:41 AnnoDomini [~farkoff@Nightstar-29274.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
08:42 KarmaBot [AnnoDomini@Nightstar-29274.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
08:44 KBot is now known as KarmaBot
08:48 AnnoDomini [~farkoff@Nightstar-29637.neoplus.adsl.tpnet.pl] has joined #Code
08:48 mode/#code [+o AnnoDomini] by ChanServ
09:46 You're now known as TheWatcher
09:59 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
09:59 mode/#code [+o Attilla] by ChanServ
11:29 Vornicus [~vorn@Admin.Nightstar.Net] has quit [Quit: ]
13:07 Tarinaky [~Tarinaky@88.83.110.ns-10776] has joined #code
14:02 gnolam [lenin@Nightstar-1382.A163.priv.bahnhof.se] has joined #Code
14:02 mode/#code [+o gnolam] by ChanServ
--- Log closed Sun Jan 11 15:54:46 2009
--- Log opened Sun Jan 11 15:54:51 2009
15:54 TheWatcher [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
15:54 Irssi: #code: Total of 22 nicks [14 ops, 0 halfops, 1 voices, 7 normal]
15:54 mode/#code [+o TheWatcher] by ChanServ
15:55 Irssi: Join to #code was synced in 52 secs
17:06 Sy [Syloq@Nightstar-10536.hsd1.or.comcast.net] has joined #code
17:13 You're now known as TheWatcher[afk]
18:34 You're now known as TheWatcher
19:18
<@Derakon[AFK]>
I need a function that maps 1 to 0, 5/6 to 10, 4/6 to 20, 3/6 to 30, etc. and 0 to 60.
19:18 Derakon[AFK] is now known as Derakon
19:19
<@Derakon>
...wait, that's linear. Duh.
19:28
<@Derakon>
Okay, I think the doomcircle's pretty well done.
19:28
<@Derakon>
My only concern is that it might be a bit too hard~
19:57 * Derakon now has 7 viable bullet patterns.
20:01 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
20:06 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
20:06 mode/#code [+o Attilla] by ChanServ
20:45
<@Derakon>
"You are eaten by a grue. Now what was going through your head? A pitch black cave in a Zork game. What did you think was going to happen?"
20:48 Derakon is now known as Derakon[DDR]
21:00 Vornicus [~vorn@Admin.Nightstar.Net] has joined #code
21:00 mode/#code [+o Vornicus] by ChanServ
21:22
<@gnolam>
Derakon: moving to East Germany, eh?
21:24 Vornicus is now known as Finerty
21:53 Derakon[DDR] is now known as Derakon
21:53
<@Derakon>
I don't follow.
21:54
<@McMartin>
DDR = Deutsche Democratik Republik
21:54
<@Consul>
It also stands for "Double Data Rate".
21:54
<@Derakon>
Ah.
21:54
<@Derakon>
And Dance Dance Revolution.
21:55
<@McMartin>
As a status, the last is the only one that makes sense.
22:01
<@Consul>
http://link.brightcove.com/services/player/bcpid1813626064?bctid=6738580001 -- Guitar Hero-like game with a real guitar.
22:02
<@Consul>
Most of it is stupid vendor trade show ass-kissing, but at least you get to see the game in action.
22:10
<@Consul>
I love how he said that new patented technologies were required. MIDI pickups have been around for about 20 years now.
22:10
<@Derakon>
Probably talking about the software.
22:10
<@Finerty>
mmm, midi pickups.
22:10
<@Derakon>
Though I'm sure they'll sell gold-plated hookups for the audiophiles.
22:11
<@Consul>
Derakon: I don't know. I'm sure, like most supposedly new tech these days, the patents are either general or obvious.
22:13
<@Consul>
Hell, I've been kicking around ideas with others on using FFT to detect the roots of the harmonics present in an electric guitar signal. No MIDI pickup required.
22:13
<@Consul>
Doing it in real time, that's the trick.
22:13
<@Derakon>
That's why it's called the fast Fourier transform~
22:14
<@Consul>
Well, there's doing the FFT, and then there's extracting the information you need out of it.
22:16
<@Consul>
Sure, you can pick out the six strongest partials, but you're also assuming six strings are struck.
22:17
<@McMartin>
Harmonics can likely burn the Hell out of you
22:17
<@McMartin>
Especially if they reinforce.
22:18
<@Consul>
The Melodyne guys figured out a way to make it work.
22:18
<@McMartin>
If you're going for top six or whatever that may make it easier
22:19
<@Consul>
They can analyze a signal and pick the individual notes out of a chord, with amazing accuracy. And then to top it all off, you can manipulate single notes inside of a signal containing a chord.
22:19
<@McMartin>
My own experiments long ago were with single notes from a *piano*, which probably has a different sound envelope
22:19
<@Finerty>
Pianos are pretty damn hard.
22:20
<@McMartin>
But yeah, I'd frequently have notes extracted that corresponded to no actual key.
22:20
<@Consul>
If you have a specific instrument, you have the benefit of knowing in advance with the harmonic structure of a single note should look like.
22:20
<@McMartin>
Yeah, and if the elec-guitar's is unusually simple, that would make life easier
22:20
<@McMartin>
The changing-one-note-in-a-chord thing sounds like it would follow immediately from having that information, too.
22:21
<@McMartin>
That's what makes working in the frequency domain so awesome in the first place.
22:21 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has quit [Ping Timeout]
22:22
<@Consul>
You could work from the top of the range down.
22:22
<@Consul>
Start at 20khz, take the first peak, assume it's a harmonic...
22:22
<@Consul>
Actually, no...
22:22
<@Consul>
Start at the bottom, and assume the first peak is a root not.
22:22
<@Consul>
note*
22:23
<@Consul>
Work up from there.
22:23
<@Consul>
Is the next peak a harmonic or not of the first peak? If not, it's a new root note.
22:23
<@Consul>
Then the confusion becomes, with if a root note were struck that corresponds exactly to a harmonic of a known root?
22:24
<@Consul>
s/with/what
22:24
<@Consul>
That's when you start looking at relative strengths of the harmonics.
22:25
<@Consul>
Also, for equally-tempered instruments, the only notes corresponding to natural harmonics are octaves.
22:26
<@Consul>
This is the part of the process where knowing what instrument you're dealing with can help.
22:26 Attilla [~The.Attil@Nightstar-9469.cdif.cable.ntl.com] has joined #code
22:26 mode/#code [+o Attilla] by ChanServ
22:27
<@Consul>
And you still can't solve the problem of "what if a higher note corresponding to a harmonic of a lower note was struck with a lower amplitude?"
22:28
<@Consul>
Suddenly, a custom pickup on the guitar starts to seem reasonable. :-)
22:37 AnnoDomini [~farkoff@Nightstar-29637.neoplus.adsl.tpnet.pl] has quit [Quit: Do not burn the candle at both ends, as it leads to the life of a hairdresser.]
22:42
<@Consul>
Still, if the goal were a little app that could turn a guitar input into control signals for a softsynth, you might be able to get 90% of the way there and tell the player to play more carefully to get that last 10%. :-)
23:08
<@Finerty>
Compute!'s Gazette!
23:09
<@Consul>
I used to subscribe to that mag.
23:09
<@Finerty>
Also, the FF "Awesome Bar" takes a bit of getting used to but it seems nicer than just plain URL filtering
23:12
<@Consul>
Stupid YouTube comment #1,512,478: "It's electronic music, not electronica. There's a difference. Electronica is made on computers, electronic is pre- computer and sometimes even pre-synthesizer, like most of Delia's music."
23:13
<@Finerty>
surely there's more than that many SYTCs
23:15
<@Consul>
All of them.
23:15
<@ToxicFrog>
"awesome bar"?
23:16
<@Consul>
What's the limit of intelligence as number of YouTube comments goes to infinity?
23:17
<@McMartin>
TF: The history dropdown while you're typing a URL.
23:17
<@ToxicFrog>
...that's it?
23:17
<@McMartin>
In particular the fact that it's more than tab completion, which is what makes it awesome/an abomination unto the world/different.
23:19
<@Finerty>
THe 'awesome bar' matches not only URL roots from the HIstory (as Safari does), but arbitrary sections of the URL and title.
23:19
<@McMartin>
Which is unnervingly frequently presented as it providing "the wrong answer"
23:19
<@McMartin>
Which I can only make make sense if they ignore bookmarks/keeping tabs open entirely and do all their browsing by reflex, hitting, say, www.cn*down**enter* without looking at the screen
23:20
<@Finerty>
So on Safari, to get goodmath as opposed to denialism (scienceblogs.com/goodmath and scienceblogs.com/denialism, respectively), I have to go sci and then several down things while looking to get to the right one.
23:21
<@Finerty>
In Firefox it's "good" and "de" and then one down/enter.
23:22
<@ToxicFrog>
Right.
23:23
<@ToxicFrog>
Opera has the same feature, just not under that name.
23:26
<@Derakon>
You can think of the awesomebar as basically being a search for your URL history.
23:41
<@Consul>
I keep envisioning a candy bar or energy bar or some such.
23:41
<@Consul>
Get through the day with a protein power of AwesomeBar!
23:41
<@Consul>
s/a/the/
23:42
<@Consul>
Blargh
23:52
<@gnolam>
No match for the Will to Power Bar: http://www.philosophersguild.com/index.lasso?page_mode=Product_Detail&item=0131
23:53
<@Consul>
Heh
23:54
<@Consul>
I found a can of Dickens Cider at a convenience store in a town called (I think) Bella Vista in Colorado.
23:59
<@Consul>
And I seem to recall a pub in England having the name "The Cock 'n' Cider."
23:59
<@Consul>
I don't know how long that one lasted.
--- Log closed Mon Jan 12 00:00:00 2009
code logs -> 2009 -> Sun, 11 Jan 2009< code.20090110.log - code.20090112.log >