mIRC Home    About    Download    Register    News    Help

Print Thread
SPlay feature request #105864
21/12/04 09:55 PM
21/12/04 09:55 PM
Joined: Dec 2004
Posts: 3
A
aquarat Offline OP
Self-satisified door
aquarat  Offline OP
Self-satisified door
A

Joined: Dec 2004
Posts: 3
I'd like to suggest a new feature, that feature being splay's ability to seek in wave files.

Also, if possible, can splay have the ability added so that someone can define the section of a file to play, for instance :

splay bla.mp3 100 120

The above command would then play from the 100ms point in the file to the 120ms point in the file, thus playing 20 ms from the file. (in and out point in the arguments for both wave and mp3)

I'm asking for this feature because in scripts that use sounds, it's much easier to work with a script that has one mp3 file containing all sounds. I asked for the wave feature because it seems that mp3 support for splay is flawed on some machines.

Thanks

Re: SPlay feature request #105865
21/12/04 10:08 PM
21/12/04 10:08 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
tidy_trax  Offline
Hoopy frood
T

Joined: Nov 2003
Posts: 2,327
Reply for your second suggestion:

Although maybe not as accurate as being a built in feature, you could pretty much get the same effect by using the [pos] argument in /splay, and then using a timer, eg:

Code:
alias splayx {  
  splay $eval($ $+ 1- $+ $calc($0 - 1),2)  
  .timer -m 1 $calc($eval($ $+ $0,2) - $eval($ $+ $calc($0 - 1),2)) splay stop
}


/splayx <file> <starting position> <ending position>


New username: hixxy
Re: SPlay feature request #105866
21/12/04 10:17 PM
21/12/04 10:17 PM
Joined: Dec 2004
Posts: 3
A
aquarat Offline OP
Self-satisified door
aquarat  Offline OP
Self-satisified door
A

Joined: Dec 2004
Posts: 3
I've built an alias which uses a multimedia timer to stop splay, the problem is that I don't know how to get rid of the "* Timer 1 ..." text that displays every time a timer stops or starts.

Re: SPlay feature request #105867
21/12/04 10:28 PM
21/12/04 10:28 PM
Joined: Nov 2003
Posts: 228
Melbourne, Australia
S
Seifer Offline
Fjord artisan
Seifer  Offline
Fjord artisan
S

Joined: Nov 2003
Posts: 228
Melbourne, Australia
Prefix the /timer command with a period (.)

/.timer 1 1 echo -a Hello!