BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sound process

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia
View previous topic :: View next topic  
Author Message
Cristian Zujew
Guest





PostPosted: Sun Sep 25, 2005 12:53 pm    Post subject: Sound process Reply with quote



Hello:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get from
soundcard, get from file, etc.

Could anybody gives me a spot light in this work?

Some code examples, components, will be apreciate so much.

Thanks in advance
Cristian.-


Back to top
Boian Mitov
Guest





PostPosted: Mon Sep 26, 2005 2:47 am    Post subject: Re: Sound process Reply with quote



Hello Cristian,

AudioLab at www.mitov.com is a good start. It is free for non
commercial purposes, so have fun!
With best regards,
Boian Mitov

Cristian Zujew wrote:
Quote:
Hello:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get from
soundcard, get from file, etc.

Could anybody gives me a spot light in this work?

Some code examples, components, will be apreciate so much.

Thanks in advance
Cristian.-



Back to top
Cristian Zujew
Guest





PostPosted: Mon Sep 26, 2005 11:42 am    Post subject: Re: Sound process Reply with quote



Audiolab sounds very complex. Particulary the OpenWire who haves out-delphi
design methods.

But the big problem I have is my Delphi. I have Delphi 4... Audiolab starts
at delphi 5 versions.

I stay here.
Thanks anyway


"Boian Mitov" <mitov (AT) mitov (DOT) com> escribió en el mensaje
news:433760ec (AT) newsgroups (DOT) borland.com...
Quote:
Hello Cristian,

AudioLab at www.mitov.com is a good start. It is free for non commercial
purposes, so have fun!
With best regards,
Boian Mitov

Cristian Zujew wrote:
Hello:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get
from soundcard, get from file, etc.

Could anybody gives me a spot light in this work?

Some code examples, components, will be apreciate so much.

Thanks in advance
Cristian.-



Back to top
Jens Gruschel
Guest





PostPosted: Mon Sep 26, 2005 12:07 pm    Post subject: Re: Sound process Reply with quote

Quote:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get from
soundcard, get from file, etc.

If you want to start from scratch, not using third party libraries, I
think you have to divide it into smaller pieces.

1) Loading and saving wav files. Take a look at WAVEFORMATEX
(TWaveFormatEx).

2) Playing and recording waves. Take a look at WaveOutOpen,
WaveOutClose, WaveOutWrite, WaveOutPrepareHeader, WaveInOpen,
WaveInClose, WaveInStart, WaveInAddBuffer etc. You also need to handle
messages like MM_WOM_DONE and MM_WIM_DATA. Alternatives are PlaySound
(well, not really, if you want it to be professional) or using DirectSound.

3) Using the clipboard. Take a look at how the clipboard works in
general, using it for wave data is nothing special. However since wave
data usually is very large, it might be useful to render the data on
demand, providing WM_RENDERFORMAT and WM_RENDERALLFORMATS message handlers.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/clipboardformats.asp
might be a good starting point

4) Effects. Well, some effects (like echo) are pretty simple, just loop
over your samples and modify them (for an echo you read the samples to a
buffer and add them to the original data at a later point, reducing the
amplitude by some value before). Other effects (like changing pitch
without changing speed) are more difficult, since you have to do a
Fourier transformation first, modify the resulting frequencies, and
transform the data back.

Jens

--
Jens Gruschel
http://www.pegtop.net

Back to top
Ronaldo Souza
Guest





PostPosted: Mon Sep 26, 2005 7:48 pm    Post subject: Re: Sound process Reply with quote

Cristian Zujew wrote:
Quote:
Some code examples, components, will be apreciate so much.


This set of components should give you a good starting point:

http://www.delphiarea.com/products/#Wave_Audio

Good luck,
Ronaldo


Back to top
Boian Mitov
Guest





PostPosted: Tue Sep 27, 2005 3:46 am    Post subject: Re: Sound process Reply with quote

Hi Cristian,

Yeah... No Delphi 4 supported Sad . OpenWire is very in-Delphi
indeed, and while AudioLab is very complex internally it takes 10
seconds to start using it. It is exceptionally easy to use.
Cheers,
Boian


Cristian Zujew wrote:
Quote:
Audiolab sounds very complex. Particulary the OpenWire who haves out-delphi
design methods.

But the big problem I have is my Delphi. I have Delphi 4... Audiolab starts
at delphi 5 versions.

