WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wiitar!

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts
View previous topic :: View next topic  
Author Message
Bumface



Joined: 03 May 2008
Posts: 2

Digg It
PostPosted: Fri Jul 04, 2008 6:26 pm    Post subject: Wiitar!

Hey all.
This is my first post on the forums, but it should by a good one.
I have created a Wiitar based on a youtube video I found.
Anyway, here it is.
Code:
// Wiitar Bumface Version Version 1.0 release to the public

midi.Instrument = 26
midi.Volume = 100%
var.Strum = Wiimote1.Guitar.StrumDown or Wiimote1.Guitar.StrumUp
Debug = "WiiTar, Bumface version, 1.0"
var.Whammy = Wiimote1.Guitar.WhammyBar > 0.7
var.NotWhammy = Wiimote1.Guitar.WhammyBar < 0.69
var.Up = Wiimote1.Pitch > 60 deg
var.Norm = -59 deg < Wiimote1.Pitch < 59 deg
var.Down = Wiimote1.Pitch < -59 deg
var.AnyPress = Wiimote1.Guitar.Green or Wiimote1.Guitar.Red or Wiimote1.Guitar.Yellow or Wiimote1.Guitar.Blue or Wiimote1.Guitar.Orange

midi.b3 = var.Strum + var.Whammy + var.Norm + (var.AnyPress = false)
midi.c4 = var.Strum + Wiimote1.Guitar.Green + var.Whammy + var.Norm
midi.d4 = var.Strum + Wiimote1.Guitar.Red + var.Whammy + var.Norm
midi.e4 = var.Strum + Wiimote1.Guitar.Yellow +var.Whammy + var.Norm
midi.f4 = var.Strum + Wiimote1.Guitar.Blue + var.Whammy + var.Norm
midi.g4 = var.Strum + Wiimote1.Guitar.Orange + var.Whammy + var.Norm
midi.a4 = var.Strum + var.NotWhammy + var.Norm + (var.AnyPress = false)
midi.b4 = var.Strum + Wiimote1.Guitar.Green + var.NotWhammy + var.Norm
midi.c5 = var.Strum + Wiimote1.Guitar.Red + var.NotWhammy + var.Norm
midi.d5 = var.Strum + Wiimote1.Guitar.Yellow + var.NotWhammy + var.Norm
midi.e5 = var.Strum + Wiimote1.Guitar.Blue + var.NotWhammy + var.Norm
midi.f5 = var.Strum + Wiimote1.Guitar.Orange + var.NotWhammy + var.Norm
midi.g5 = var.Strum + var.NotWhammy + var.Up + (var.AnyPress = false)
midi.a5 = var.Strum + Wiimote1.Guitar.Green + var.NotWhammy + var.Up
midi.b5 = var.Strum + Wiimote1.Guitar.Red + var.NotWhammy + var.Up
midi.c6 = var.Strum + Wiimote1.Guitar.Yellow + var.NotWhammy + var.Up
midi.d6 = var.Strum + Wiimote1.Guitar.Blue + var.NotWhammy + var.Up
midi.e6 = var.Strum + Wiimote1.Guitar.Orange + var.NotWhammy + var.Up


It is shorter then another one I found, but works, sort of.
Enjoy.

:Bumface
Back to top
View user's profile Send private message
SuperSonic



Joined: 03 Jul 2008
Posts: 11

Digg It
PostPosted: Thu Jul 10, 2008 5:08 pm    Post subject:

awesome i like this better than the other ones i found!!
_________________
"Sonic's the name, speed's my game!"
Back to top
View user's profile Send private message
Bumface



Joined: 03 May 2008
Posts: 2

Digg It
PostPosted: Tue Jul 15, 2008 9:00 pm    Post subject:

Thanks, I only have one question though...
Would it be easy to make the lower notes accessible by tilting the Wiitar down, like the opposite of high notes?
If you have any suggestions, please post.

:Bumface
Back to top
View user's profile Send private message
SuperSonic



Joined: 03 Jul 2008
Posts: 11

Digg It
PostPosted: Wed Jul 16, 2008 1:01 am    Post subject:

that would be cool
_________________
"Sonic's the name, speed's my game!"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group