IPB

Welcome Guest ( Log In | Register )

4 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> NXT-606 LEGO sample based drum machine, MOC
Peter Cocteau
post Jun 26 2010, 03:58 PM
Post #1


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



Hi,

I' ve just put online my LEGO drum machine's video. I' ve made this MOC in August 2008. Take a look to video:

http://www.youtube.com/watch?v=8nm36FQog2w

You can download Free NXT-606 program now!!!!
This version allow to use NXT-606 software with 1 NXT and 2 Motors (Port A and B ).

My NXT-606:

NXT-606 drum machine is only made of LEGO (except 2 leds, 4 solders, 2 wires and a Jack output). it take about 3 months to build, test and program it.
It was very difficult to make real time operation machine because NXT processor make only one thing at once.

- 8bits sample based drum machine. (about 2 seconds memory)
-24 percussion and Fx sounds.
-Monophonic
-Sampling Rate: 2 to 16Khz.
-resolution: 8 bit
-Memory: 96 measures
-Control: 2 LEGO rotation sensors
-Hacked loudspeaker to mono output: Jack 6,35mm
-NXT-G programing.

NXT-606 program:

Main Page:
Show dynamic time line, tempo (bpm), battery level(%), and selected measure on top of screen.
Menu:
-Mode edit, Loop (x4,x8,.. measures), Song (all).
-Play/Stop
-Save/Copy (to 1..96)
-Selected measure. (1...96)
-Tempo (40...180 bpm)
-Swing or "Groove" 0 to 100% : it works very well !! random short times are added to each step to create "humanisation" and even steps are delayed to add swing.

Graphic Editor Page:
Show dynamic time line, tempo (bpm), battery level(%), and selected measure on top of screen.
Show 16 step sequencer: each squares give visual feedback of selected step, selected sound and velocity.
Menu:
-Selected Step (1...16)
-Sound (1...24)
-Velocity(0,25,50,75,100%)

Use:
Turn left control to select menu.
Turn right control to shift value.
Shortcut:
Left and right NXT button to select step.
Center NXT button to play/stop (except in save menu)


Bonus:
-One "Head led" lights the screen for an easy use in clubs. wink.gif
-When selecting step, sound or velocity (and sequencer is stopped), NXT-606 plays sound files automatically.
-Real time operation. You can mix in loop mode (x4,x8,x12..measures) and go from one loop region to another.


Option to come ??
I've worked on few other options that do not actually appear:
- Synchronisation to any flashing Led (using LEGO light sensor). Many synths have a MIDI receive Led, an easy way to synchronise NXT-606 to any sequencer... or another NXT-606.
- Wah-Wah pedal effect control. Some Wah Wah FX are controlled by a led inside the pedal.. easy to control it with NXT.
-Real Drum player, using NXT motors for example.


How to install Free NXT-606 on your own NXT brick ??
System requirement: 1NXT (firmware1.05 or later ), 2 motors (to select menu and trim value)
1-download and unzip FreeNXT-606 2.zip
2-Open new project in NXT-G graphic editor and then open NXT memory manager window.
3-Erase all file in your NXT brick (system file too)... NXT-606 software is big !
4-You have to download each file to your NXT brick one by one: FreeNXT-606.rxe, all sounds and all pictures.
5-You can play !!!!!!
FreeNXT-606 manual:
-motor A: select menu
-motor B: trim value
-Shortcut: Left and right NXT buttons to navigate from step to step. Center button to stop/play or to save when "save" menu is selected.
-still few bugs to fix.


Any feedback appreciated. wink.gif

Have Fun !!!
Peter.

Note: some sounds were missing in first FreeNXT-606 zip , but all sounds are in new FreeNXT-606 2.zip file.
Attached File(s)
Attached File  NXT606_2.jpg ( 28.17k ) Number of downloads: 32
Attached File  DARKgoldNXT.jpg ( 339.75k ) Number of downloads: 28
Attached File  Presentation1b.jpg ( 132.36k ) Number of downloads: 42
Attached File  FreeNXT_606_2.zip ( 75.99k ) Number of downloads: 48
Attached File  NXTscreenlight.jpg ( 209.86k ) Number of downloads: 19
 
Go to the top of the page
 
+Quote Post
muntoo
post Jun 26 2010, 05:21 PM
Post #2


The Great Evil Genius
***

Group: Members
Posts: 1,181
Joined: 17-January 09
From: Your Worst Nightmare
Member No.: 6,714



Wow, that is very coooooool! cool.gif
It must have taken a long time to program. Can you share it with us? Try posting it in a .zip.
I'm interested in knowing:
-What file format is your saved file in?
-What algorithm did you use for the swing option?

Might I suggest having a side window in your video that shows a better quality image of the screen? You can achieve this by getting NXTScreen (one of the BricxCC Utilities). The standalone version isn't the latest, I think, so you may need to download BricxCC's test release, run the .exe, go to Tools->Find Brick. Then go to Tools->NXT Screen. In the window that opens up, right click on NXT, Check "Polling", set the refresh rate to 50ms, and then click "Capture AVI". Then you can edit your video and put this in.


--------------------


Full size signature

Do you guys like my new avatar and signature? Leave a comment in my profile, or send me a PM.
Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jun 26 2010, 05:56 PM
Post #3


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



QUOTE(muntoo @ Jun 26 2010, 05:21 PM) *
Wow, that is very coooooool! cool.gif
It must have taken a long time to program. Can you share it with us? Try posting it in a .zip.

Might I suggest having a side window in your video that shows a better quality image of the screen? You can achieve this by getting NXTScreen (one of the BricxCC Utilities). The standalone version isn't the latest, I think, so you may need to download BricxCC's test release, run the .exe, go to Tools->Find Brick. Then go to Tools->NXT Screen. In the window that opens up, right click on NXT, Check "Polling", set the refresh rate to 50ms, and then click "Capture AVI". Then you can edit your video and put this in.


laugh.gif
Yes, it have taken a very very long time to program with NXT-G. NXT's processor make only one thing at once and it was difficult to make real time operation with good sound synchronisation.
So for each step, NXT plays sound and then look inputs for few milliseconds.
Swing is a very cool function... it' s good to make it groove .. laugh.gif

I don' t know how to zip my program cause there is lot of "sub-program", about 50 I think.

I haven't work on it for 2 years and it' s very difficult to come back in again.. and I remind few bugs to fix.

Video is not good but I have no time to make another one for now.

During developement I' ve tried few things that worked but take some memory, so I gave up this option:
-synchronisation to any flashing light (with light sensor), it is easy to make led flash on MIDI synth.. so I was abble to synchronised my NXT-606 to any sequencer.
-control Wah-Wah effect. Some Wah-Wah guitar effect are controlled by led so it was easy to control it from NXT output.
Go to the top of the page
 
+Quote Post
linmix
post Jun 27 2010, 04:26 PM
Post #4


Advanced Member
***

Group: Members
Posts: 201
Joined: 23-January 08
From: Spain
Member No.: 4,605



Fantastic! Really like the look you have given it and the programming is must have been quite a job.
Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jun 27 2010, 07:39 PM
Post #5


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



Hey guys !! I' ve just updated my first post and you can now download NXT-606 software !! just need an NXT and two motors to play with.

Muntoo, I didn't answer your questions...sorry.

-Files are saved in text format. Pattern files looks something like: 60 9 15 5 12 4...
60 for tempo(x2=120bpm), 9 for swing, 15 for 1st Step sound, 5 for 1st Step volume, 12 for 2nd Step sound and 4 for 2nd step volume........

-About Swing: Step 2,4,6,8 etc.. are delayed and some short random times are added to each step.
laugh.gif
Go to the top of the page
 
