Re: [ubuntu-uk] Strange question: record audio on time delay.
Try the sox package. It has utilities to play back and record, which you can then script from cron or at. Neil. P.S. Sorry for the brevity, this is typed on my phone. On May 1, 2012 2:38 AM, Tim Dobson li...@tdobson.net wrote: Ok Guys, This is an end-user question... which is strange because I usually think I should know the answer to a question like this... but I don't. It is reputed that I snow. Allegedly, when camping, people have confused the sound with that of a quadbike due the the volume and consistency. I'm not however, asking for anti-snoring advice - I have that in hand. Given, that I've not heard it myself, it's difficult to empathise and so I'd like to record myself snoring. This creates some problems: I don't want to record 7 hours of PCM audio. I don't know any commandline tools to record from pulseaudio. What I really need is a: at 03:00 recordfrompulsemic1 for 600 seconds to ~/file.wav Or something along those lines. I don't care if it's graphical or shell, but I'm sure this isn't too difficult to do, so I'd be interested in hearing what people thought. Cheers, Tim -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
Hallo I guess most of you missed that I said I do NOT send it over WAN but only LAN, so I did not expect the Shoutcast server eventhough I knew about that, but it sounds like the Shoutcast server and DarkLog would do the trick in any case so I can 1. Hook up the recorder PC (RPC) to any audio in (from the sound mixer desk) 2. The RPC then could use DarkLog to record into MP3/ogg and stream to an Shoutcast server 3. The Shoutcast server can then act as the transmitter to the rest of the LAN 4. Any client PC can be used with any player that accept and play oggMP3. The problem I have with PulsAudio is that it looks like you have to extend ALL of the audio cards of all of the clients that you would like to play over AND this is a problem IF it is a NON linux client OR if the number of clients could vary. -- _ Cornelius Mostert Senior IT Specialist United Kingdom: 075 2233 4818 International: 0044 75 2233 4818 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
On 1 March 2010 14:07, Cornelius Mostert corneliusmost...@googlemail.comwrote: Hallo all I know I have asked this before but only now have all my ducks in a row to do this project so please could you tell me what apps I could use to do the following: I have an audio stream coming in via usb or input jack (line in) and would like to: 1. Record this and 2. Live stream this to the network Now I know I can use Audacity to record but does it also have a Live stream mode server and then what clients can I use to play the stream. Please tell me what Software you use or prefer to use. PS. I guess this does not matter but I will be using a WiFi connection for lan trafic and the stream will not go out to the Internet. The simplest reliable way is probably through Shoutcast or Icecast, which are fairly straightforward although they can need a little bit of planning to deliver streams, very much depending on your wireless connection and bandwidth and also on the content that you're delivering. If you stream MP3, users can use a wide range of common players including iTunes and Winamp, or even browser based players. You deliver a m3u playlist which includes the stream and should be handled by some player by default. The only thing that I would suggest is, if it's possible at all, not to stream from the wireless connection as that won't handle enough connections. If your clients are on a wired LAN, put the streaming server there. If the input file is being made on a wireless laptop (for example), export the file to a server using an SMB or NFS share. It's even possible using FTP. Simon -- My CV: http://sites.google.com/site/simongreenwoodscv/ Linkedin: http://www.linkedin.com/in/simonfgreenwood Support for unemployed IT professionals: -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
Im guessing Cornelius needs to stream to a server like a shoutcast server for example rather than running one and having multiple clients, but correct me if im wrong. Wont VLC also stream to a shoutcast server? I know theres a package called Internet DJ console but it doesnt support mp3 streaming out of the box. However Id say what you need is simply something that takes your input and encodes it on the fly and streams it to a server. Shoutcast apparently have their own tool to stream to a shoutcast server. I havent used it though yet. I only used the windows version a year or so ago. I also used Eddcast on windows which was good as it recorded the outgoing stream too. However I dont believe eddcast is available for Linux? http://www.shoutcast.com/download#14 Mark On 1 March 2010 15:21, Simon Greenwood sfgreenw...@gmail.com wrote: On 1 March 2010 14:07, Cornelius Mostert corneliusmost...@googlemail.comwrote: Hallo all I know I have asked this before but only now have all my ducks in a row to do this project so please could you tell me what apps I could use to do the following: I have an audio stream coming in via usb or input jack (line in) and would like to: 1. Record this and 2. Live stream this to the network Now I know I can use Audacity to record but does it also have a Live stream mode server and then what clients can I use to play the stream. Please tell me what Software you use or prefer to use. PS. I guess this does not matter but I will be using a WiFi connection for lan trafic and the stream will not go out to the Internet. The simplest reliable way is probably through Shoutcast or Icecast, which are fairly straightforward although they can need a little bit of planning to deliver streams, very much depending on your wireless connection and bandwidth and also on the content that you're delivering. If you stream MP3, users can use a wide range of common players including iTunes and Winamp, or even browser based players. You deliver a m3u playlist which includes the stream and should be handled by some player by default. The only thing that I would suggest is, if it's possible at all, not to stream from the wireless connection as that won't handle enough connections. If your clients are on a wired LAN, put the streaming server there. If the input file is being made on a wireless laptop (for example), export the file to a server using an SMB or NFS share. It's even possible using FTP. Simon -- My CV: http://sites.google.com/site/simongreenwoodscv/ Linkedin: http://www.linkedin.com/in/simonfgreenwood Support for unemployed IT professionals: -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
On 1 March 2010 14:07, Cornelius Mostert corneliusmost...@googlemail.comwrote: Hallo all I know I have asked this before but only now have all my ducks in a row to do this project so please could you tell me what apps I could use to do the following: I have an audio stream coming in via usb or input jack (line in) and would like to: 1. Record this and 2. Live stream this to the network Now I know I can use Audacity to record but does it also have a Live stream mode server and then what clients can I use to play the stream. Please tell me what Software you use or prefer to use. PS. I guess this does not matter but I will be using a WiFi connection for lan trafic and the stream will not go out to the Internet. Not sure if this is exactly what you want or need as it just streams audio files you already have, but have you seen http://www.subsonic.org? There was an article about it in issue 129 of Linux Format. Colin -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
Cornelius Mostert wrote: Hallo all I know I have asked this before but only now have all my ducks in a row to do this project so please could you tell me what apps I could use to do the following: I have an audio stream coming in via usb or input jack (line in) and would like to: 1. Record this and 2. Live stream this to the network Now I know I can use Audacity to record but does it also have a Live stream mode server and then what clients can I use to play the stream. Please tell me what Software you use or prefer to use. PS. I guess this does not matter but I will be using a WiFi connection for lan trafic and the stream will not go out to the Internet. thanx I'd suggest looking at DarkLog. It's actually radio logging software (to cover Ofcom requirements of logging all output for 42 days) so it records the audio stream coming in and streams it to a Shoutcast server and also records to disc (I believe in MP3 or OGG format, not sure about WAV/FLAC). It's also supposed to have an easyish to use web interface (which is handy for radio stations as Ofcom may ask for a specific minute of audio anytime within the 42 days so 1 minute or more out of 60,480 minutes). Other than that you could possibly get away with Darkice (which Darklog is based on) and capture the stream using MPlayer (I've done this in the past to capture radio shows). Hope this helps anyway. Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
Simon Greenwood wrote: The only thing that I would suggest is, if it's possible at all, not to stream from the wireless connection as that won't handle enough connections. If your clients are on a wired LAN, put the streaming server there. If the input file is being made on a wireless laptop (for example), export the file to a server using an SMB or NFS share. It's even possible using FTP. Or another option would be to put a server/relay on a wired network and if need be have the box capturing the stream on wireless and have that transmit one stream to the server/relay. Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] Audio in, Record and transmit over Network
Cornelius Mostert wrote: I have an audio stream coming in via usb or input jack (line in) and would like to: 1. Record this and 2. Live stream this to the network This should be possible with pulseaudio itself: http://cubicgarden.com/wordpress/2009/05/10/pulseaudio-networked-audio-2/ I've not done it myself but this is certainly one way to do it and the lowest level way of doing it if you like.. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
Re: [ubuntu-uk] for the record
Andrew Jenkins wrote: norman wrote: Some time ago, my wife had a new computer and insisted that she wanted Windows instead of Ubuntu. Much of her usage was word processing and she found it difficult to get to grips with Open Office (I don't know why) or so she said. 30 minutes ago she said to me D... it! I am fed up with all these bl...y messages that stop me getting on with my work and, if Ubuntu will stop that happening, then get rid of Windows and replace it. Needless to say, I am busy downloading Ubuntu 7.10. Norman Funny creatures wives, mine always moans about Open Office too. She uses the MS version happily though. I said You had to learn to use MS Office, so why can't you just learn something else too?. It seems that the are some who will resist change whatever..and I married one... :-) She is presumably also resisting changing her spouse :-) - it may have some advantages.. more back on topic :-) Who does the maintenance on her windows machine? Time was when we used to rely on windows for everything and I had to reinstall at least a printer driver regularly - in emergency conditions usually - and I could not rely on things working as expected, nor could I rest assured that security was good as hoped for , even though I was diligent with appropriate applications. Ultimately I had to make a decision that whether we (both) wanted to or not, we had to move away from windows! A lot of learning for me, but certainly worth it in all sorts of ways. -- alan cocks Kubuntu user#10391 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
Don't forget crossover linux folks, If, at the end of the day, people don't want to use OO then you don't have to use Windows to run Microsoft Office :-) Chris -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
On Dec 6, 2007 2:17 PM, norman [EMAIL PROTECTED] wrote: Some time ago, my wife had a new computer and insisted that she wanted Windows instead of Ubuntu. Much of her usage was word processing and she found it difficult to get to grips with Open Office (I don't know why) or so she said. 30 minutes ago she said to me D... it! I am fed up with all these bl...y messages that stop me getting on with my work and, if Ubuntu will stop that happening, then get rid of Windows and replace it. Needless to say, I am busy downloading Ubuntu 7.10. Sounds astonishingly like my mother and her recent experiences with Vista. I'm scheduled to install a flavour of Linux on her machine (dual boot) over Christmas to give her a taster. -- Steve When one person suffers from a delusion it is insanity. When many people suffer from a delusion it is called Religion. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
On Dec 6, 2007 3:38 PM, Steve Flynn [EMAIL PROTECTED] wrote: On Dec 6, 2007 3:02 PM, norman [EMAIL PROTECTED] wrote: Sounds astonishingly like my mother and her recent experiences with Vista. I'm scheduled to install a flavour of Linux on her machine (dual boot) over Christmas to give her a taster. As she already has Vista installed on her machine how do you intend to go about the dual boot? Install from the Live CD onto a new partition (created with PartEd). Grub will detect the existing installation and build and entry into the menu for Vista. That should pretty much be it. Addendum - I'll document anything which crops up (and how I fixed it or not) if you're still toying/fiddling with dual booting after Chrismas -- Steve When one person suffers from a delusion it is insanity. When many people suffer from a delusion it is called Religion. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
Install from the Live CD onto a new partition (created with PartEd). Grub will detect the existing installation and build and entry into the menu for Vista. That should pretty much be it. Addendum - I'll document anything which crops up (and how I fixed it or not) if you're still toying/fiddling with dual booting after Chrismas What an excellent idea, could be useful for lots of people. Norman -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
On Dec 6, 2007 3:02 PM, norman [EMAIL PROTECTED] wrote: Sounds astonishingly like my mother and her recent experiences with Vista. I'm scheduled to install a flavour of Linux on her machine (dual boot) over Christmas to give her a taster. As she already has Vista installed on her machine how do you intend to go about the dual boot? Install from the Live CD onto a new partition (created with PartEd). Grub will detect the existing installation and build and entry into the menu for Vista. That should pretty much be it. -- Steve When one person suffers from a delusion it is insanity. When many people suffer from a delusion it is called Religion. 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
norman wrote: Some time ago, my wife had a new computer and insisted that she wanted Windows instead of Ubuntu. Much of her usage was word processing and she found it difficult to get to grips with Open Office (I don't know why) or so she said. 30 minutes ago she said to me D... it! I am fed up with all these bl...y messages that stop me getting on with my work and, if Ubuntu will stop that happening, then get rid of Windows and replace it. Needless to say, I am busy downloading Ubuntu 7.10. Norman Funny creatures wives, mine always moans about Open Office too. She uses the MS version happily though. I said You had to learn to use MS Office, so why can't you just learn something else too?. It seems that the are some who will resist change whatever..and I married one... :-) Andy Jenkins. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
Andrew Jenkins wrote: norman wrote: Some time ago, my wife had a new computer and insisted that she wanted Windows instead of Ubuntu. Much of her usage was word processing and she found it difficult to get to grips with Open Office (I don't know why) or so she said. 30 minutes ago she said to me D... it! I am fed up with all these bl...y messages that stop me getting on with my work and, if Ubuntu will stop that happening, then get rid of Windows and replace it. Needless to say, I am busy downloading Ubuntu 7.10. Norman Funny creatures wives, mine always moans about Open Office too. She uses the MS version happily though. I said You had to learn to use MS Office, so why can't you just learn something else too?. It seems that the are some who will resist change whatever..and I married one... :-) Andy Jenkins. I think the moral is You can change your software, you can change your wife - but you can't change your wife's software. :) -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
Steve Flynn wrote: On Dec 6, 2007 3:02 PM, norman [EMAIL PROTECTED] wrote: Sounds astonishingly like my mother and her recent experiences with Vista. I'm scheduled to install a flavour of Linux on her machine (dual boot) over Christmas to give her a taster. As she already has Vista installed on her machine how do you intend to go about the dual boot? Install from the Live CD onto a new partition (created with PartEd). Grub will detect the existing installation and build and entry into the menu for Vista. That should pretty much be it. Yup, that should work. Or you could use the 'Shrink Partition' option in disk management. I'd say that's the ONLY useful feature of Vista, being able to shrink a partition. Worked a treat on my mate's HP machine running Vista. Funnily enough, the Windows installer (the one which creates a file on the Windows partition) didn't work. Maybe Vista is the best marketing exercise for Linux? Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
norman wrote: Some time ago, my wife had a new computer and insisted that she wanted Windows instead of Ubuntu. Much of her usage was word processing and she found it difficult to get to grips with Open Office (I don't know why) or so she said. 30 minutes ago she said to me D... it! I am fed up with all these bl...y messages that stop me getting on with my work and, if Ubuntu will stop that happening, then get rid of Windows and replace it. Needless to say, I am busy downloading Ubuntu 7.10. Norman Ahh, you should have an emergency Ubuntu disc in a glass case, in case of emergency (i.e. someone seeing the light and dumping Windows) :-) Rob -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/
Re: [ubuntu-uk] for the record
Andrew, Andrew Loughran wrote: Andrew Jenkins wrote: norman wrote: Some time ago, my wife had a new computer and insisted that she wanted Windows instead of Ubuntu. Much of her usage was word processing and she found it difficult to get to grips with Open Office (I don't know why) or so she said. 30 minutes ago she said to me D... it! I am fed up with all these bl...y messages that stop me getting on with my work and, if Ubuntu will stop that happening, then get rid of Windows and replace it. Needless to say, I am busy downloading Ubuntu 7.10. Norman Funny creatures wives, mine always moans about Open Office too. She uses the MS version happily though. I said You had to learn to use MS Office, so why can't you just learn something else too?. It seems that the are some who will resist change whatever..and I married one... :-) Andy Jenkins. I think the moral is You can change your software, you can change your wife - but you can't change your wife's software. LOL! But changing your wife because she won't use Ubuntu seems a little harsh:-) Regards, Tony. -- Tony Arnold, IT Security Coordinator, University of Manchester, IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL. T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039 E: [EMAIL PROTECTED], H: http://www.man.ac.uk/Tony.Arnold -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.kubuntu.org/UKTeam/