Hi Samuel, Thanks for your advice I have implemented yours suggestion but found the streamed output is ramping up and down by that I mean the volume increases and decreases where it did not before. I have added an entry to the input.alsa
stream = mksafe(normalize(audio_to_stereo(input.alsa()))) but don't think that this has anything to do with the op was fine with output.dummy Derek Quoting Samuel Mimram <smim...@gmail.com>: > Hi, > > The output.dummy is not the right approach in your case I think: you want > to observe what you are streaming and not create another stream just for > visulization. Also notice that all the operations that you apply to your > stream after the output.icecast won't be heard. So, I would modify your > script to something along the following lines: > > On Mon, Jul 9, 2012 at 12:11 AM, Derek Shaw <de...@techsys.co.uk> wrote: > >> #!/usr/bin/liquidsoap >> >> # Define a Log file to monitor output >> set("log.file.path","./soslug_**alsa.log") >> >> # Not used but this would define audio file to record a stream >> recording = "soslug_jack.mp3" >> >> # Define the stream input source >> stream = mksafe(audio_to_stereo(input.**alsa())) >> > > # I guess that you want to hear the smooth_add on icecast too, so it has to > be performed before the output.icecast! > stream = smooth_add(special=delay(3.,blank(duration=4.)),normal=stream) > > # Visualize the stream > stream = visu.volume(stream) > > >> # Define the icecast oput format etc.. >> output.icecast(%mp3(bitrate=128), >> host = "soslug.org", port = 8008, >> user = "<username>", password = "<password>", mount = >> "soslug_alsa.mp3", >> description = "Liquid Soap application Streaming by Southend on Sea >> Linux User Group", >> url = "http://soslug.org:8008/soslug_alsa.mp3", >> stream) >> >> # Defines output format for stream to be recorded >> output.file(%mp3(bitrate=192), recording, >> fallible=true, >> on_stop=shutdown, stream) >> > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users