Robot vio-trom-tar instrument

Share your building instructions or ask questions about constructing your robot
Post Reply
themindstormman
Posts: 94
Joined: 01 Apr 2011, 22:46
Contact:

Robot vio-trom-tar instrument

Post by themindstormman »

I am currently making an instument for music class. it rocks. it has 4 notes, a metronome and automatic playing. it is a mix of a violin, trombone and guitar. the only issue is that it takes up all my file space. how do i convert nxt-g programs to nxc? and the reason i had touse nxt-g is
1) it was a team project and the other person is'nt very techy.
2) i don't know if nxc has a sound editor.
my questions are does nxc have a sound editor and how do i convert nxt-g programs to nxc?
h-g-t
Posts: 552
Joined: 07 Jan 2011, 08:59
Location: Albania

Re: Robot vio-trom-tar instrument

Post by h-g-t »

There is no direct way to convert NXT-G to NXC.

However, once you have created a program in one language you have done the hardest part, which is to define the logic. All you have to do is look through the NXC commands to find those equivalent to whatever the NXT-G blocks are doing.

The worst bit is learning the new conventions (data types, commands, etc) but after that it is relatively simple.

There are plenty of examples, both in the Bricx Command Center and the guides found on the 'net. If you get stuck on a particular problem there is also plenty of help available through this site.

I put off changing over but now wish I had done it earlier as NXC is much easier to use as well as offering more functions.
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Robot vio-trom-tar instrument

Post by timpattinson »

Yes, NXC can convert sounds. It cannot edit them though.
To edit sounds, use Audacity: http://audacity.sourceforge.net/
or the built-in sound editor in nxt-g
Sound conversion:
soundediting.GIF
soundediting.GIF (3.85 KiB) Viewed 5055 times
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests