On Wed, 21 Mar 2001, Matthew Mencel wrote:> Yes, I downloaded the aumix utility and am using it now. Set line in to %50 > then %25 and to record but still the same thing.It doesn't matter what the _line_in_ volume is set at just make sure it is selected to record. then set the _rec_ volume, it's a different thing. I use the interactive curses interface, select _line_in_ to record by selecting it and hitting spacebar. Assuming you have all that you'll need to open the soundcard at a realistice sample rate. that is set in liveice.cfg You can test the sound card end by using a different app (like rec) and record a wav file and see if that works. If you can do that then you problem is on the liveice.cfg end. If you are sure you soundcard is set correct i can take a look at your config file. harvey>I'm streaming from the > line in on the sound card which is being fed from a portable radio nearby. > I get the distortion whether I have the audio fed into 'line in' or not. > > Matt > > -----Original Message----- > From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org]On Behalf Of > harvey smith > Sent: Wednesday, March 21, 2001 11:52 PM > To: icecast@xiph.org > Subject: RE: [icecast] Liveice & Icecast...help > > > Yesm i hear, and it sounds like you are recording from the wrong > input. Have you found a mixer application and adjusted volumes? Are you > recording (streaming) from a playlist file or the soundcard (or > both)? > > Harvey > > > On Wed, 21 Mar 2001, Matthew Mencel wrote: > > > If you want to hear what it sounds like, take a listen. I'll have it up > for > > another 20 mins or so. > > > > 216.89.166.14:8000 > > > > > > -----Original Message----- > > From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org]On Behalf Of > > harvey smith > > Sent: Wednesday, March 21, 2001 11:20 PM > > To: icecast@xiph.org > > Subject: RE: [icecast] Liveice & Icecast...help > > > > > > Your distro probably came with an sound mixer application. I use aumix on > > the console which i had to go get, but you may already have, see if you > > have a man page. Else you can search freshmeat.net for it. You will need > > to make sure _line_in_ is set for recording and set the _rec_ volume at > > 1/2 to start and adjust by trial and error. NOTE: the _line_in_ Volume > > adjusts how loud you HEAR the source, but it's the _rec_ Volume that > > adjusts how loud it's recorded (in this case sent to the Liveice process). > > > > Harvey > > > > > > On Wed, 21 Mar 2001, Matthew Mencel wrote: > > > > > How do I change the record volume. I am doing all this from the > console, > > no > > > GUI. I have not seen anything in any of the config files to set the > > record > > > volume. > > > > > > Matt > > > > > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
One possibility is that Lame is using the wrong endianess for your system try changing NUMBER_LITTLE_ENDIAN to NUMBER_BIG_ENDIAN in liveice.h and rebuilding. The default distribution of Lame uses big endia samples on IO, which means that in raw input mode it needs the -x arg to be set. However - some 'helpful' people have made this the default on some distributions.... so when liveice sets it it puts it into the wrong mode. there's an ENCODER_ARGS option in liveice which lets you set arbitrary commadn line arguments, but -x is enabled always with liveice - and I don't think specifying it twice will turn it off. -- Scott Manley (AKA Szyzyg) Streaming Media Hacker www.myplay.com Listening to..... Floorgasm II - The Hard House Years http://www.myplay.com/mp/playlist/now_playing.jsp?plid=381576&start=1 --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Yes, I downloaded the aumix utility and am using it now. Set line in to %50 then %25 and to record but still the same thing. I'm streaming from the line in on the sound card which is being fed from a portable radio nearby. I get the distortion whether I have the audio fed into 'line in' or not. Matt -----Original Message----- From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org]On Behalf Of harvey smith Sent: Wednesday, March 21, 2001 11:52 PM To: icecast@xiph.org Subject: RE: [icecast] Liveice & Icecast...help Yesm i hear, and it sounds like you are recording from the wrong input. Have you found a mixer application and adjusted volumes? Are you recording (streaming) from a playlist file or the soundcard (or both)? Harvey On Wed, 21 Mar 2001, Matthew Mencel wrote:> If you want to hear what it sounds like, take a listen. I'll have it upfor> another 20 mins or so. > > 216.89.166.14:8000 > > > -----Original Message----- > From: owner-icecast@xiph.org [mailto:owner-icecast@xiph.org]On Behalf Of > harvey smith > Sent: Wednesday, March 21, 2001 11:20 PM > To: icecast@xiph.org > Subject: RE: [icecast] Liveice & Icecast...help > > > Your distro probably came with an sound mixer application. I use aumix on > the console which i had to go get, but you may already have, see if you > have a man page. Else you can search freshmeat.net for it. You will need > to make sure _line_in_ is set for recording and set the _rec_ volume at > 1/2 to start and adjust by trial and error. NOTE: the _line_in_ Volume > adjusts how loud you HEAR the source, but it's the _rec_ Volume that > adjusts how loud it's recorded (in this case sent to the Liveice process). > > Harvey > > > On Wed, 21 Mar 2001, Matthew Mencel wrote: > > > How do I change the record volume. I am doing all this from theconsole,> no > > GUI. I have not seen anything in any of the config files to set the > record > > volume. > > > > Matt > >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
It's late here so I'm off to bed. Here's my liveice.cfg file to look at. Thanks for your help tonight Harvey. Matt # liveice configuration file # Use this as a guide to what the options do.... # basic options SERVER localhost PORT 8001 PASSWORD xxxxxxx # Which encoder to use - choose one - you may need to set a suitable # sampling frequency and birate. # # Recommended Encoders # # USE_MP3ENC use fraunhofer's mp3 encoder: money + CPU = best quality # USE_LAME3 Use the currenct versions of lame (www.sulaco.org) # USE_GOGO Hacked/Optomised Lame - Lower quality, higher speed # USE_XING_BETA - actually it's illegal to use this.... # USE_L3ENC - Fraunhofer's original encoder. registerd version only. # # Recommended for kernel hackers only # # USE_XING - uses the XING mp3 encoder - you need a special kernel module to # make it work.... # USE_XING_VBR - Implement VBR streams... no popular # # Not recommended (low quality ISO source...) # USE_SCREAMER uses the version of LAME from Isaac Richard's screamer # USE_AJ_ENCODER Andreas Johannsen's encoder # USE_BLADE *DOESN@T WORK* Don't even think about it # USE_OLD_LAME3 lame311 versions 3.01 to 3.11 # # # If you're having problems - specify the full path to the encoder USE_LAME3 /usr/local/bin/lame # # You can manually set other command line options using this # e.g. manually set high quality mode in lame ENCODER_ARGS -h # SOUNDCARD is enabled by default - use NO_SOUNDCARD with mixer mode # if you don't actually have a soundcard in the computer producing the # mp3 source # NO_SOUNDCARD doesn't work with simple mode. # *Don't* mess around with the clock on the computer - it'll confuse it # I'm not looking into a more complicated solution just yet. #there are no command line equivalents for these SOUNDCARD #NO_SOUNDCARD # lets you specify another device to connect to SOUND_DEVICE /dev/dsp #use full duplex mode on soundcard -f/-h # most drivers dont' support full duplex - dont' complain if it breaks #FULL_DUPLEX HALF_DUPLEX # #audio format # Don't be too greedy - any moron asking for 44100Hz, Stereo at 32kbit # should be shot # SAMPLE_RATE 22050 BITRATE 32000 MONO #STEREO # Encoding Quality - this is a general quality feature which covers various # switches on the encoder - I've scaled things into the range 0-100 # reducing the quality reduces the CPU requiremnets # It relies on me coding command line parameters..... ENCODING_QUALITY 30 # Variable bitrate Quality - only for USE_XING_VBR # approximate data rates (tested agains Annie Nightingale's radio show # 44100Hz 16 bit, mono.) # these are per channel estimates - double them for stereo... # 0 roughly 48Kbit # 50 roughly 70kbit #100 roughly 96kbit # if you reduce the sampling rate to 22050 then the bitrate is reduced also... # e.g. q=0 => 28kbit per channel #VBR_QUALITY 1 # login / connect format # # Icy login == old styl shoutcast == sucky - use only if talking to # a stupid (i.e. shoutcast) server #ICY_LOGIN # # x-audiocast - much better idea - use for icecast servers # specify a mountpoint too. # X_AUDIOCAST_LOGIN MOUNTPOINT live # # Stream metadata # # name# name -n NAME Big Test - Matt's Test Icecast Server # genre -g GENRE experimental # public flag -x PUBLIC 0 # URL -u URL http://216.89.166.14 #password -P PASSWORD xxxxxxx #description - only valid in x-audiocast systems DESCRIPTION Test Icecast server...by Matt # # LiveIce Modes # # No mixer - simple mode uses line-in on soundcard NO_MIXER # esd mode - reads from esdmon #ESDMON_MODE # Shout mode - load the playlist and run in sequence thourgh it #SHOUT_MODE # Mixer mode - complicated mp3 mixer #MIXER # # some modes need a playlist # #PLAYLIST playlist # if you want to decode mp3 you need a version of mpg123 lying around. DECODER_COMMAND mpg123 # # Stream recording # # local file for recording #SAVE_FILE local_filename.mp3 # # request the remote server to record the data #REMOTE_DUMPFILE remote.mp3 # # Sometimes you may want to set a time limit on operation # #DURATION 3600 # # If you want to send metadata (e.g. titles) to the server - set the delay here # the number is in minutes - don't try specifying fractions. UPDATE_DELAY 2 # #if you use the mixer you can record and replay events. # #MIX_CONTROL_MANUAL #MIX_CONTROL_AUTO #MIX_CONTROL_LOGGED #CONTROL_FILE mix_command # # You can log every track played to a file # #TRACK_LOGFILE track.log # and even specify the format #LOGFILE_FORMAT %t %T %f %F %a %n %b %u # # update script can be executed at every track change... # Not well documented - in fact not documented at all #UPDATE_SCRIPT # while this sets the debugging level # set this to 10 if ytouhave problems and send scott the output ;-) VERBOSE 0 --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.