i have discussed this w/ nitro2k01 on gmail.
i wrote a custom php xml/rss feed aggregator
that works flawlessly with flash. all we'd have
to do is setup the aggregator w/ correct SQL
table/column/row names and we could be set.
it's totally searchable too, so it's not just the
newest items. then i (and 1000'x of other flashers)
could make some really awesome jukeboxes and
audio visualizers for the site ;D

hit me up if your interested.

386

(34 replies, posted in Bugs and Requests)

i heart it.
but im w/ animal style.
user feeds would rawk.
in our profiles would be better
then forum signature i think.
rss, twitter, whatever.
;D

387

(40 replies, posted in General Discussion)

google chome FTW!

view demo :: http://the.fontvir.us/pv3d/PQtorus/
view sources:: http://the.fontvir.us/pv3d/PQtorus/srcview/
view blog post :: http://the.fontvir.us/b10g/?id=116

here we go again, another papervision3D demo featuring math permeated lines.
this time im working with a classic piece of code known as the PQ torus. the vague
idea is that you have 2 numbers (P + Q) that are used in the algorithm to define the
knot. in general, given P + Q mutually prime, the line wraps meridionally around the
torus P times and wraps the longitudinally around it Q times. i was having some
trouble grasping exactly how this was going to be achieved, until i read this article
on blackpawn’s website. he really breaks down the algo to a very simplistic level...

r = .5 * (2 + sin(Q * Φ))
x = r * cos(P * Φ)
y = r * cos(Q * Φ)
z = r * sin(P * Φ)

simple right? lol.
so Φ (or phi in my code) is basically a variable that is definded by change.
in this case, im simply incrementing phi + .02 every frame. this seeds the
math and gives you the cool visual effect.

anyway, after getting a handle on the math, writing the demo code was a snap.
i took the existing code i wrote from the 3D object tracer and the lorenz attractor
and combined them. (i also found + fixed an error for computing the line gradient
color) i started out by allowing the users to only select values for PQ and that
actually made sense.


but after some experimentation i found that using some unorthodox values
for P+Q could net some very interesting results. take a look at some of these...




e n j o y !

389

(4 replies, posted in Motion Graphics)

ok,
so lets assume you have a movieclip called "SomeMovieClip"
that is 20 frames total. and you want it to play frame 1-10
before the click, and 11 = 20 after the click, and you want the
click event to toggle the boolean, this code *should* work...
(i wrote this in the comment box, so i haven't tested it)

var clicked:Boolean = false;
var mc:MovieClip = new SomeMovieClip();
mc.x = mc.y = 100;
mc.addEventListener(MouseEvent.CLICK, onClick);
addChild(mc);

this.addEventListener(Event.ENTER_FRAME, loop);

private function onClick(e:MouseEvent):void {
   if (clicked) { 
     clicked = false;
   } else {
     clicked = true;
}

private function loop(e:Event):void {
  if(!clicked) {
     if(mc.currentFrame > 10) {
         mc.nextFrame();
     } else {
         mc.gotoAndStop(1);
     }
  } else {
     if(mc.currentFrame < 21) {
         mc.nextFrame();
     } else {
         mc.gotoAndStop(11);
     }
  }
}

thinking about the code i just posted,
yew can actually to the same thing faster
and more efficiently with this code...

var clicked:Boolean = false;
var mc:MovieClip = new SomeMovieClip();
mc.x = mc.y = 100;
mc.play();
mc.addEventListener(MouseEvent.CLICK, onClick);
addChild(mc);

addEventListener(Event.ENTER_FRAME, loop);

private function onClick(e:MouseEvent):void {
   //--inline conditionals FTW!
   clicked = (clicked) ? (false) : (true);
}

private function loop(e:Event):void {
  if(!clicked) {
     if(mc.currentFrame == 10) {
         mc.gotoAndPlay(1);
     }
  } else {
     if(mc.currentFrame == 20) {
         mc.gotoAndPlay(11);
     }
  }
}

so what's the difference?
well the onClick function now uses an inline conditional
verses the classic if/else statement (a bit faster + less code).
also im letting flash handle the animation as opposed to
letting our code to the logic. in the first example in the
enterframe loop, im checking the movieclips current frame
then incrementing or resetting it. while in the second
example im just checking the current frame. when the
check condition fails THEN i take action, as opposed to
taking action on every frame loop. will that make a huge
difference? not in this example. but if you were doing this
many many times per frame it would start to...

i hope that helps!

instructables.com has 7 pages of 555 timer projects...

but the classic is the atari punk console, right?

391

(84 replies, posted in Nintendo Handhelds)

Turtle413 wrote:

Hooked up my homemade LSDJ keyboard (Dell SK-8100 w/ DMG-07 cable) to my game boy DMg.... all I get is blank screen, or pixelated mess when I unplug it w/ The unit on. Can't get it to work, and I got everything right I assume. Started a blank Keyboard file...The Song is set at 00 00 00 00 got chain set at 00 with the phrase at 00 and ins. @ 00. No matter what I do....blank screen and nothing picks up from keyboard? Any suggestions????

when i use my keyboard i start LSDj w/o the keyboard attached.
i boot up the cart and go to the LSDj project screen.
then i attach the keyboard, and set the sync mode to: KEYBD
when you do that, you should notice a hex address popup
to the right of the "purge" option. (in the image it's: I00)

im not an apple guy at all.
but i do think it has potential. the features that make it a full sized
"mobile" web browser, and entertainment center (video/audio) are
the obvious appeals. but i really think the world has been waiting
for a decent *BACKLIT* ebook reader for a while now. i can
see this being a hit for that market alone.

and everything gets hacked or jailbroken these days.
and cant see why this would be any different.

393

(34 replies, posted in General Discussion)

rofl!

but honestly it should be more like...
i brkbrkbrkbrkbrkbrkbrkbrkbrkbrkbrkbrk 4 chiptunes

394

(23 replies, posted in General Discussion)

Flopps wrote:

oh damnnnnnn that is some serious AS3.0

actually its not that serious. ((check out asciffy))
i wrote a simple (250 line) as3 (flex) app that does the same
thing with webcam data. so translating that to an FLV shouldnt
be that difficult. i am amazed at the power of as3 over older
versions of flash.

i wish this site/8bitchan had searchable rss feeds for music.
i would post some sweet audio visualizers for the site(s).

395

(22 replies, posted in Commodore Computers)

thanx!

live mode is fun.
turning on / off loops,
but the best part is jumping between
different song positions while playing,
w/o causing audio glitches or lost synchronization.

LSDj Manual wrote:

3.5.1 Chain Loops
Using chain loops is a useful live mode technique. This technique is based
on the fact that the song sequencer (when being in the live mode) won’t
rewind the song position all the way up to the first song sequencer step
when encountering end of track; instead, it stops rewinding as soon as it
encounters an empty step.

Assume that we start playing pulse channel 1 at song position 4. The
player will now loop chains 2 and 3. Defining a number of such chain
loops to alternate between would provide a good starting point for a live
performance.

i like editing the instrument properties in live mode.
changing the length for instance.

i would assume red = power and black = ground.
that's just standard wiring practice.
and like trash80 said: try it one way, then if yew need to switch them.

NeX wrote:

but those cables only seem to have 4 wires, i would assume that pin 4 is missing because it doesn't do anything, and maybe power is missing, or maybe the shelding is ground?

yes,
i have seen a cables just like that.
pin 4 does nothing, so i guess they just dont waste the wire.

i also agree w/ nex on just wiring your gba cable straight to the daughter board.

so i guess i agree w/ everything everyone has already said. *sigh*

oh yeah,
and if yer cable ends up not having the power wire, yew can just splice in
any +5 power adapter. just merge in the ground wires.


i heart the plastic cases the came with the play it loud series.
i now have 2 of them big_smile

@PixyJunket congrats on winning that auction. i was bidding against
yew for a while, but i found a green boy i wanted moar ;D

399

(1,620 replies, posted in General Discussion)

arottenbit wrote:

some guitars.

is that a casio DG-20 MIDI Guitar i spy?
that thing always reminds me of "boom king"
by flight of the conchords now. lulz...

low-gain wrote:

Gotta update your link/name for me dude.. no longer called "lameboy" anymore wink

lame...
updated big_smile