electro-music.org   Dedicated to experimental electro-acoustic
and electronic music
 
 Front Page  |  Radio  |  Forum  |  Media  |  Playlists  |  Wiki
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Developers' Corner
Switches for a midi controller
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [1 Post]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
hospadar



Joined: Mar 04, 2011
Posts: 1
Location: Michigan

PostPosted: Fri Mar 04, 2011 8:47 am    Post subject: Switches for a midi controller
Subject description: looking for keys which can be used to determine velocity
Reply with quote  Mark this post and the followings unread

I'm wondering if anyone knows any switches which could be used in midi controllers which would give me the ability to detect note velocity.

Are there any standard solutions for this, any switches or pushbuttons which can be purchased immediately

I imagine this could be accomplished a couple ways:
1) A "switch" which is really just a plunger that trips 2 photodetectors, one at the top of the throw, one at the bottom. This sounds a little painful to implement to me, but if I could find the hardware, driving it and detecting it (with a microcontroller lets say) would be easy

2) A pushbutton switch that has 2 sets of contacts, one which is perhaps NC, the other which is NO. when pressed, the NC contact would open immediately, and the NO contact would close at the bottom of the throw

3) some kind of springy plunger-type potentiometer. I've never seen anything like this, but I can't imagine it would be to hard to build.

4) some manner of teeter-totter (like a piano key) placed over 2 buttons, with a spring so at rest it closes one button (let's say with the back end), when pressed (at the front end) it closes the front button after opening the back.

In all situations I would use the time between the button leaving the home position and reaching the end of the throw to compute velocity so I can have my midi controller properly emit note volume

EDIT:
I should mention, I want to use these in a very simple (probably just one octave) midi controller. I just want to want to play around with building a simple controller before I attempt anything more ambitious.

I've attached a little gif to help illustrate where I'm going with this


sw.gif
 Description:
 Filesize:  3.78 KB
 Viewed:  2474 Time(s)

sw.gif


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [1 Post]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Developers' Corner
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
You cannot attach files in this forum
You can download files in this forum
Log in
Username:     Password:      Log me on automatically each visit    


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2026 by electro-music.org