Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 3 of 4 < 1 2 3 4 >
Topic Options
#153372 - 23/07/2003 11:41 Re: ....Like a heart attack [Re: drakino]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Did it last night... wow. The little touch of strongbad repremanding the standard voice for the date is genius. Good stuff man, good stuff.
_________________________
|| loren ||

Top
#153373 - 23/07/2003 12:47 Re: ....Like a heart attack [Re: loren]
Mach
old hand

Registered: 15/07/2002
Posts: 828
Loc: Texas, USA
Thanks, I got a kick out of it when I found the phrase. It took a little digging but it was worth it.

I'm glad you guys enjoy it.

Top
#153374 - 23/07/2003 12:54 Re: ....Like a heart attack [Re: drakino]
Mach
old hand

Registered: 15/07/2002
Posts: 828
Loc: Texas, USA
You're welcome.

I know moving sucks but there's nothing like a it to reduce the amount of stuff that you have. How many times did you say "I can't believe how much crap I have"?

Top
#153375 - 23/07/2003 13:33 Re: ....Like a heart attack [Re: Mach]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I can't believe how much crap I have"?

Several times. Probably due to moving a few boxes that hadn't been touched in the two years they sat in my basement. I'm going to empty a box a night of crap and trash what I don't want anymore. The move was a bit rushed, so I didn't have time beforehand to go through it all.

Top
#153376 - 23/07/2003 16:49 Re: ....Like a heart attack [Re: adavidw]
Mach
old hand

Registered: 15/07/2002
Posts: 828
Loc: Texas, USA
Alright have to cry uncle on this one. Anyone want to try convert this to a boot logo? I was trying to get an Empeg logo behind this with Strong Bad running across the screen but my pixel edit kung fu is weak.



Attachments
170473-Untitled.gif (198 downloads)


Top
#153377 - 23/07/2003 18:02 Re: ....Like a heart attack [Re: Mach]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
5 minute job. try it.


Attachments
170476-sb_empeg.gif (159 downloads)

_________________________
|| loren ||

Top
#153378 - 23/07/2003 18:16 Re: ....Like a heart attack [Re: loren]
Mach
old hand

Registered: 15/07/2002
Posts: 828
Loc: Texas, USA
Hey, that's pretty cool. Now what's the best way to recolor it so it doesn't lool like the invisible man running across the Empeg. jEmplode?

Top
#153379 - 24/07/2003 10:23 Re: ....Like a heart attack [Re: Mach]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Did you try uploading it with Jemplode? I've got no idea what the repalatization will look like... probably pretty bad...
_________________________
|| loren ||

Top
#153380 - 24/07/2003 10:29 Re: ....Like a heart attack [Re: loren]
Mach
old hand

Registered: 15/07/2002
Posts: 828
Loc: Texas, USA
Yah, the colors all get converted to black with the 4 color pallete hence the invisible man comment. I'll try hand cooking something when I get more time. Thanks for combining it with the Empeg image.

Top
#153381 - 28/07/2003 01:24 Re: TTSClock r6 [Re: DomoKun]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
For those of us who aren't unix/linux fluent, whats the best way to make the random sound bash script, and call it from config.ini?.
I'll try that SB hack later, its only been a week but i am getting bored of the generic woman!.


Edited by Nobbie (28/07/2003 01:27)
_________________________
Getting Old.

Top
#153382 - 28/07/2003 02:37 Re: TTSClock r6 [Re: Nobbie]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
See DomoKuns post earlier in this thread for the content of the script;
substitute your own pcm-files as suitable. Note that the line
let "number %= 7"
uses 7 as the number of files you have. But the case construct goes from 0 to 6 as that is what the modulo operator (%=) returns.

Use a text editor that can save a file with unix style line endings, like EditPad or UltraEdit

Upload the file to a suitable directory, for instance /drive0/var. Then make the file executable (most GUI ftp clients have a graphical way of setting the rights. try right clicking the file on the empeg and look for "rights" or "permissions"). You need at least read and execute rights for owner (500). Typically you can use 755 (read/write/execute for owner, read/execute for group and others).

Edit your config.ini file and add a call to run your script. If you placed it in /drive0/var and named it randomsound.sh then it'll look like this
;@EXEC_ONCE /drive0/var/randomsound.sh

/Michael
_________________________
/Michael

Top
#153383 - 28/07/2003 06:05 Re: TTSClock r6 [Re: mtempsch]
JeepBastard
enthusiast

Registered: 08/09/1999
Posts: 364
Loc: Brooklyn
Now this is the time to get brilliant and have it check conditions of the player and car and have it say something to that effect, such as checking the tempature of the player or reporting wether the player is operating off the battery or if the car is started and the car is operating off the alternator.

_________________________
Mark I + Mark IIa | Jeep 97 TJ
my current blog

Top
#153384 - 28/07/2003 10:33 Re: TTSClock r6 [Re: JeepBastard]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
Cheers, i'll have a bash now.

