LB Booster
Programming >> Language extensions >> Recwave "talking.wav", 44100 ?
http://lbb.conforums.com/index.cgi?board=extensions&action=display&num=1328435235

Recwave "talking.wav", 44100 ?
Post by James on Feb 5th, 2012, 08:47am

It would be neat to be able to record audio like this:

[recbutton]
Recwave "singin.wav", 44100
wait

[stopbutton]
Stoprec
wait

I haven't been able to record audio very well in vista. sad

------------

Rom. 1:16) For I am not ashamed of the gospel of Christ: for it is the power of God unto salvation to every one that believeth;


Re: Recwave "talking.wav", 44100 ?
Post by Richard Russell on Feb 6th, 2012, 10:10pm

on Feb 5th, 2012, 08:47am, James wrote:
It would be neat to be able to record audio

How about Alyce's Wavy program here:

http://alycesrestaurant.com/Media.htm

Richard.
Re: Recwave "talking.wav", 44100 ?
Post by James on Feb 7th, 2012, 09:38am

Thanks, Richard, but for some reason it doesn't work well on vista for me... huh

------

Matt. 3:8) Bring forth therefore fruits meet for repentance:
Re: Recwave "talking.wav", 44100 ?
Post by Richard Russell on Feb 7th, 2012, 11:00am

on Feb 7th, 2012, 09:38am, James wrote:
Thanks, Richard, but for some reason it doesn't work well on vista for me... huh

Alyce may be monitoring this board and be able to comment. Do you specifically need a Liberty BASIC solution, or just a program to record audio?

Richard.

Re: Recwave "talking.wav", 44100 ?
Post by James on Feb 7th, 2012, 2:42pm

Thanks for your work and kindness!

I wrote Alyce about this back in 2010 but she said she didn't know how to make it work on Vista. I was eventually able to do low quality recordings, but not like in XP.

What would be nice is to have a way to record 44100 .wav like this:

smiley

[record]
recwave "blabla.wav", 44100
wait

[stop]
stoprec

I've made a program for recording and automatically adding timed speech to videos. I remember this being a big problem. sad

-------

Matt. 3:10) And now also the axe is laid unto the root of the trees: therefore every tree which bringeth not forth good fruit is hewn down, and cast into the fire.
Re: Recwave "talking.wav", 44100 ?
Post by James on Feb 7th, 2012, 2:44pm

P.S. I did try a solution where LB would launch a command line utility, but it was too clunky. It needed to be integrated, tight with the program.
Re: Recwave "talking.wav", 44100 ?
Post by Richard Russell on Feb 7th, 2012, 4:49pm

on Feb 7th, 2012, 2:42pm, James wrote:
What would be nice is to have a way to record 44100 .wav

I've got BBC BASIC code which does it - and it works under Windows 7 - but frankly I'm not very motivated to translate it into Liberty BASIC. Sorry.

If you don't mind your program being LBB-specific, a hybrid solution in which the 'main program' is in LB but the audio capture is in BBC would be possible, in principle.

Richard.
Re: Recwave "talking.wav", 44100 ?
Post by James on Feb 8th, 2012, 06:15am

Thanks Richard, I know the feeling... whatever you do is great... cheesy

-------

Rev. 21:21) And the twelve gates were twelve pearls; every several gate was of one pearl: and the street of the city was pure gold, as it were transparent glass.
Re: Recwave "talking.wav", 44100 ?
Post by datwill on May 4th, 2015, 7:37pm

Why do you add Biblical quotations on the end of your posts? It's not Christian hatred (for I'm one!), but I just wondered why.