Announcement

Collapse
No announcement yet.

Detect Silence / Trigger Event

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • extranjero
    replied
    Originally Posted by dllmain
    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
    thank you so much for the delay config!

    Leave a comment:


  • soundzmad
    replied
    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:


  • Flyte
    replied
    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:


  • kyle.quamme
    replied
    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:


  • dllmain
    replied
    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
    &#160;

    Leave a comment:


  • dllmain
    replied
    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
    &#160;

    Leave a comment:


  • dllmain
    replied
    Originally posted by skyraven
    Thanks for the answer.

    Sorry if this has been asked before.
    You're welcome. I'm glad I could help.

    Leave a comment:


  • skyraven
    replied
    Thanks for the answer.

    Sorry if this has been asked before.

    Leave a comment:


  • dllmain
    replied
    Originally posted by skyraven This is why I can't use both DSP plugins (the shoutcast one and the silence detection). [/B]
    A DSP stacker plugin should help here. There are several plugins allowing to use more than one DSP plugin at the same time.

    Leave a comment:


  • skyraven
    replied
    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:


  • ZenTaoist
    replied
    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:


  • dllmain
    replied
    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:


  • ZenTaoist
    replied
    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:


  • KissFM
    replied
    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:


  • crackity
    replied
    Originally posted by DrO
    code:
    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;
    }

    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 detected

    -daz
    I like the idea of this pluggie.... man I cant count how many times I have thought my music stopped when it really is just playing 10 minutes of silence before the hidden track kind of thing. (depending on the options.... going to dl tonight, will have to request the option to skip to the next song, but I have a feelign you already thought of that :P)

    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:

Working...
X
😀
🥰
🤢
😎
😡
👍
👎