Recent

Author Topic: TWaveIn, TWaveOut  (Read 4837 times)

user5

  • Sr. Member
  • ****
  • Posts: 357
TWaveIn, TWaveOut
« on: August 07, 2014, 01:38:55 pm »
Can anyone provide any information or examples about how to use TwaveIn, TwaveOut and TsoundIndicator? I can find only the barest mention of them on the web. I’ve looked in this forum, Google, ACS, Lazarus Component Library and just about everywhere else. I have used them before, a long time ago, but I can’t get them going. All I have is this, with wavein1 being listed in the object inspector as the input for waveout1.

WaveIn1.filename := 'c:\tem\audio1.wav';
WaveOut1.run;

The example above compiles but doesn’t run. It’s got to be TwaveIn and TwaveOut because I want to use TsoundIndicator with ‘em. Thanx.

user5

  • Sr. Member
  • ****
  • Posts: 357
Re: TWaveIn, TWaveOut
« Reply #1 on: August 11, 2014, 12:06:39 am »
Hmmm... I may post the previous message in the General programming section. Maybe I'll have some luck there on gettin some info about TWaveIn and TWaveOut.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4474
  • I like bugs.
Re: TWaveIn, TWaveOut
« Reply #2 on: August 11, 2014, 12:24:20 am »
There is no TwaveIn, TwaveOut or TsoundIndicator in FPC or Lazarus distributions.
You must have got them from somewhere else.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11455
  • FPC developer.
Re: TWaveIn, TWaveOut
« Reply #3 on: August 11, 2014, 10:23:40 am »
Afaik ACS is in Lazarus-CCR ?

user5

  • Sr. Member
  • ****
  • Posts: 357
Re: TWaveIn, TWaveOut
« Reply #4 on: August 11, 2014, 08:15:29 pm »
Oh, okay. Yeah, you're both right. I'm about to check it out but it must be an ACS package that I forgot about. Thanks much.

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: TWaveIn, TWaveOut
« Reply #5 on: August 11, 2014, 08:51:11 pm »
I'm not sure whether ACS is actively maintained. Some five years ago I was able to compile it under win32 (Vista) but it didn't compile under 64-bit Linux. Maybe you can look around for other solution, there are well working bindings for PortAudio, Bass and other audio libraries. Or search this forum for UOS maintained by forum member FredvS.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

 

TinyPortal © 2005-2018