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

World: r3wp

[All] except covered in other channels

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 :)
Graham
4-Jan-2005
[246]
I've got voicemail working but ... have to control c into the dos 
shell.
Anton
4-Jan-2005
[247x3]
bah, no luck compiling mpegrec using bloodshed C++ environment - 
need MS Visual Studio environment
my hacking attempts just led to very obscure bugs that I can't be 
bothered tracking
I'll try a different way
Graham
4-Jan-2005
[250]
bloodshed C++ ?
Anton
4-Jan-2005
[251x2]
Yeah, seems a pretty nice small environment. Can make DLL's very 
easily. Of course, there are problems compiling stuff from other 
environments...
I tried it recently and made a DLL which I interfaced with rebol 
very quickly.
Graham
4-Jan-2005
[253]
does it include all the windows stuff?
Anton
4-Jan-2005
[254x4]
err... I think not all... because I was missing a file winmm.lib 
(which I found in masm32 distribution), and mmreg.h (which I found 
on the web, though don't know if if was right version)
It has *some* windows stuff, obviously, in order to create a windows 
DLL, it uses windows.h...
mmmm... I don't think I have another way... I really do need to compile 
it, one way or another..
created "Windows (MS)" group -> let's go there...
DideC
4-Jan-2005
[258]
Winmm.dll is the MCI interface in Windows. With that interface you 
can control many multimedia stuff (wave form playing, video playing, 
recording...)

It has two interface : C++ level and string command. The last one 
sounds easy to interface with view/pro. But, eh, I never played with 
DLL interfacing in rebol.
So I let that to "make routine!" guru ;-)
Pekr
4-Jan-2005
[259]
So, what is the latest version of make-doc ppl do use? I can see 
nice output done by Chris, but Gabriele's YourValues html looks nice 
too .. anyone?
Gabriele
4-Jan-2005
[260]
mine is actually Chris' one
Pekr
4-Jan-2005
[261]
do you use his on-line formatter or is anywhere source availalble?
Gabriele
4-Jan-2005
[262]
online
Pekr
4-Jan-2005
[263]
I downloaded make-doc.r from rebol.org, I know there is also make-doc2 
which RT uses, but I wonder if it is publicly available? I would 
like to know, how safe I am using Robert's make-doc-pro, as there 
seems to be project regarding make-doc at rebol.net, but dunno status, 
progress ...
eFishAnt
4-Jan-2005
[264]
Pekr, they will all be pretty consistent, so you shouldn't have to 
worry too much.
[unknown: 9]
4-Jan-2005
[265x2]
If anyone has any requests as to how I'm putting together the name 
of dividers, or where I put stuff, speak up.  I try to get things 
organized, so that I have some clue when I pop in here what a given 
group refers to.
Like Vanilla.  Just having it under a diviver that says Products 
helps a lot.
Brock
4-Jan-2005
[267]
funny in a 'geek' way... http://khason.biz/blog/2004/12/why-microsoft-can-blow-off-with-c.html
Pekr
4-Jan-2005
[268]
I can imagine following kind of UI being done with View ... except 
video and audio playback for now ...  http://www.mythtv.org/modules.php?name=MythFeatures
DideC
4-Jan-2005
[269]
Carl ! Your beard is required NOW !!!
Chris
4-Jan-2005
[270]
Petr, that should be doable -- though it depends whether anyone has 
reason or motivation to implement it...
Vincent
4-Jan-2005
[271]
I'm working on a sound library, for /Core and /View, with - for now 
- AIFF / 8SVX / AU / WAVE (PCM/float/u-law/A-law) support (read and 
write). Any suggestion for another usefull format to support?
Graham
4-Jan-2005
[272]
mp3 :)
eFishAnt
4-Jan-2005
[273x2]
CELP, QCELP, ... ;-)
EVRC
Pekr
4-Jan-2005
[275x2]
Vincent: http://www.fmod.orgwas suggested by Cyphre, but we don't 
know if RT would add it. But who knows, - we now have AGG :-)
Has anyone used UML in real-life. Or even more precise - is UML worth 
studying? I want to construct some system, which will have some object 
model, inheritance, classes, but dunno if UML is worth studying as 
reference. I have read few chapters - seems like cool thing, but 
a bit difficult to swallow - too many terms etc. ....
eFishAnt
4-Jan-2005
[277]
REBOL cuts out the bureacracy of UML and implements direct.  Schler-Mellor 
and Grady Brooch have some "noble" goals (but the devil's in the 
implementation), but have never faced anything as powerful as REBOL 
yet for implementation.  I saw Mellor talk once, and he did a great 
talk on "orthogonal behavior" which is apropos.  I think the way 
to utilize their mess is to do it simpler in REBOL, call it UMLR 
and teach them the future.