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 

Bug with my MIDI scripts in GlovePie

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



Joined: 11 Jan 2007
Posts: 18

Digg It
PostPosted: Sun Jan 14, 2007 8:04 pm    Post subject: Bug with my MIDI scripts in GlovePie

For some reason I keep hearing background noise in my midi scripts when midi.note = -1 . This illustrates what I'm talking about:

Code:


var.wtf = -1

if keyboard.space = true then var.wtf = 22
endif

midi.firstnote = var.wtf



After releasing space there is still noise, but var.wtf -1 so I didn't think there should be anything playing.

Any suggestions?

[/code]
Back to top
View user's profile Send private message
CarlKenner
Site Admin


Joined: 29 Nov 2006
Posts: 614

Digg It
PostPosted: Sun Jan 14, 2007 10:09 pm    Post subject:

That is not a valid script.

I am guessing you want to do this:

if keyboard.space then
var.wtf = 22
else
var.wtf = -1
end if

midi.firstnote = var.wtf
Back to top
View user's profile Send private message Send e-mail
ZW



Joined: 11 Jan 2007
Posts: 18

Digg It
PostPosted: Mon Jan 15, 2007 12:01 am    Post subject:

thanks for the reply.

That script does the same thing for me as the one I posted.

Specifically:
I press space and the note sounds. When I let go of space, there is some low rumbly noise in the background until space is pressed again.

I'm starting to think I have a midi setting wrong somewhere. I'll update this when I find a solution.
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