| View previous topic :: View next topic |
| Author |
Message |
dorian
Joined: 29 Jul 2012 Posts: 18
|
Posted: Sun Jul 29, 2012 11:29 am Post subject: sound action |
|
|
for first i have to say tintin is the best of all i ever seen mud clients, thanks!
only things is missing here is ability to trigger sound on action on windows, or i have no idea how to do that. even when i download some command line player and try do something like
| Code: | | #system playwav somewav.wav |
nothing happens, trying to put wav and program in differed places and even do full path to the file, but it works fine from ordinary command line. is there any change to develop something like #sound ?
thanks |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Sun Jul 29, 2012 12:22 pm Post subject: |
|
|
One other option is to open a sound player with #run and send commands to it.
For example:
#run sound playwav
#sound somewav.wav
It of course requires the program to allow commands after it's been launched. |
|
| Back to top |
|
 |
dorian
Joined: 29 Jul 2012 Posts: 18
|
Posted: Sun Jul 29, 2012 3:24 pm Post subject: |
|
|
that was good idea, trying that with this playwav program but its only mess up with my split, so i try with other one from there: http://sourceforge.net/projects/sox but i does same effect, no sound and split screen switched off
from command line works fine:
| Code: |
c:\Program Files\WinTin++>sox mover.wav -d
mover.wav:
File Size: 72.9k Bit Rate: 353k
Encoding: Signed PCM
Channels: 1 @ 16-bit
Samplerate: 22050Hz
Replaygain: off
Duration: 00:00:01.65
In:100% 00:00:01.65 [00:00:00.00] Out:36.4k [ | ] Hd:1.9 Clip:0
Done.
|
that what i get when i trying with another program, it looks like this every time
| Code: |
#system {mpg123 clong-2.mp3}
#OK: EXECUTING 'mpg123 clong-2.mp3'
#run sound mpg123
#TRYING TO LAUNCH 'sound' RUNNING 'mpg123'.
#sound clong-2.mp3
clong-2.mp3
clong-2.mp3
|
anyway maybe u know some good command line app ? |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Mon Jul 30, 2012 7:22 am Post subject: |
|
|
Don't forget to return to the session you started from.
| Code: |
#run sound mpg123
#session -
#sound clong-2.mp3
|
I primarily use Cygwin so no real suggestions for Linux apps. No idea why #system isn't working right. |
|
| Back to top |
|
 |
Slysven
Joined: 10 Apr 2011 Posts: 254 Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK
|
Posted: Mon Jul 30, 2012 8:02 am Post subject: |
|
|
Sorry for butting in but it initially looked to me like you are using WnTin++ not TinTin++ and I thought that #SYSTEM and #RUN were crippled if not totally unavailable on the WinTin++ platform...? 
Last edited by Slysven on Tue Jul 31, 2012 10:40 am; edited 1 time in total |
|
| Back to top |
|
 |
dorian
Joined: 29 Jul 2012 Posts: 18
|
Posted: Mon Jul 30, 2012 7:18 pm Post subject: |
|
|
Unfortunetly that also wont work:
| Code: |
#al {test} {#run sound mpg123;#session -;#sound clong-2.mp3}
#OK. {test} NOW ALIASES {#run sound mpg123;#session -;#sound clong-2.mp3} @ {5}.
|
| Code: |
test
#TRYING TO LAUNCH 'sound' RUNNING 'mpg123'.
#SESSION 'sound' ACTIVATED.
#SESSION 'gts' ACTIVATED.
clong-2.mp3
#ERROR: #UNKNOWN TINTIN-COMMAND 'sound'.
clong-2.mp3
#NO SESSION ACTIVE. USE: #session {name} {host} {port} TO START ONE.
|
seems to be all right but there is no sound at all :/ , dont know if those commands work proper on wintin but i think they should,
have idea that command mpg123 has to be installed as windows service ? im lost.. |
|
| Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3274
|
Posted: Tue Jul 31, 2012 7:14 am Post subject: |
|
|
| If you're using WinTin++ it's indeed not going to work, you'll have to go the Cygwin route to play sounds. |
|
| Back to top |
|
 |
dorian
Joined: 29 Jul 2012 Posts: 18
|
Posted: Sat Aug 04, 2012 6:31 pm Post subject: |
|
|
u right thanks for help, ill have that sorted shortly  |
|
| Back to top |
|
 |
|