Jump to content
Fivewin Brasil

Capturar som WAVE


SHARK

Recommended Posts

Preciso gravar arquivos de som e não encontro nenhuma função do tipo SndRecord() ou sei lá algum método tipo oMCI:Record()

Alguém pode me dar uma dica?

Shark - FWH 2.5 / xharbour 0.99.3 / xMate 1.9 / Resource WorkShop

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

veja se isto te serve:


function f_gravar()

mciSendStringA("OPEN NEW TYPE WAVEAUDIO ALIAS SAMPLE","",0,0)

mciSendStringA("RECORD SAMPLE","",0,0)

return(nil)

function f_parar()

meuarq:="MEUSOM.WAV"

mciSendStringA("STOP SAMPLE","",0,0)

mciSendStringA("SAVE SAMPLE " + meuarq , "",0,0)

mciSendStringA("CLOSE SAMPLE","",0,0)

return(nil)

DLL function mciSendStringA ( cFile as LPSTR ,zFile as LPSTR,;

uReturnLenght as LONG, wndCallback as LONG) as LONG PASCAL LIB "WINMM.DLL"

id=code>id=code>

clipper - vasculhando fivewin e o xharbour

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...