r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[All] except covered in other channels

Anton
3-Jan-2005
[196x3]
That's not what it says at mp3dev.org : "LAME is an LGPL MP3 encoder."
ok
% lame [options] inputfile [outputfile]
Graham
3-Jan-2005
[199x3]
I want a way to generate mp3 voice mail .. this does the mp3 encoding.
Now to find a way to actually record a wav file from within rebol.
dunno why, but the windows sound recorder seems to record my voice 
very soft ... can't hear the results audibly.
Anton
3-Jan-2005
[202]
I would like to do that too.
Graham
3-Jan-2005
[203]
Got my microphone all the way up high too.
Anton
3-Jan-2005
[204x3]
There is a 20dB mic boost option in the windows sound options.
Go into properties and select recording options (I think.) It's such 
a damn confusing user interface...!
Once microphone is selected to be displayed, then you can click on 
Advanced to get the 20dB boost.
Graham
3-Jan-2005
[207]
properties?
Anton
3-Jan-2005
[208x4]
Start/Settings/Control Panel/Sounds and Audio Devices
under Volume/Device Volume, tick "Place Volume Icon in the taskbar"
click OK.  Double click on the volume icon in the task bar -> now 
properties
(Options/properties)
Graham
3-Jan-2005
[212x5]
must be hardware specific ..
don't see such an option
very odd because when I use skype, people can hear me fine when I 
use the same setup.
hey, I found a microphone boost option after all!  :)
it was on the recording control screen, and there was an advanced 
button at the bottom middle
BrianW
3-Jan-2005
[217]
Of course, where else would it be?
Graham
3-Jan-2005
[218]
I"d swear that button wasn't there before! :)
BrianW
3-Jan-2005
[219]
It probably wasn't
Anton
3-Jan-2005
[220]
:) like I said, it's a difficult interface
Graham
3-Jan-2005
[221x2]
there's  win32 program out there called mpegrec.exe which records 
straight from mic or line in to mp3
uses lame as well for the mp3 encoding.
Anton
3-Jan-2005
[223]
sounds promising. :)
Graham
3-Jan-2005
[224]
Hmm.  I have to send a Control-C to stop it recording if I don't 
specify a time interval.
Anton
3-Jan-2005
[225]
what would be better ?
Graham
3-Jan-2005
[226]
just have to figure out how to send a control c ...
Anton
3-Jan-2005
[227]
ahh.. I remembered which application uses lame_enc.dll   ->  audiograbber
Graham
3-Jan-2005
[228x2]
this is pretty cool .. using lame.exe and mpegrec.exe I can record 
voice to mp3 .. now to see if I can get it done using Rebol to control 
it all.
simple as :   mpegrec -o c:\temp\graham.mp3
Anton
3-Jan-2005
[230]
should be as easy as building a command line
Graham
3-Jan-2005
[231x2]
I hope so.
mpegrec download page: http://www.netwaysglobal.com/mpegrec/
Anton
3-Jan-2005
[233]
I don't see why there would be any problems with that.
Graham
3-Jan-2005
[234x3]
lame.exe binary download page: http://www.snapfiles.com/download/dllame.html
no way I can see to send a control-c to terminate mpegrec

http://www.rebol.com/docs/shell.html
perhaps call/console ...
Anton
3-Jan-2005
[237]
at least there is the mpegrec source.
Graham
3-Jan-2005
[238]
have to put aside a year or first to learn C++
Anton
3-Jan-2005
[239x3]
in mpegrec.cpp there is:
BOOL WINAPI terminateEarly(  DWORD dwCtrlType )
{
	++ctrl_c_hit;
	cerr << "(Stopping on CTRL-C)" << endl;
//	if(recorder) recorder->SignalRecordingToEnd();
	return TRUE;
}
I might try later to compile it but I have to go get some bread now...
Graham
3-Jan-2005
[242]
I tried call/console .. but to pass the control-C back, I have to 
input that into the dos shell window and not the console.
Anton
3-Jan-2005
[243x2]
yeah I don't think that's going to work.
I think the way to go is to convert the source into a DLL and recompile. 
I would like to try a bit later - but first - bread.
Graham
3-Jan-2005
[245]
bread it is :)