Firmwaremods part2

Discuss mods, hacks, tweaks, etc.

Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

Firmwaremods part2

Postby dar » Thu Aug 04, 2005 10:16 am

Hi x0xers!

I put up my latest modifications at: http://www.icb.se/araya/x0xb0x.html

test it at your own risk! :)
dar
 
Posts: 17
Joined: Fri Jul 15, 2005 3:39 am

Postby Altitude » Fri Aug 05, 2005 12:19 pm

Seeing that you seem to have some (way more than me) insight into modding the firmware, how difficult would it be to make a midi syncd (x0x being the slave) pattern edit mode? I would love to be able to use the sequencer while slaved to my DAW midi clock
User avatar
Altitude
 
Posts: 912
Joined: Wed May 11, 2005 4:17 pm

Postby Guest » Fri Aug 05, 2005 2:37 pm

Altitude wrote:Seeing that you seem to have some (way more than me) insight into modding the firmware, how difficult would it be to make a midi syncd (x0x being the slave) pattern edit mode? I would love to be able to use the sequencer while slaved to my DAW midi clock



Difficult! I have no real knowledge about any of this, I can just read the code and understand what does what. Right now i cant make any major changes.
What is it that you want to do? You can't enter notes when the sequencer is running in pattern edit anyway, you can only add RAS.
Playing it in midisync works but why edit?
Tell me more!

/d
Guest
 

Postby Altitude » Fri Aug 05, 2005 3:09 pm

Actaully, you can edit in run write mode, but just being able to start and stop via external sequencer without changing the mode to external sync would make it alot easier to work with.

It is helpfull to hear the loop in the right time and it is kind of annoying to switch between the midi sync mode and pattern edit mode when I want to hear the loop in context with drums etc.

I glanced at the code and all that is needed (I hope) is to have the clock run from midi instead of the internal
User avatar
Altitude
 
Posts: 912
Joined: Wed May 11, 2005 4:17 pm

Postby adafruit » Fri Aug 05, 2005 3:40 pm

i think all you need to do is change the 'sync' variable in patternedit.c to MIDI_SYNC & make sure you dont turn on the internal tempo counter. you can look around patternplay.c to see how the sync variable is used.
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby Brandon Daniel » Sat Aug 06, 2005 1:00 am

ladyada wrote:i think all you need to do is change the 'sync' variable in patternedit.c to MIDI_SYNC & make sure you dont turn on the internal tempo counter. you can look around patternplay.c to see how the sync variable is used.


Hm, how hard would it be to make one of the user modes a copy of pattern edit but using midi sync instead?
Brandon Daniel
 
Posts: 160
Joined: Fri Mar 11, 2005 11:46 pm
Location: Sunnyvale, CA

Postby Altitude » Sat Aug 06, 2005 10:34 am

Thats what I'm talking about...
User avatar
Altitude
 
Posts: 912
Joined: Wed May 11, 2005 4:17 pm

Postby adafruit » Sat Aug 06, 2005 10:53 am

look at how pattern play is done. theres only one function, but it handles all the different sorts of syncs
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby Brandon Daniel » Sat Aug 06, 2005 11:16 am

ladyada wrote:look at how pattern play is done. theres only one function, but it handles all the different sorts of syncs


Hm, this sounds like something I could come to grips with, maybe I should go ahead and get the code...

;0)
Brandon Daniel
 
Posts: 160
Joined: Fri Mar 11, 2005 11:46 pm
Location: Sunnyvale, CA

Postby Brandon Daniel » Sat Aug 06, 2005 12:09 pm

Hm, anyone else have trouble getting into the cvs repository with an anonymous login?

cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/x0xb0x login
Logging in to :pserver:anonymous@cvs.sf.net:2401/cvsroot/x0xb0x
CVS password:
cvs login: authorization failed: server cvs.sf.net rejected access to /cvsroot/x0xb0x for user anonymous

I assume at least one person has successfully done this, since he's been sending me modded firmware hex files ;0)
Brandon Daniel
 
Posts: 160
Joined: Fri Mar 11, 2005 11:46 pm
Location: Sunnyvale, CA

Postby Brandon Daniel » Sat Aug 06, 2005 12:16 pm

ah, nevermind, I was using the classic anonymous ftp method of using my email as the password, when it was expecting no pass.
Brandon Daniel
 
Posts: 160
Joined: Fri Mar 11, 2005 11:46 pm
Location: Sunnyvale, CA

Postby Brandon Daniel » Sat Aug 06, 2005 12:33 pm

ladyada wrote:i think all you need to do is change the 'sync' variable in patternedit.c to MIDI_SYNC & make sure you dont turn on the internal tempo counter. you can look around patternplay.c to see how the sync variable is used.


Does the sync variable for each mode in main.c override the one in each mode's c file?

Also, how does one go about making a new user mode (ie a new mode that is active when the switch is in a user mode, since I don't see a usermode.c or somesuch...)? I'm reading, maybe I'll figure it out, but if someone wants to give a quick explanation, that would be great.
Brandon Daniel
 
Posts: 160
Joined: Fri Mar 11, 2005 11:46 pm
Location: Sunnyvale, CA

Postby adafruit » Sat Aug 06, 2005 1:59 pm

i think you would be best off spending more than 15 minutes looking at the firmware code if you want to understand how it works... ;)
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby Brandon Daniel » Wed Aug 10, 2005 3:14 pm

ladyada wrote:i think you would be best off spending more than 15 minutes looking at the firmware code if you want to understand how it works... ;)


Ouch, I suppose I deserved that ;0)
Brandon Daniel
 
Posts: 160
Joined: Fri Mar 11, 2005 11:46 pm
Location: Sunnyvale, CA


Return to x0xm0dz

Who is online

Users browsing this forum: No registered users and 1 guest

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]