I stay here.
Thanks anyway


Back to top
Cristian Zujew
Guest





PostPosted: Tue Sep 27, 2005 10:52 am    Post subject: Re: Sound process Reply with quote

Thank you Jens... You are a Jedi

Cristian.-


"Jens Gruschel" <nospam (AT) thisurldoesnotexist (DOT) com> escribió en el mensaje
news:4337e33d$1 (AT) newsgroups (DOT) borland.com...
Quote:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get
from soundcard, get from file, etc.

If you want to start from scratch, not using third party libraries, I
think you have to divide it into smaller pieces.

1) Loading and saving wav files. Take a look at WAVEFORMATEX
(TWaveFormatEx).

2) Playing and recording waves. Take a look at WaveOutOpen, WaveOutClose,
WaveOutWrite, WaveOutPrepareHeader, WaveInOpen, WaveInClose, WaveInStart,
WaveInAddBuffer etc. You also need to handle messages like MM_WOM_DONE and
MM_WIM_DATA. Alternatives are PlaySound (well, not really, if you want it
to be professional) or using DirectSound.

3) Using the clipboard. Take a look at how the clipboard works in general,
using it for wave data is nothing special. However since wave data usually
is very large, it might be useful to render the data on demand, providing
WM_RENDERFORMAT and WM_RENDERALLFORMATS message handlers.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/clipboardformats.asp
might be a good starting point

4) Effects. Well, some effects (like echo) are pretty simple, just loop
over your samples and modify them (for an echo you read the samples to a
buffer and add them to the original data at a later point, reducing the
amplitude by some value before). Other effects (like changing pitch
without changing speed) are more difficult, since you have to do a Fourier
transformation first, modify the resulting frequencies, and transform the
data back.

Jens

--
Jens Gruschel
http://www.pegtop.net



Back to top
Thaddy
Guest





PostPosted: Mon Oct 03, 2005 6:23 am    Post subject: Re: Sound process Reply with quote

Cristian Zujew wrote:
Quote:
Hello:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get from
soundcard, get from file, etc.

Could anybody gives me a spot light in this work?

Some code examples, components, will be apreciate so much.

Thanks in advance
Cristian.-


Try http://www.dsp-worx.de and have a look at the dcdsp components for

dspack(but not only dspack:they work on raw, straight WIN 32 API
programmed wave files too.
Try http://WaveIOX.pas (and lots more stuff and effects) from
www.tobybear.de for loading/saving wave files (ANY type!)
These are all freeware and well supported and explained.
I have written a BASM library for simple sample conversion and phase
control stuff (including filters, dithering and voice cancellation
etc)at http://www.thaddy.com/tdkdsplib.zip that may be usefull.
Ik can give you lots of examples if you want, but I do not use the VCL,
but the KOL framework for audio programming.
Try http://www.musicdsp.org for lts of information on soundprogramming.
(download the pdf)

Regards,

Thaddy

Back to top
Cristian Zujew
Guest





PostPosted: Mon Oct 03, 2005 11:47 am    Post subject: Re: Sound process Reply with quote

Thanks Thaddy

"Thaddy" <kol (AT) chello (DOT) nl> escribió en el mensaje
news:4340cdc9$1 (AT) newsgroups (DOT) borland.com...
Quote:
Cristian Zujew wrote:
Hello:
I´m new in this stuff but I comming here becouse I need to make a simple
sound process application.
Cut, copy, paste, mix, add echo, distorssion, octave translation, get
from soundcard, get from file, etc.

Could anybody gives me a spot light in this work?

Some code examples, components, will be apreciate so much.

Thanks in advance
Cristian.-
Try http://www.dsp-worx.de and have a look at the dcdsp components for
dspack(but not only dspack:they work on raw, straight WIN 32 API
programmed wave files too.
Try http://WaveIOX.pas (and lots more stuff and effects) from
www.tobybear.de for loading/saving wave files (ANY type!)
These are all freeware and well supported and explained.
I have written a BASM library for simple sample conversion and phase
control stuff (including filters, dithering and voice cancellation etc)at
http://www.thaddy.com/tdkdsplib.zip that may be usefull.
Ik can give you lots of examples if you want, but I do not use the VCL,
but the KOL framework for audio programming.
Try http://www.musicdsp.org for lts of information on soundprogramming.
(download the pdf)

Regards,

Thaddy



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.