What would be really cool is if you could make you cars check control system interact with the empeg. I have a temp, ave mpg,inst mpg, stopwatch, range, and avg speed on my car, if you could intercept the connection its viable, but very hard.
_________________________
Getting Old.

Top
#153385 - 28/07/2003 12:52 Re: TTSClock r6 [Re: Nobbie]
Ezekiel
pooh-bah

Registered: 25/08/2000
Posts: 2413
Loc: NH USA
If you do a search on the phrase "OBD" you'll find, many, many threads along your line of thought. Executive summary: nothing's been implemented. Am I wrong folks?

-Zeke
_________________________
WWFSMD?

Top
#153386 - 28/07/2003 16:05 Re: TTSClock r6 [Re: mtempsch]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
Don't ask me how, but i managed to make my player un-bootable.
Copied and pasted the script, edited the file location to my own. converted the wavs to pcm, in the correct format.
Woundn't play a sound.
Gave permission for the script to have execute permission, and also the pcm files in the other directory.
Wouldnt play a sound.
Added
;@EXEC_ONCE /drive0/var/setvol
;@EXEC_ONCE /drive0/var/pcmplay < /drive0/var/startup/1.pcm
followed by
;@EXEC_ONCE/drive0/var/random.sh

Then wouldn't boot?
I've re-pumped the partition and having another go now with just the singular startup sound.
_________________________
Getting Old.

Top
#153387 - 28/07/2003 16:14 Re: TTSClock r6 [Re: Nobbie]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
Okay got it working, re-installed hi-jack to configure, and its not bootable again.
hypertermed to it and foound its hanging on/after the

Hijack: intercepting config.ini
qSaved AC volume was 83
Volume=83
hijack_exec("/drive0/var/setvol"), rc=0 (okay)

So need to manually edit the config .ini from the hyperterm session.


Edited by Nobbie (28/07/2003 16:17)
_________________________
Getting Old.

Top
#153388 - 28/07/2003 16:50 Re: TTSClock r6 [Re: Nobbie]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
Now have live player and hi-jack. Edited out the

;@EXEC_ONCE /drive0/var/setvol
;@EXEC_ONCE /drive0/var/pcmplay < /drive0/var/startup/1.pcm

Left in the
;@EXEC_ONCE/drive0/var/random.sh
Still no sounds though??

My Script looks like this

#!/bin/sh
number=$RANDOM
let "number %= 7"
case "$number" in
'0')
/drive0/var/pcmplay < /drive0/var/startup/1.pcm
;;
'1')
/drive0/var/pcmplay < /drive0/var/startup/2.pcm
;;
'2')
/drive0/var/pcmplay < /drive0/var/startup/3.pcm
;;
'3')
/drive0/var/pcmplay < /drive0/var/startup/4.pcm
;;
'4')
/drive0/var/pcmplay < /drive0/var/startup/5.pcm
;;
'5')
/drive0/var/pcmplay < /drive0/var/startup/6.pcm
;;
'6')
/drive0/var/pcmplay < /drive0/var/startup/7.pcm
;;
esac
All paths look correct, all permissions look correct, and i have encoded the sounds using cooledit 2000 to be 44100, 16bit, stereo.

Config.ini looks like this
[synchronise]
seq_num=84
[hijack]
;@EXEC_ONCE /drive0/var/random.sh
[tuner]
region=europe

drive0/var/random.sh is the script
drive0/var/startup/x.pcm are the sounds, 1-7

Anyone have any words of wisdom?, i'm getting some sleep, it might come to me in my sleep. I also apologise for my late night ramblings!!.
_________________________
Getting Old.

Top
#153389 - 28/07/2003 17:27 Re: TTSClock r6 [Re: Nobbie]
DomoKun
journeyman

Registered: 14/03/2002
Posts: 94
Loc: Pennsylvania
Now have live player and hi-jack. Edited out the

;@EXEC_ONCE /drive0/var/setvol

You need the setvol program, otherwise it will play your sounds muted. You can add a /dive0/var/setvol line to your script right after the #!/bin/sh line instead of calling it from hijack.

Left in the
;@EXEC_ONCE/drive0/var/random.sh

I don't know if this is the cause of it hanging, but I think you need a space in there after the ;@EXEC_ONCE command.

Also you should test your script from hyperterminal before making it a part of your bootup sequence. Just type /drive0/var/random.sh at the command prompt and it should play your sound. Only after it works there should you add it the config.ini.

Top
#153390 - 28/07/2003 17:34 Re: TTSClock r6 [Re: DomoKun]
DomoKun
journeyman

Registered: 14/03/2002
Posts: 94
Loc: Pennsylvania
Oh, and add an exit 0 line to the end of your script. That will tell hijack the script completed successfully. That was probably the cause of it hanging. I appologize for ommitting that from my previous post.

Top
#153391 - 29/07/2003 07:51 Re: TTSClock r6 [Re: DomoKun]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
All done and working, as i'm not a native unix/linux programmer, its just clicked. Thanks for the pointers. I left the setvol out of the script as ran it just before it. One thing that did catch me out is that when you re-write the script, and re-upload, over the top, it re-sets the permissions. The hyperterm i should have done, but thought i'd run it without testing it, stupid mistake. Thanks for the pointers , and the script, hehe. I might try and have a play with the ttsclock script and try to modify it for something a bit funky.
_________________________
Getting Old.

