Old 16th April 2008, 20:25   #41
ORB 13
Member
 
Join Date: Feb 2006
Location: South Africa
Posts: 79
Sweet!!! What a cool idea.

Don't have a dongle so tried it out on my laptop. Got some ideas of presets I can make.
ORB 13 is offline   Reply With Quote
Old 17th April 2008, 18:19   #42
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
http://de.youtube.com/watch?v=0XriZLCxybs
Flexi is offline   Reply With Quote
Old 20th April 2008, 06:25   #43
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
fantastic! it looks like painted art. can you post this preset here?

btw you can also make both moving points ir-sensitive, one for the left and one for the right.

cheers
indaVizz is offline   Reply With Quote
Old 22nd April 2008, 18:49   #44
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
IR fun for Two
Attached Files
File Type: milk flexi - slingpaint [ir for two].milk (11.8 KB, 816 views)
Flexi is offline   Reply With Quote
Old 30th April 2008, 04:44   #45
Saint Goody
Senior Member
 
Join Date: Apr 2008
Location: Somewhere in Southern Indiana
Posts: 184
Here's another idea... might get a lil' tricky...

webcam motion detection...

I am the purple heathen.
Saint Goody is offline   Reply With Quote
Old 30th April 2008, 09:48   #46
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
i know what you mean. i still have not soldered my IR LEDs, but be sure i will try some funny ideas.
Flexi is offline   Reply With Quote
Old 1st May 2008, 18:27   #47
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
hmm i think you should be able to do something with the latest miilkdrop release, using one wiimote to point towards you and a multi-LED IR source to illuminate you.

this guy, johnny chung, showed how you can use a wiimote to create a minority report-like effect: youtube.com/watch?v=0awjPUkBXOU

you point a wiimote and a source of IR towards you, and put some reflective tape on your fingers, now the wiimote that is still sees two moving IR points whose x,y coordinates it sends to the pc.

so with the v0.2.0 miilkdrop you can write a preset that reads positions of the two IR points by reading these vars:

these are subject to change:
---------------------------
wii_aux1: [0.0 | 1.0] visibility of the first IR dot as seen by the LEFT wiimote
wii_aux2: [0.0..1.0] X coordinate of the first IR dot as seen by the LEFT wiimote
wii_aux3: [0.0..1.0] Y coordinate of the first IR dot as seen by the LEFT wiimote
wii_aux4: [0.0..20.0] size of the first IR dot as seen by the LEFT wiimote
wii_aux{5..8}: same but for the second IR dot as seen by the LEFT wiimote

you can imagine you move your left hand more to the left and the preset zooms in faster (or maybe even you move it closer to the wiimote and it means more zoom), you move left and right fingers closer and it gets more blue etc.

i got this IR source from amazon: amazon.com/gp/product/B0009IB8RM though it may be a bit too strong.

the only problem is that the wiimote has a narrow viewing angle, around 40 degrees. i wonder if it would help to put a wide lens on it like the one you find in a door peephole.

also it may be more reliable to use a ping-pong ball covered in a reflective tape instead.

anybody wants to try it out?

Last edited by indaVizz; 1st May 2008 at 18:50.
indaVizz is offline   Reply With Quote
Old 5th May 2008, 03:14   #49
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
like, can you make it so that the IR will track more dots as they come into, and go out of, the field of view of the IR camera? in a demo-like situation, its much more feasible to surround yourself with IR sources than it is in the living room where the Wii's are normally used...
so instead of tracking 2 dots, it tracks a variable number of dots , or maybe just the 2 dots closest to the upper left corner of its view or something

also , how much of the wiimote usage aspect can be used in VJ mode? like where the viz goes on one big screen for the audience and theres a second screen with all the windows and stuff that the operator looks at, can the VJ mode be modified to show stuff like the raw numbers or rolling graphs?

did what i just said make any sense to you?

Last edited by carmatic; 5th May 2008 at 03:48.
carmatic is offline   Reply With Quote
Old 5th May 2008, 20:24   #50
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
well each wiimote has an IR camera and firmware in it that recognizes and tracks IR sources, up to 4. (right now only two are exposed in preset vars, but could do all 4.) but -- you can use two or more wiimotes and then track many IR dots.

you'd probably need some procedural code, i.e. change in milkdrop source or a dll to do something meaningful with all that info, it'd be hard to do it from a preset. (i would think, though i'm sure some presets do things ryan geiss never thought were possible. :-)

or, you could change milkdrop to get frames from a real IR webcam and do anything you want; the wii IR was just the easiest thing to do, not that i know how i'd do optical recognition anyway but it's all doable. if you have a killer app in mind we can do anything.
indaVizz is offline   Reply With Quote
Old 5th May 2008, 20:33   #51
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
about VJ mode... i haven't thought of that, what i had in mind is a performer on stage who makes the visuals on the spot. but i guess the wiimotes could be used by a VJ as well. i don't have any experience with VJing, if you have some ideas go ahead.

btw here's a video i just made that shows how this could be used with a big screen for the audience at a larger event, it uses some stuff that's not been released yet. i think this one is the best so far, hope you guys like it.

youtube.com/watch?v=9P4Bs_lQOVU
indaVizz is offline   Reply With Quote
Old 5th May 2008, 21:29   #52
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
well i thought that the performer is effectively the VJ when it comes to being on stage in this case, or the performer works very closely with a VJ who does the normal milkdrop command stuff... either way i think that being able to have a feedback other than what the audience is seeing is a good idea...

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 7th May 2008, 03:59   #53
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
that's right, the performer is the vj, and he changes presets using cursor buttons on the wiimote. the acceleration values are fairly unhelpful for direct reading, whatever the performer does with them or with the regular wiimote buttons (A and B) is just food for the preset code. i had those graphs before modifying milkdrop and would just stare at them, without getting any idea what i could do with them. only when i hooked the values up to preset code i was able to see what made sense.

as for preset changing... right now you have left and right cursor keys on the right wiimote for that, and also a button to randomize or order the preset list. but it's not enough: sometimes you know the song is picking up tempo or power or is more flowy etc. so you'd like to use a specific kind of preset.

so what i was thinking of is if there's some sort of sorted preset list text file in the preset directory, then miilkdrop would parse the list and then the up and down wiimote keys would switch between categories of presets (explosive, subtle, staccato, etc.) while left and right would switch within the category.

btw in the video above i hand picked a sequence of presets in advance that i thought fit the mood of the song.

...besides preset changing, what else does a real vj do today with milkdrop?
indaVizz is offline   Reply With Quote
Old 7th May 2008, 11:10   #54
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
this might sound abit more wiimote than milkdrop, but if you accidentally press the A and B buttons together and reset the connection between the wiimote and the computer, can the program detect that and automatically pick up the sync again?

also, i have a suggestion... instead of just pressing a button to change the preset, how about if you hold the button, then move the wiimote while the button is held down... have multiple combinations of moves, so that for example front-up switches to one preset, back-left switches to another preset, down-front-right is another preset, etc... and put large tresholds before it registers so its all about making 90 degree movements

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 8th May 2008, 00:12   #55
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
i like that idea -- use not just buttons but gestures to select presets. actually i'd make a modification of it: use "analog buttons" of the wiimote to select presets. wiimote has no analog buttons but you simulate them in miilkdrop by pressing a button (on or off) and then twist the wiimote; the further you twist, the "harder" the button is pressed.

so maybe you hold a button and twist to the right, depending on how much you twist you get a more explosive preset in the list, you tilt the wiimote up and you get a more flowy preset etc. when you release the button.

resetting the controler: i don't think you can break the connection by pressing any buttons, and if you lost the connection for some reason you'd have to go back to the bluetooth stack software and reconnect. but i never had that happen, so i guess it's pretty safe for performance. we'll see. :-)
indaVizz is offline   Reply With Quote
Old 8th May 2008, 03:56   #56
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
no i mean like, if you press a+b at the same time, the wiimote's lights should start blinking and all that, which means that its searching for a bluetooth host or something, then you have to press a button on the wii in a certain amount of time to get them to connect to each other again

this might sound more milkdrop than wiimote, but is it possible to control the transitions? like instead of fully transitioning from one preset to the next in a fixed amount of time, the progress of the transition is determined by an input...
i think this could go very well with the wiimote twisting idea, for example if you put a pair of IR leds horizontally , the wiimote can use this to determine the horizontal angle you are holding it at... the more rotation you give the wiimote, the further the transition... also, you can have a 'key in a lock' effect if the transition is activated by 2 things, one is if the pair of leds are within a certain area of the IR camera, secondly when a large forward motion is detected, and both of these have to happen at the same time... so if you want to change the scene, you put the 'key' into the 'keyhole' and start 'turning' the key...

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 9th May 2008, 02:05   #57
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
only if you press (1)+(2) the wiimote gets in discoverable mode, but it doesn't lose the connection (and you can't press those two accidentally).

transitions... interesting idea, i've always been using a hard cut, but maybe can use a wiimote pitch angle to control the duration. i'll play with that a bit.

i try to keep changes to milkdrop to a minimum, i'm dreaming that some day milkdrop 2.0 will be open sourced so i want to be able to port the wii stuff to it quickly. i'll test that theory when i start porting to redi jedi's beta...
indaVizz is offline   Reply With Quote
Old 9th May 2008, 02:55   #58
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
i am guessing that it is already possible to combine sound response with wiimote control? im thinking like, a basic effect is generated by the sound , and this effect fades away slowly ... the wiimotes will then control some other functions that act on the result of the sound, kind of like passing your hands through smoke or something
the advantage of this is that the visuals will be more responsive than you can ever be without knowing the music beforehand, the disadvantage is that you wont be the star of the show anymore

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 10th May 2008, 02:10   #59
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
you're right on both counts.

but there's something else besides being the star of the show: i'm totally convinced that people don't want to see any "artificial intelligence" in a live performance. if the computer does something in reaction to sound, or does something randomly, people will not know if it's you the performer doing that or is it the computer, and they'll hate the confusion.

from their perspective, if the visuals totally match the mood of the song and the beat, we (the audience) want to be sure that's because you (the performer) are good and you gave your best. and if they don't, we'll know that you suck. but we don't want the computer to help you in any way.

that's my theory anyhow. i think that's not different from singing (don't you hate lip syncing) or playing a guitar live or dancing with fire or whatever -- it's about people and the way they connect through art.
indaVizz is offline   Reply With Quote
Old 10th May 2008, 12:42   #60
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
yeah, but i guess what im thinking of was more in terms of the versatility of the setup, imagine where the wiimotes are chained to a booth which the public have access to, that kind of thing

one thing i am pretty sure of is that in an interactive setting, the number of presets can be much much much lower because people dont get bored when they are playing with the visuals... which is a good thing i guess, since you have to account for both the original sound response of milkdrop as well as the wiimote input, more variables, complexity, and work for each preset
what combination of sound reactivity and wiimote control is totally up to the presets of course, but it can be presented as wiimote-focused or sound-focused.. to be sound focused can be, for example, the wiimotes can control the position of some points on the screen, and the sound waveform can then be centered on these points... if the waveforms fade slowly, it would be as if you are holding sound-reactive flames on-screen
i havent had time to set up all that bluetooth stuff on my computer yet, but im guessing that a serious wiimote-focused preset can have absolutely no sound input at all, and the functions which affect the waveform and fade are entirely derived from the speed, acceleration, etc etc of the wiimote input, or if there is sound reactivity, it is subtle and sublime stuff like the colour of the background or something... the kind of thing that would be used if there is going to be a dedicated performer on the booth

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 10th May 2008, 19:20   #61
indaVizz
Junior Member
 
Join Date: Mar 2008
Location: Santa Barbara
Posts: 27
i see. that feature is supported already. normally (for the wii milkdrop) bass, bass_att and other sound preset vars are a function of wiimote acceleration, angles and buttons, so that when you don't move, these vars are 0, regardless of the music played in winamp. then winamp + miilkdrop is just a graphical engine.

but if you press certain wiimote key combo (left (A) + left (1)), those vars are reconnected back to sound analysis for the music played in winamp, so an unmodified preset behaves as in the original milkdrop. but the wii-specific vars are still available (wii_l_f etc.), so you could write a preset that does exactly what you described -- use sound vars and waveforms for subtle reaction and wii-only vars for not-so-subtle reaction.

... i could also have each preset decide whether sound vars source should be winamp sound or wiimotes, by having it define fWiiAnalyzeSound=1 (default 0).
indaVizz is offline   Reply With Quote
Old 16th May 2008, 23:09   #62
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
yaay just had a go with milkdrop, it was as simple as plug and play on my xp x64, plug my belkin dongle in, wait for windows to install the drivers, sync the wiimote, and when i started the test program it recognized it straight away... makes me sleep easy at night when stuff like that happens

anyway, i have an idea... if there is a way to control the sensitivity of milkdrop's sound reactivity using the wiimote, you could 'reward' the participant with a large reaction on the visuals if they get it right, dance dance revolution-style...
or how about 'transforming' the input of the wiimotes to different frequencies of audio, like long sweeps (large constant acceleration) create high frequency sounds and sudden jerks (large change in acceleration) cause pulses of bass... make it so that when the wiimotes are still, there will be constant white noise, and as the wiimotes feel acceleration, the tone of the sound changes... this can either be fed into the visuals as it is, or mixed with the audio stream for some 'relevance' to the visuals

i dont know how relevant this is, but when i was browsing wikipedia i came across http://en.wikipedia.org/wiki/Linear_response_function and somehow it reminded me of this thread, can anyone think of anything?

did what i just said make any sense to you?

Last edited by carmatic; 16th May 2008 at 23:30.
carmatic is offline   Reply With Quote
Old 17th May 2008, 15:58   #63
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
hehe i didn't know this formula has a well known name, but in fact i used it in quite alot presets (all the ones, that take advance of the elastic spring and some more)

rewarding is definetly the way to go, when you want to get serious with it. (i just got 48 points on the wii sports sandbag)
If i find something cool, i will post it here! but don't you wait on me, my creativity is unpredictable
Flexi is offline   Reply With Quote
Old 18th May 2008, 21:16   #64
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
like, how difficult is it to make the wiimotes control some kind of 'noise generator' like i described above? the noise will then be fed into the visualization and processed as if it is the music...
in addition to amplifying certain frequencies depending on acceleration, maybe the x-axis wiimote acceleration can change the phase of the affected frequencies as well, the y-axis wiimote acceleration can change the y-axis offset of the waveform, and z-axis acceleration can change the bandwidth of the processing, so you can have direct control over the waveform using the wiimotes...you can 'roll' the waveform around by moving the wiimote side to side, you can 'push' the waveform up and down, and you can create different interference patterns by moving the wiimote forwards or backwards... this potentially makes unmodified milkdrop presets much much much more useful, and we can use all 5542 of them

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 9th June 2008, 03:19   #65
Abydos
Junior Member
 
Join Date: Sep 2007
Posts: 9
I love you.
I'm buying a 1080 hd projector soon and just happened to stumble acroos this, I'm going to have soooo much more fun now, cheers!
Abydos is offline   Reply With Quote
Old 9th June 2008, 13:53   #66
carmatic
Member
 
Join Date: Jul 2001
Posts: 53
Send a message via ICQ to carmatic
like, what i think could use some work is like, when the wiimote is moved, the bass waveform is identical and repeating, which looks kind of unnatural, that is why i was thinking of using the white noise... or if the sound variables can be reconnected back to the sound input, but not directly, like if the wiimote actually controls some kind of DSP using its movements, and the resulting processed sound is fed into the sound variables... that way you get a good waveform, plus you get a good response from the wiimote too

which sound variables are controlled by which wiimote variable?

did what i just said make any sense to you?
carmatic is offline   Reply With Quote
Old 31st July 2008, 13:44   #67
liam9519
Junior Member
 
Join Date: Jul 2008
Posts: 2
Is it just me or is the 0.2.0 link not working? Really would like to try it out!

Keep up the good work!
liam
liam9519 is offline   Reply With Quote
Old 31st July 2008, 14:41   #68
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
right, but the 0.1.0 downloads works...

http://rapidshare.com/files/133826115/vis_miilk.dll
simply replace this file - that's all it needs for the IR support
Flexi is offline   Reply With Quote
Old 6th August 2008, 04:50   #69
liam9519
Junior Member
 
Join Date: Jul 2008
Posts: 2
ah cheers
liam9519 is offline   Reply With Quote
Old 17th November 2008, 15:51   #70
ShadowHarlequin
Senior Member
 
ShadowHarlequin's Avatar
 
Join Date: Sep 2004
Posts: 171
can you get an attatchment usb or otherwise that will give my laptop bluetooth capability? it has a switch on the front but its real stiff and theres no software installed for it so i guess my model doesnt have bluetooth

also i cant find a dl link for the software, the download page isnt there any more
[edit, scrolled down on the page and got it :P]

what parameters can you control with the wiimote? could you control any variable?

"human is the music, natural is the static..." - john updike
[Set Zero] [themilkFACTORY]
ShadowHarlequin is offline   Reply With Quote
Old 17th November 2008, 17:39   #71
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
yes you can control any variable. you can either use the raw force values or roll/pitch(+yaw with the infrared bar) + some button press status.

i bought a usb BT dongle for my PC but not all are working with the wiimotes. It's all written in the Miilkdrop readme. check it out
Flexi is offline   Reply With Quote
Old 17th November 2008, 19:47   #72
ShadowHarlequin
Senior Member
 
ShadowHarlequin's Avatar
 
Join Date: Sep 2004
Posts: 171
cool, i cant afford any hardware at the moment though :P lookng into using a gamepad with this instead for the moment which might work

"human is the music, natural is the static..." - john updike
[Set Zero] [themilkFACTORY]
ShadowHarlequin is offline   Reply With Quote
Old 19th August 2012, 20:23   #73
Flexi
wellspring of milk
Major Dude
 
Flexi's Avatar
 
Join Date: Apr 2007
Location: 54.089866,12.11168,18.75
Posts: 2,058
Send a message via ICQ to Flexi
by private request, a reupload of the Miilkdrop dll + documentation and preset pack
Attached Files
File Type: zip miilkdrop.zip (1.59 MB, 399 views)
Flexi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > MilkDrop > MilkDrop Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump