Go to Post As I told my friend Joe Johnson, just because you aren't around as much doesn't mean that you can just close the book on this chapter, instead - just keep a book marker in this place, so you can remember how to find your way back home - when the time is right. - meaubry [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 28-01-2009, 21:10
gregsanCHEVY121's Avatar
gregsanCHEVY121 gregsanCHEVY121 is offline
Registered User
FTC #0121 (Rhode Rage and Air Strike)
Team Role: Operator
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Tiverton RI
Posts: 21
gregsanCHEVY121 is a jewel in the roughgregsanCHEVY121 is a jewel in the roughgregsanCHEVY121 is a jewel in the roughgregsanCHEVY121 is a jewel in the rough
Send a message via AIM to gregsanCHEVY121
[FTC]: How to play sound from NXT

Hello there, my team is trying to play a sound by pressing a button on the controller. The sound is one that we have put onto the brick, not a stock sound. It will play the sound if selected in the sound menu on the brick, however we can not figure out how to play it when we press a button, we are using RobotC.

Thanks,
Greg
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2009, 00:14
emmell's Avatar
emmell emmell is offline
Murphy was an Optimist!
AKA: Mannie Lowe
no team (Radbotics, RoboKnights, CircuitRunners, Oscar, and more...)
Team Role: Coach
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Marietta, GA
Posts: 178
emmell is just really niceemmell is just really niceemmell is just really niceemmell is just really niceemmell is just really nice
Re: [FTC]: How to play sound from NXT

Assuming you use button 1 to play the sound:

Code:
if (joy1Btn(1))
{
  PlaySoundFile("name of sound file name");
}
__________________
Mannie Lowe
FIRST Program Manager - Center for Mathematics and Science Education - University of Mississippi
Mississippi FIRST Tech Challenge Affiliate Partner


Reply With Quote
  #3   Spotlight this post!  
Unread 27-02-2009, 00:15
craig_yates craig_yates is offline
RingDingRick.com
AKA: Dylan Rodriguez
FRC #0121 (Rhode Warriors)
Team Role: Human Player
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Rhode Island
Posts: 11
craig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nice
Send a message via AIM to craig_yates
Re: [FTC]: How to play sound from NXT

Thats what it was. We just forgot to put in the quotation marks.
__________________
RingDingRick.com
AIR4H.org
Reply With Quote
  #4   Spotlight this post!  
Unread 27-02-2009, 00:18
craig_yates craig_yates is offline
RingDingRick.com
AKA: Dylan Rodriguez
FRC #0121 (Rhode Warriors)
Team Role: Human Player
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Rhode Island
Posts: 11
craig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nice
Send a message via AIM to craig_yates
Re: [FTC]: How to play sound from NXT

We found that using a clearsounds() (or something like that) at the beginning would stop the sound from repeating indefinately.
__________________
RingDingRick.com
AIR4H.org
Reply With Quote
  #5   Spotlight this post!  
Unread 14-03-2009, 15:28
boogyoogy boogyoogy is offline
Registered User
FTC #0054
 
Join Date: Mar 2009
Location: bozeman
Posts: 1
boogyoogy is an unknown quantity at this point
Re: [FTC]: How to play sound from NXT

Now how do you download sound files onto the nxt? I've tried to download multiple files in mp3 format to the brick so that we can play the sound when we press a button.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-04-2009, 10:10
craig_yates craig_yates is offline
RingDingRick.com
AKA: Dylan Rodriguez
FRC #0121 (Rhode Warriors)
Team Role: Human Player
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Rhode Island
Posts: 11
craig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nicecraig_yates is just really nice
Send a message via AIM to craig_yates
Re: [FTC]: How to play sound from NXT

You have to convert the mp3 to a .rso
just google it- there is a free converter.
__________________
RingDingRick.com
AIR4H.org
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Help requested, the NXT is not showing the battery as being connected. crazilyrandom1 FIRST Tech Challenge 2 17-01-2009 11:24
[FTC]: [FTC]: Can any one explain to me just how powerful the servos are? sullivan_owns FIRST Tech Challenge 19 02-12-2008 16:06
[FTC]: Bluetooth/NXT issues jbbjjbt FIRST Tech Challenge 5 23-10-2008 16:56
Saving sound in an AVI from max? Kevin Thorp 3D Animation and Competition 1 11-02-2005 13:21
How grammatically sound are you? Joe Ross Chit-Chat 16 20-04-2004 23:58


All times are GMT -5. The time now is 12:34.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi