electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
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 » Microcontrollers and Programmable Logic
BOSS DR 110 CLONE
Post new topic   Reply to topic Moderators: State Machine
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
exagonal



Joined: Sep 06, 2013
Posts: 21
Location: ITALY

PostPosted: Thu Oct 16, 2014 2:32 pm    Post subject: BOSS DR 110 CLONE
Subject description: BOSS DR 110 CLAP TRIGGERING
Reply with quote  Mark this post and the followings unread

Hello everyone!
I started working on a clone of the BOSS DR-110, famous analog drum portable, even economic, if you want.
Obviously, for these reasons, the manufacturer has decided to simplify the space and content, obtaining good results.
Regarding some sounds, such as handclap, it could save some component by changing the method of triggering, ie, to achieve the classic sound of multiple hand-clapping, they opted for a sequence of separate trigger: trigger arriving in the first input, three pulse 1mS spaced 10mS, while in the second input, always after 10mS from the third, it arrives a quarter, as explained in the drawing that enclose.
Now, since I want to drive all with a MIDI TO TRIGGER with the classical positive impulses, I would like to resolve the issue of the clap with a PIC, programming in such a way that upon receipt of a positive pulse at the input, it provides two outputs using the pulse sequence explained.
Now, to put a part in the CHIP program, with the pic does not do anything else, but I have a programmer and I intend to use that, someone would know to develop this simple routine ??
I have found the net in the basic program for PICAXE, and it should be this:

;******************************************Constant definitions*********************************************
symbol debounce = 50 ; switch debounce for 50msec
symbol pushbutton = Input0
symbol CLP1 = Output0
symbol CLP2 = Output1

;******************************************Main Program*****************************************************

pgm:
high CLP1 ;set outputs high as DR Clap triggers on low logic
high CLP2

sw_off: ;loop here if no input
if pushbutton = 0 then sw_off
low CLP1 ;pulse 1
pause 1
high CLP1
pause 10
low CLP1 ;pulse 2
pause 1
high CLP1
pause 10
low CLP1 ;pulse 3
pause 1
high CLP1
pause 10

low CLP2 ;pulse for delay
pause 1
high CLP2

sw_on:
if pushbutton = 1 then sw_on
pause debounce

goto pgm ;repeat


TimeClapTrig.jpg
 Description:
 Filesize:  56.52 KB
 Viewed:  6464 Time(s)

TimeClapTrig.jpg


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: State Machine
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 » Microcontrollers and Programmable Logic
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


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use