Originally Posted by dllmain
Announcement
Collapse
No announcement yet.
Detect Silence / Trigger Event
Collapse
X
-
Restless not working reliably
Good day everybody.
So i looked for a solution to keep a shoutcast stream going that i feed into an FM exciter/Transmitter. I use Stereo Tool as a plugin for processing audio.
The restless plugin does not seem to work reliably in my case. My ISP reset there network every morning at 3AM. among other interruptions it did manage to keep y feed alive for about 3 days without me hitting the play button again. But mosty it's as if its not there at all.
Is there any suggestions?
Leave a comment:
-
-
Hi, I'm looking for something similar to this as well.
I'm after something I can run on my stream server which will listen to the shoutcast stream, then if it detects X seconds of silence, it will trigger an event - or run a bash script etc. In my case, I want to run a script to ban the IP of the source, and kick it off the server.
I've been looking at the Java Sound API, thinking of writing something my self, but I don't know Java very well (yet!), and I can't see how I'd use it.
Can anyone help please?
Leave a comment:
-
-
make plugin execute batch script
would it be possible to make the plugin execute a batch script?
I would like to make the plugin e-mail me every time there was silence of 30 seconds or more. I would use it to monitor my school's internet radio stream, since I am the one that has to make sure it stays up 24/7 and want to avoid buying hardware.
Leave a comment:
-
-
New version:- Added: Delay config now possible in “<minutes>:<seconds>†as well
- Added: Pause interval (in which play is not hit)
>> dsp_restless_1_2_0_setup.exe
>> dsp_restless_1_2_0_source.zip
 
Leave a comment:
-
New version:- Added: Delay config via Winamp.ini
- Added: NSIS installer
>> dsp_restless_1_1_2_setup.exe
>> dsp_restless_1_1_2_source.zip
 
Leave a comment:
-
Originally posted by skyraven
Thanks for the answer.
Sorry if this has been asked before.
Leave a comment:
-
-
Originally posted by skyraven This is why I can't use both DSP plugins (the shoutcast one and the silence detection). [/B]
Leave a comment:
-
-
Is it possible for the plugin to not be dsp based ?
I have on the same computer winamp that gets an internet stream from a radio station and then re-encodes it and broadcasts it to the shoutcast server running in the background.
This is why I can't use both DSP plugins (the shoutcast one and the silence detection).
Leave a comment:
-
-
thanks for the quick response...
even with just one playlist entry I still get the buffering with both plugins and I have tried diifernt entries. This is a new phenomonon in the last couple of weeks. I startrd a new thread here ( http://forums.winamp.com/showthread....hreadid=238803 ) on this with more detail of what I am experiencing. Thanks for the input dllmain, I'll keep looking for a solution...
Leave a comment:
-
-
well as far as i can remember dsp_restless only emulates hitting "play" not "next track". so i guess this means your playlist entry is just not playable. i know this behavior from trying to play moved mp3 files. does this help?
Leave a comment:
-
-
jumps to next playlist entry
Thanks guy's for working all this out. I have tried both the Silence_Detector_v1_0 & dsp_restless plugins. The Silence_Detector still hung @ 0%buffering so I tried the dsp_restless and it tends to jump to the next enty in the playlist and still has hangs @ 0%
. Is there anyway to improve the performace or are there any other solutions out there?
Leave a comment:
-
-
Maybe is it a idea to make that with some options?
How long must the detector wait before it send a play-request, or/and if you make it on the volume-level, maybe you can config how much dB means silence for the detector.
Some music-files have a silence for a copple of seconds...
Go go go, and make it! I still have one of dllmain, and it works very good. My internet-connection goes offline today and the plugin sends a play-request, again and again. Even so, after 5 minutes my internetlink is online and yes, winamp connects automatically, and the music goes on.
Veeeeeeeeeeeeeeeeeeery good!
Roland.
Leave a comment:
-
-
Originally posted by DrO
edited to not break the frames and that's the core part of the plugin with it setting/removing the timer as required when null samples/valid samples are detectedcode:
int modify_samples1(struct winampDSPModule *this_mod,
short int *samples,
int numsamples, int bps, int nch, int srate){
int x = 0, s = numsamples*nch, beep = 0;
for(x = 0; x < s; x ++){if(!samples[x]){beep+=1;}}
if(beep >= s){
if(!timer){timer = SetTimer(this_mod->hwndParent,1997,
wait,restart);}
}
else{if(timer){
KillTimer(this_mod->hwndParent,timer);timer = 0;}
}
return numsamples;
}
-daz
err better question, is one plugin better then the other (lol I geuss i like starting conflict)
just out of curiousity, how often does this checking get done? Just curious about resources I guess (probably could stop that loop at the first non-zero bit too :P)
Leave a comment:
-
Leave a comment: