On 04/01/2011 22:12, Romain Beauxis wrote:
> Le lundi 3 janvier 2011 12:51:44, Vincent Cassé a écrit :
>> Hi everybody and Happy New Year 2011 !
> Hi,
>
> Thanks !
>
>> I'm blocked by two problems :
> I think its actually 3 :)
>
Yes, I have add one question during my written email !
>> - I would a function that send an int with the volume of my source. Do
>> is it possible ?
> Not for now I think. But, first, what is the "volume" ? It is the RMS ?
>
Hum, I don't know "RMS" before your email. But Google is my friend, and
wikipedia too.
It 's the Root_mean_square ?
In fact, I want to create a vumeter in an interface. I use telnet or
socket to communicate between Liquidsoap and my gui. I want a value that
represent the audio flow. Maybe the RMS is my need.
>> - How to get the "time" server ? And the length of a song (in a
>> playlist, or in a request.queue) ?
> For the length of a song, you have a function named "file.duration" that takes
> a string containing the URI of a local file. It works for mp3, vorbis, wav and
> flac.
>
> What is the "time" server ?
Thanks for file.duration :)
I search to have the current date (hour and minutes) of the server, to
inform user !
The goal : in the future, make a schedule with calendar !
First time, just view the current date.
>> - How to stop the "output.file()" ?
> You can use command id.stop where id is the id of the source.
> In a script, this gives:
> ignore(server.execute("#{source.id(s)}.stop"))
Thanks !
> Romain
Vincent
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users