Thread View: borland.public.cppbuilder.multimedia
7 messages
7 total messages
Started by Andrei
Fri, 01 Mar 2002 19:26
DSP with Borland
Author: Andrei
Date: Fri, 01 Mar 2002 19:26
Date: Fri, 01 Mar 2002 19:26
10 lines
1090 bytes
1090 bytes
I am looking for any sample source code that can give me an idea of designing simple audio filters with CPB. I have source code for VC++, but porting that is a pain. Any book that comes wiht BCP source? Thanks -- Andrei www.moon1000.com email: Touch_Down_at_moon1000.com
Re: DSP with Borland
Author: Mathew Duafala
Date: Fri, 01 Mar 2002 17:45
Date: Fri, 01 Mar 2002 17:45
19 lines
1661 bytes
1661 bytes
I don't know if any BCB specific books, but there is a Delphi multimedia programming book that covers audio programming (not MCI) so you have access to the sound buffers directly. From there you should be able to apply the same filter routines that are in the VC source code. Since it is all WinAPI you could probably cut and paste the VC functions into BCB and get them to work with little effort. MD Andrei wrote: > I am looking for any sample source code that can give me an idea of > designing simple audio filters with > CPB. I have source code for VC++, but porting that is a pain. Any book that > comes wiht BCP source? > > Thanks >
Re: DSP with Borland
Author: Mathew Duafala
Date: Fri, 01 Mar 2002 18:42
Date: Fri, 01 Mar 2002 18:42
28 lines
2058 bytes
2058 bytes
Don't forget (like I just did) that there is a chapter in Petzold on audio programming. It basically covers recording WaveForms with Win32 API and would probably be a bit more straight forward that trying to convert the delphi code. If you don't have Petzold, then try looking up waveInStart in either the win32 help, or msdn.microsoft.com. That should get you started. MD Andrei wrote: > On 1-Mar-2002, Mathew Duafala <mduafala@nospam.borland.com> wrote: > >>I don't know if any BCB specific books, but there is a Delphi multimedia >>programming book that covers audio programming (not MCI) so you have >>access to the sound buffers directly. From there you should be able to >>apply the same filter routines that are in the VC source code. >> >>Since it is all WinAPI you could probably cut and paste the VC functions >>into BCB and get them to work with little effort. >> > > Good enough, thank you! > I am sorry - it's _BCB_ :) > > >
Re: DSP with Borland
Author: Andrei
Date: Fri, 01 Mar 2002 21:01
Date: Fri, 01 Mar 2002 21:01
17 lines
1471 bytes
1471 bytes
On 1-Mar-2002, Mathew Duafala <mduafala@nospam.borland.com> wrote: > I don't know if any BCB specific books, but there is a Delphi multimedia > programming book that covers audio programming (not MCI) so you have > access to the sound buffers directly. From there you should be able to > apply the same filter routines that are in the VC source code. > > Since it is all WinAPI you could probably cut and paste the VC functions > into BCB and get them to work with little effort. Good enough, thank you! I am sorry - it's _BCB_ :) -- Andrei email: Touch_Down_at_moon1000.com
Re: DSP with Borland
Author: Andrei
Date: Fri, 01 Mar 2002 23:28
Date: Fri, 01 Mar 2002 23:28
10 lines
1529 bytes
1529 bytes
I actually have a book called Digital Audio Processing by Doug Coulter. It has loads of code that comes on CD with it, all VC++, of course. I also just found a fine-working complete code for a multi-band EQ. DSP code does not grow on trees so that's a real find. This stuff is not trivial, so some help-by-example helps a lot. My knowledge of OOP is limping too, so I am in for some sweatin' ;) -- Andrei REMOVE_sezna2000@yahoo.com
Re: DSP with Borland
Author: nicolasr
Date: Sat, 02 Mar 2002 03:38
Date: Sat, 02 Mar 2002 03:38
23 lines
1805 bytes
1805 bytes
Hi, just some thoughts.... I am also doing DSP like things with BCB, mostly working with wave files. Currently I'm working with DirectX/DirectSound and it took me a while to setup DirectSound in BCB. If you only want to use the Multimedia API it should be easier. However, there is one thing that makes me stick with BCB: Once I set up my backend DSP routines so that they compile in BCB I want to test them with some GUI (trackbars, buttons or edits, showing the results of changes). And this is where I think BCB saves you a lot of coding! You can always redesign your GUI in minutes!! Also I think that DSP routines (even from a VC++ book) should not depend too much on VC++, so it's maybe not that difficult to use them in BCB. As Mathew said, as long your code is plain WinAPI it should always work in BCB without problems. If you need any source code maybe specify one of your VC++ examples and I will see what I can do... Nick
Re: DSP with Borland
Author: Andrei
Date: Sat, 02 Mar 2002 07:02
Date: Sat, 02 Mar 2002 07:02
11 lines
1338 bytes
1338 bytes
Hey, guys, I appreciate the help. Right now I am in the very early stage, just looking around :) My sticking with BCB is for the same exact reason - ease of GUI design is a joy with Borland products. My case is a bit better since I am not designing a wave editor - all DSP functions will be under the hood with one-time tweaked settings, that's the kind of thing I am doing. I am a die-hard Borland fan, so screw MFC! Life is short! :) -- Andrei REMOVE_sezna2000@yahoo.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads