Username:     
Password:     
            Register  

Contest 2009
Contest 2008
Drummer 1.0
 
Drummer is a drum computer application for the STM32 Primer2

Code size:125k Author:klausr
Source files included:yes Version:1.0
Use circleOS:yes (1.7) Creation date:2009-06-26 10:15:50
Hardware modification:no Modification date:2009-06-26 13:56:03
Based on the STM32 Primer:Primer2
   
Downloads:487 Views:10124
   
Vote:
Average ratings:0/5 (0 rates)

Download:    Drummer-1.0.zip (550 KB)

Description:

This is Drummer, a drum-computer application for the STM32 Primer2.
It was programmed for the Contest 2009

Author: Klaus Rotter, klaus@rotters.de

Version: 1.0

Usage:
After startup, you'll see the drum grid and below the timeline/position of the song.
The actual bar is highlighted in green, the end bar ist indicated in red.
To save memory, the samples use 22,05 kHz/16 bit

Use a stylus to enter beats on the drum grid.

Button: play/stop

Joystick: (during playing)
left - jump to first bar
right - not used
up - speed increase
down - speed decrease

Joystick: (playing stopped)
left - bar left
right - bar right
up - increase bar number on timeline/position
down - decrease bar numer on timeline/position

Exit: Use stylus on lower right corner "EX"



Project comments

Touchscreen improvement for Drummer application                                                                                                             Please, log you to post a reply.
#1   2010-06-21 12:32:39
yrt
Administrator

Offline

Hi,

The touchscreen resolution has been improved with CircleOS v3.82. So the Drummer application is now usable.
The only things to do is to modify the file "application.c" in order to remove corrrection constants, and fix a little bug :

Old code :       

Code:

 
        x = ((int) x*82/100);
        y = ((int) y*96/100);
    
        u16 gx = (x - xp-1)/xs;
        u16 gy = 7-(y - (yp-1))/ys;

New code :

Code:

        u16 gx = ((x - xp-1)/xs ) - 1;
        u16 gy = (7-(y - (yp-1))/ys) - 1;
 

How accurate is your primer2's touchscreen?                                                                                                             Please, log you to post a reply.
#1   2009-07-01 19:42:57
klausr
Member

Offline

Hello, I want to know how accurate is the touchscreen of your primer2. The reason is, that I have some problems to enter the drum beats at the right place.
I will dig into this as soon as there is some time left. We really need a better touch screen calibrartion for CircleOS 3.8!

-Klaus

 


To add comments, please register you.



replica handbags Wholesale China Replica Purses Louis Vuitton Handbags Burberry handbags louis vuitton replica handbags Replica LOUIS VUITTON Gucci Handbags Prada Handbags Burberry Handbag Hermes Handbags Hermes Belts Gucci Belts Louis Vuitton Belts Louis Vuitton Wallets Hermes Wallets Gucci Wallets Burberry ScarfLouis Vuitton ScarfHermes Scarf Louis Vuitton Bracelets Louis Vuitton handbags Gucci handbags Prada handbags Prada Wallets Louis Vuitton Wallets Gucci Wallets Prada Wallets Wholesale Jewelry Replica handbags replica watches Louis Vuitton Bikini Burberry BikiniMiu Miu Handbags Hermes Bracelets