+Quote Post
Pina
post Jun 28 2010, 05:04 PM
Post #6


Newbie
*

Group: Members
Posts: 1
Joined: 28-June 10
Member No.: 10,762



Is it possible to make 606/707/808/909-styled sequencer and interface to it?
What I mean is
- building patterns by switching a row of 16 (or 8) buttons (or switches) on and off,
and/or
- switching between patterns by pressing on dedicated buttons without losing the rhythm (next pattern starts when previous played to the end).
I am not familiar with NXT at all but perspective of building an unique drum machine is very intriguing.
Go to the top of the page
 
+Quote Post
linmix
post Jun 28 2010, 05:12 PM
Post #7


Advanced Member
***

Group: Members
Posts: 201
Joined: 23-January 08
From: Spain
Member No.: 4,605



QUOTE(Peter Cocteau @ Jun 28 2010, 02:39 AM) *
Hey guys !! I' ve just updated my first post and you can now download NXT-606 software !! just need an NXT and two motors to play with.

Much appreciated!
Go to the top of the page
 
+Quote Post
Alloy
post Jun 29 2010, 01:52 AM
Post #8


Newbie
*

Group: Members
Posts: 1
Joined: 29-June 10
Member No.: 10,764



Hi Peter

Nice thing. But how can I load it to my brick? I have downgrade my brick to firmware 1.05. When I want to open it into my nxt-g an error comes!

Sorry, I am newbie, but have you any idea?

Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jun 29 2010, 04:38 AM
Post #9


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



QUOTE(Alloy @ Jun 29 2010, 01:52 AM) *
Hi Peter

Nice thing. But how can I load it to my brick? I have downgrade my brick to firmware 1.05. When I want to open it into my nxt-g an error comes!

Sorry, I am newbie, but have you any idea?


Hi, I use 1.05 but didn' t notice NXT-G is 1.24 for now.. (I didn' t open open NXT-G for 2 years).. but I think my program should work with this last version firmware.
You can' t open Free NXT-606 file in NXT-G but you can download it to NXT from download window: Grey NXT icon on left of screen.

I forgot few sounds in "sound file" (24 sounds and not 14) but I will fix it soon.

Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jun 29 2010, 04:44 AM
Post #10


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



QUOTE(Pina @ Jun 28 2010, 05:04 PM) *
Is it possible to make 606/707/808/909-styled sequencer and interface to it?
What I mean is
- building patterns by switching a row of 16 (or 8) buttons (or switches) on and off,
and/or
- switching between patterns by pressing on dedicated buttons without losing the rhythm (next pattern starts when previous played to the end).
I am not familiar with NXT at all but perspective of building an unique drum machine is very intriguing.


Everything is possible with NXT smile.gif
I haven' t build such interface cause of price: sensor multiplexer+ many touch sensors to buy.
But don''t forget: It was very very difficult to program.
Go to the top of the page
 
+Quote Post
mattallen37
post Jun 29 2010, 09:09 PM
Post #11


Extreme Member
***

Group: Members
Posts: 851
Joined: 17-February 10
From: Michigan, USA
Member No.: 9,606



QUOTE(Alloy @ Jun 29 2010, 02:52 AM) *
Hi Peter

Nice thing. But how can I load it to my brick? I have downgrade my brick to firmware 1.05. When I want to open it into my nxt-g an error comes!

Sorry, I am newbie, but have you any idea?

You downgraded the firmware? I am curious to know why you did that.

Matt
Go to the top of the page
 
+Quote Post
clifbar
post Jun 30 2010, 08:40 AM
Post #12


Newbie
*

Group: Members
Posts: 2
Joined: 30-June 10
Member No.: 10,781



It seems to crash my NXT brick fairly regularly to the point where I have to remove the battery.

I'd love to see the code if you can put it in a ZIP file, though. Nice work.
Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jun 30 2010, 08:56 AM
Post #13


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



QUOTE(clifbar @ Jun 30 2010, 08:40 AM) *
It seems to crash my NXT brick fairly regularly to the point where I have to remove the battery.

I'd love to see the code if you can put it in a ZIP file, though. Nice work.


Huh , I have to test again the free version.. huh.gif
Excepted crash, does it open and work ??

You may try the new zip file "FreeNXT-606 2" with all sounds it may help...

Tell me when you know more.



Hey guys !! any feedback appreciated. rolleyes.gif
Go to the top of the page
 
+Quote Post
linmix
post Jun 30 2010, 09:22 AM
Post #14


Advanced Member
***

Group: Members
Posts: 201
Joined: 23-January 08
From: Spain
Member No.: 4,605



Haven't tested it yet, but did blog it: http://robotikas.blogspot.com/2010/06/caja...ritmos-606.html
Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jun 30 2010, 10:39 AM
Post #15


Newbie
*

Group: Members
Posts: 7
Joined: 26-June 10
Member No.: 10,751



QUOTE(linmix @ Jun 30 2010, 09:22 AM) *
Haven't tested it yet, but did blog it: http://robotikas.blogspot.com/2010/06/caja...ritmos-606.html



gracias wink.gif
Go to the top of the page
 
+Quote Post
alai
post Jul 3 2010, 10:07 PM
Post #16


Newbie
*

Group: Members
Posts: 1
Joined: 3-July 10
Member No.: 10,800



QUOTE(Peter Cocteau @ Jun 30 2010, 11:39 PM) *
gracias wink.gif


Really nice job
Also post to a Chinese Lego Blog: http://legocn.net/2010/07/nxt606/
Go to the top of the page
 
+Quote Post
Peter Cocteau
post Jul 25 2010, 03:53 PM
Post #17


Member
**

Group: Members
Posts: 29
Joined: 1-December 07
Member No.: 4,263



The NEW video is online !!

http://www.youtube.com/watch?v=CilCI2kSXnA
laugh.gif


--------------------
Go to the top of the page
 
+Quote Post
Xander Soldaat
post Jul 26 2010, 12:31 AM
Post #18


Captain Oblivious
***

Group: Members
Posts: 1,395
Joined: 23-February 08
From: Rotterdam, The Netherlands
Member No.: 4,793



Peter,

Mindblowing! Really awesome job. It is hard to believe you managed to make all of this work in NXT-G. The program must cover several square meters when printed out.

- Xander


--------------------
| Spanish Siamese twins for sale. Buy Juan get Juan free. Call now!
| Current projects and ramblings: I'd Rather Be Building Robots
| RobotC 3rd Party Driver Suite: [Project Page] / [API Documentation]
|
| Do not send me PMs with questions, create a forum thread instead
Go to the top of the page
 
+Quote Post
I_Fixed_It_44
post Jul 27 2010, 12:01 PM
Post #19


Advanced Member
***

Group: Members
Posts: 248
Joined: 2-July 10
From: The Dark Side Of The Moon
Member No.: 10,790



Very Cool! happy.gif


--------------------
My Projects:
My NXTLog Projects (I'm MindstormsMonster)
Gunman V.2.2,the best Gunman yet
RC Forklift,Total control
All By One Evil Genius ~Vincent
I Fixed It 44

''Stare at my signature any longer and it might blow up in you're face''
Go to the top of the page
 
+Quote Post
dudmaster
post Jul 27 2010, 05:08 PM
Post #20


Advanced Member
***

Group: Members
Posts: 297
Joined: 14-July 10
From: In your closet!
Member No.: 10,903



How come there are two NXT-606 projects of yours? huh.gif


--------------------
HELP!!!!!! Buttons on NXT malfunction [LINK]

Dudz
Hello, Dudie
Go to the top of the page
 
+Quote Post

4 Pages V   1 2 3 > » 
Reply to this topicStart new topic

 



Lo-Fi Version Time is now: 2nd September 2010 - 03:57 PM