
[glow=yellow,2,300]
Projectpage -> http://www.traktorizer.de.vu
[/glow]
Posted 08 March 2007 - 17:53
Posted 21 March 2007 - 23:33
Posted 22 March 2007 - 06:02
Posted 22 March 2007 - 14:02
Posted 22 March 2007 - 16:53
a Manchester DJ working the the dark world of Goth/EBM
and can you get things like track info as well?
Posted 09 April 2007 - 12:30
Posted 09 April 2007 - 15:27
would love to see more info on that part if possible.

Posted 10 April 2007 - 05:49
Posted 10 April 2007 - 11:16
Posted 01 May 2007 - 13:28
2 2×16 LCDs, 1 per each Deck ;)
Posted 01 May 2007 - 14:06
Posted 02 May 2007 - 09:48
Posted 02 May 2007 - 14:35
/////////////////////////////////////////////////////////////////////////////
// This is an assembly optimized function which scales a 7bit value between
// a minimum and maximum value
/////////////////////////////////////////////////////////////////////////////
unsigned char Scale_7bit(unsigned char value, unsigned char min, unsigned char max)
{
// scaled value is (<8-bit random> * ) >> 8
PRODL = value << 1; // 8bit value
PRODH = max-min+1; // range
__asm
movf _PRODL, W
mulwf _PRODH, 0
__endasm;
return min + PRODH;
}
im not a mathematical genius
Posted 02 May 2007 - 15:07
float pitchshiftstate;
if(pin == 13)if(MIOS_AIN_Pin7bitGet(13) > 64)
{
pitchshiftstate = (MIOS_AIN_Pin7bitGet(13) / 8) - 8;
MIOS_LCD_CursorSet(0x00);MIOS_LCD_PrintCString(" DECK A ");
MIOS_LCD_CursorSet(0x40);MIOS_LCD_PrintCString("Pitch-Shift : ");
MIOS_LCD_PrintChar('+');MIOS_LCD_PrintBCD3(pitchshiftstate);
}
else
{
pitchshiftstate = 8- MIOS_AIN_Pin7bitGet(13) / 8;
MIOS_LCD_CursorSet(0x00);MIOS_LCD_PrintCString(" DECK A ");
MIOS_LCD_CursorSet(0x40);MIOS_LCD_PrintCString("Pitch-Shift : ");
MIOS_LCD_PrintChar('-');MIOS_LCD_PrintBCD3(pitchshiftstate);
}
Posted 02 May 2007 - 16:58
Posted 02 May 2007 - 20:25
mhh I dont know how to implement this...
Posted 02 May 2007 - 21:01
MIOS_LCD_PrintBCD3(Scale_7bit(MIOS_AIN_Pin7bitGet(pin), 0, 16)-8);i got following error...
main.c:1258: warning 112: function 'Scale_7bit' implicit declaration
main.c:1258: error 101: too many parameters
main.c:1258: warning 112: function 'Scale_7bit' implicit declaration
main.c:1258: error 78: incompatible types
from type 'void'
to type 'unsigned-char'
Posted 02 May 2007 - 21:14
unsigned char Scale_7bit(unsigned char value, unsigned char min, unsigned char max);
but I need it like -8.x +8.x
Posted 02 May 2007 - 21:55
0 members, 0 guests, 0 anonymous users