Top
#153392 - 29/07/2003 09:34 Re: TTSClock r6 [Re: DomoKun]
JeepBastard
enthusiast

Registered: 08/09/1999
Posts: 364
Loc: Brooklyn
right.. you wont be able to pull info fom the ODB without some hardware work. It's not incredibly hard, but you will have to then parse that data thru one of the ports on the empeg.

I am wondering if you can tell easily tho wether tyhe car is running or not running from the information sent down the power line


Edited by JeepBastard (29/07/2003 09:34)
_________________________
Mark I + Mark IIa | Jeep 97 TJ
my current blog

Top
#153393 - 29/07/2003 09:51 Re: TTSClock r6 [Re: JeepBastard]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
you wont be able to pull info fom the ODB without some hardware work
I'd be careful when messing with the ODB, I hear he carries his own "hardware"...

_________________________
- Tony C
my empeg stuff

Top
#153394 - 29/07/2003 18:09 Re: TTSClock r6 [Re: tonyc]
ineedcolor
addict

Registered: 10/01/2001
Posts: 630
Loc: Windsor, Ontario Canada
HAW HAW
_________________________
01001010 01101111 01101000 01101110

Top
#153395 - 29/07/2003 21:49 Re: TTSClock r6 [Re: Nobbie]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
;@EXEC_ONCE /drive0/var/pcmplay < /drive0/var/startup/1.pcm

I'm _guessing_ that this needed to be;
;@EXEC_ONCE "/drive0/var/pcmplay < /drive0/var/startup/1.pcm"

Once you put it into the bash script the quotes are no longer needed.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#153396 - 30/07/2003 00:53 Re: TTSClock r6 [Re: genixia]
Nobbie
journeyman

Registered: 12/02/2002
Posts: 59
Loc: Herts, UK
Yep, that makes sense, bash script Vs config.ini. Now i have the hange of it i can get some interesting knightrider sounds sorted.
As for the ODB, you could use the ave speed, changing, or the inst mpg.
_________________________
Getting Old.

Top
#153397 - 06/08/2003 12:29 Re: ....Like a heart attack [Re: Mach]
cmtempeg
journeyman

Registered: 29/07/2003
Posts: 66
Loc: Minneapolis, Minnesota, USA
Mach, I've taken your audio pack and added the other two strongbad voices from strongbad clock.

See my post here or go directly to http://sandgnat.com/strongbadclock if you're interested.

And thanks DomoKun and Mach for the great work!

Chris
_________________________
Hello, my name is Bingo. I like to climb on things. Can I have a banana? eek eek.

Top
#153398 - 11/08/2003 19:02 Re: ....Like a heart attack [Re: cmtempeg]
coolsi
stranger

Registered: 31/12/2001
Posts: 59
I think this talking clock is really neat. Especially when it's spoken by a woman in a soft voice.

How hard would it be to have a special greeting added to the start up sequence? Something like....Hello Coolsi, are we going for a ride? {spoken in a soft sultry voice}. Or Hello Coolsi, ready to push my buttons.
_________________________
20GB MKII with tuner 99 Turbo Civic Si-SOLD! 98 Nissan S14 Silvia- New Project Vehicle! # 30102400

Top
#153399 - 11/08/2003 20:08 Re: ....Like a heart attack [Re: coolsi]
cmtempeg
journeyman

Registered: 29/07/2003
Posts: 66
Loc: Minneapolis, Minnesota, USA
Would be pretty easy, once you got the soft sultry voice to say those words

1) Record hot chick sayng your words of choice
2) Use sox to convert to 44100hz 16bit stereo RAW format (
sox hotchick.wav -r 44100 -w -c 2 hotchick.raw
)
3) Rename hotchick.raw to hotchick.pcm (for consistency)
4) Upload hotchick.pcm to /drive0/var/tts
5) Modify /drive0/var/ttsclock similar to how the strongbad modification was made:
greeting="${ttsdir}greetings.pcm ${greeting}"
_________________________
Hello, my name is Bingo. I like to climb on things. Can I have a banana? eek eek.

Top
#153400 - 11/08/2003 22:25 Re: ....Like a heart attack [Re: coolsi]
Mach
old hand

Registered: 15/07/2002
Posts: 828
Loc: Texas, USA
And here's the ladies to do it for you....

http://www.lovingvoice.com


Top
#153401 - 12/08/2003 19:52 Re: ....Like a heart attack [Re: Mach]
davec
old hand

Registered: 18/08/2000
Posts: 992
Loc: Georgetown, TX USA
And here's the ladies to do it for you..

ROFL!!! Amanda is my pick.


_________________________
Dave Clark Georgetown, Texas MK2A 42Gb - AnoFace - Smoke Lens - Dead Tuner - Sirius Radio on AUX

Top
Page 3 of 4 < 1 2 3 4 >