Re: [Savonet-users] Mix Problems
Hello, Thanks for the tip. I've added the as suggested. Best regards, Jef On 16 Jul 2009, at 10:57, David Baelde wrote: On Tue, Jul 7, 2009 at 10:36 AM, Jean-Francois Mauguitj...@radionomy.com wrote: input2 = on_metadata(fun (meta) - system([curl ...]),input2) before my icecast output could be the cause of some mix problems ? In fact this http request takes less than one second. Should I use set (scheduler.fast_queues,1) to avoid the problem ? This was not related but is still a potential problem. On_metadata() calls its function directly in the main thread, so a long system() call can potentially create some lag in streaming. A simple solution is to add a at the end of the command so the shell will execute it in the background. Otherwise, a more general solution would be to schedule a task to be ran in the task threads -- without doing it explicitly, the parameters about the queues won't change anything. -- David -- Jean-Francois Mauguit - j...@radionomy.com CTO - www.radionomy.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] Mix Problems
Le mardi 07 juillet 2009 10:36:53, Jean-Francois Mauguit a écrit : Hello, Hi ! Here is my new crossfade def our_crossfade(~start_next,~fade_in,~fade_out,s) s = fade.in(duration=fade_in,s) s = fade.out(duration=fade_out,s) fader = fun (a,b) - add(normalize=false,[b,a]) cross(conservative=true,duration=start_next,minimum = -1.0,fader, s) end input2=our_crossfade(start_next=6.0,fade_in=3.0,fade_out=3.0, input) But it seems to still don't mix correctly. Ok. I would like to try to reproduce.. Could you try to send me in a private mail a sequence of songs that do not work ? I was wondering if my input2 = on_metadata(fun (meta) - system(curl http://something.radionomy.com/something.cfm?string= ^fluxid^,^quote(meta[album])),input2) before my icecast output could be the cause of some mix problems ? In fact this http request takes less than one second. Should I use set (scheduler.fast_queues,1) to avoid the problem ? Hmmm.. I don't think this can be the cause of the issue, but I could be wrong.. Romain -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] Mix Problems
Hello, I found the prob in our test environment, it was due to false mix points. After fixing that, the conservative=true works perfectly ! Thanks for the help, it solved an old problem here ;-) Jef On 07 Jul 2009, at 12:36, Romain Beauxis wrote: Le mardi 07 juillet 2009 10:36:53, Jean-Francois Mauguit a écrit : Hello, Hi ! Here is my new crossfade def our_crossfade(~start_next,~fade_in,~fade_out,s) s = fade.in(duration=fade_in,s) s = fade.out(duration=fade_out,s) fader = fun (a,b) - add(normalize=false,[b,a]) cross(conservative=true,duration=start_next,minimum = -1.0,fader, s) end input2=our_crossfade(start_next=6.0,fade_in=3.0,fade_out=3.0, input) -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] Mix Problems
Le mardi 07 juillet 2009 12:38:12, vous avez écrit : Hello, I found the prob in our test environment, it was due to false mix points. After fixing that, the conservative=true works perfectly ! Thanks for the help, it solved an old problem here ;-) Very nice to read !! :) Romain -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
Re: [Savonet-users] Mix Problems
Le vendredi 03 juillet 2009 18:05:06, Jean-Francois Mauguit a écrit : Hello, Hi ! As you know we have some problems with mix. On some radios, everything is perfect, on some other not. What we have found is that the problem occurs often when short songs are played. For example, on radios with song - jingle - song - jingle - ... there is almost no mix. So I presumed I made something wrong in the liq :-) Here is our crossfade definition def our_crossfade(~start_next,~fade_in,~fade_out,s) s = fade.in(duration=fade_in,s) s = fade.out(duration=fade_out,s) fader = fun (a,b) - add(normalize=false,[b,a]) cross(duration=start_next,minimum = -1.0,fader, s) end input2=our_crossfade(start_next=6.0,fade_in=3.0,fade_out=3.0, input) Value for start_next, fade_in and fade_out comes from the annotate and are right. One other question concerning the same problem. What happen if we have 3 files playing at the same time ? File 1 start_next = 120, fade_out 120 File 2 (duration = 140), start_next = 50, fade out = 50 File 3 fade_in = 50 So 120 s before the end of file 1 we start playing file 2 and 90 seconds later we start playing file 3 but file 1 is not yet ended. There can indeed be some issues with the remaining time, in particular since this is an estimated value. However, the crossfade have a conservative option. Using this option, the data needed for the crossfade is buffered in advance at the beginning of each track. Did you try with this option ? Romain -- ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users
[Savonet-users] Mix Problems
Hello, As you know we have some problems with mix. On some radios, everything is perfect, on some other not. What we have found is that the problem occurs often when short songs are played. For example, on radios with song - jingle - song - jingle - ... there is almost no mix. So I presumed I made something wrong in the liq :-) Here is our crossfade definition def our_crossfade(~start_next,~fade_in,~fade_out,s) s = fade.in(duration=fade_in,s) s = fade.out(duration=fade_out,s) fader = fun (a,b) - add(normalize=false,[b,a]) cross(duration=start_next,minimum = -1.0,fader, s) end input2=our_crossfade(start_next=6.0,fade_in=3.0,fade_out=3.0, input) Value for start_next, fade_in and fade_out comes from the annotate and are right. One other question concerning the same problem. What happen if we have 3 files playing at the same time ? File 1 start_next = 120, fade_out 120 File 2 (duration = 140), start_next = 50, fade out = 50 File 3 fade_in = 50 So 120 s before the end of file 1 we start playing file 2 and 90 seconds later we start playing file 3 but file 1 is not yet ended. TIA, Jef -- ___ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users