How to start-off??

K

krg

Jan 1, 1970
0
Posted To:
comp.dsp, sci.electronics.misc, rec.music.makers.synth

Hello people,
Getting straight on to the topic, I read a lot about cool
effects like flanging, reverb, and ... <you got the idea>, and also
that how you can create these with your own programs in C. I believe I
know enough C to carry things on my own, but I just need a start.
All I want to know is how to get those samples of that fav song
of mine that go out of my PC, so that I can really grab them and do
algebra that sounds good to me and finally play it.
Thanks for reading my post and further more if you actually
help.
 
K

krg

Jan 1, 1970
0
a small addition: I am on Windows platform

thanks
 
I would recommend that you start by reading the book "Understanding
Digital Signal Processing" by Lyons. It is said to be the easiest
introduction to DSP for beginners.

For the grabbing of the audio signal, you might want to use an audio
library such as PortAudio. If you use the Stk (Synthesis Toolkit for
C/C++) then many of the basics of audio processing such as filters are
pre-defined, and you can skip a lot of the DSP theory.

http://www.amazon.com/exec/obidos/tg/detail/-/0201634678/103-8546001-8973437?v=glance
(apologies for the commercial link)
http://www.portaudio.com
http://ccrma.stanford.edu/software/stk/

Cheers,

Ross-c
 
B

Bevan Weiss

Jan 1, 1970
0
krg said:
Posted To:
comp.dsp, sci.electronics.misc, rec.music.makers.synth

Hello people,
Getting straight on to the topic, I read a lot about cool
effects like flanging, reverb, and ... <you got the idea>, and also
that how you can create these with your own programs in C. I believe I
know enough C to carry things on my own, but I just need a start.
All I want to know is how to get those samples of that fav song
of mine that go out of my PC, so that I can really grab them and do
algebra that sounds good to me and finally play it.
Thanks for reading my post and further more if you actually
help.

Not quite the right newsgroup for that question, however...
You'll either need a decoder for the particular file format that you're
wanting to play around with, or you'll have to look into directly
modifying the Direct-Sound (or equivalent) buffers to allow for the
effects you desire.

Once you've got the buffer containing your samples then it's just a
matter of applying these samples to a filter to produce the effects you
desire. The filter structure would be entirely up to you, however given
that it's audio that you're dealing with an IIR filter would probably
suffice for pretty much everything that you're wishing to do.

Quite a few modern sound cards already have the capability to provide
these effects on-board (i.e. without additional CPU load) so you'd just
need to look into utilizing those features if this is more what you're
trying to do.
 
A

Al Clark

Jan 1, 1970
0
Not quite the right newsgroup for that question, however...
You'll either need a decoder for the particular file format that
you're wanting to play around with, or you'll have to look into
directly modifying the Direct-Sound (or equivalent) buffers to allow
for the effects you desire.

Once you've got the buffer containing your samples then it's just a
matter of applying these samples to a filter to produce the effects
you desire. The filter structure would be entirely up to you, however
given that it's audio that you're dealing with an IIR filter would
probably suffice for pretty much everything that you're wishing to do.

Quite a few modern sound cards already have the capability to provide
these effects on-board (i.e. without additional CPU load) so you'd
just need to look into utilizing those features if this is more what
you're trying to do.

You might want to join the music-dsp discussion list

http://ceait.calarts.edu/mailman/listinfo/music-dsp

Rick Lyon's book is excellent. Another good book with audio examples is
Introduction to Signal Processing by Sophocles Orfanidis.
 
J

Jerry Avins

Jan 1, 1970
0
Al said:
You might want to join the music-dsp discussion list

http://ceait.calarts.edu/mailman/listinfo/music-dsp

Rick Lyon's book is excellent. Another good book with audio examples is
Introduction to Signal Processing by Sophocles Orfanidis.

Nobody mentioned C-sound. That's free and worth at least twice the price
(that's a joke -- it's good). To take sound files apart and create new
ones, the format information in libsndfile is invaluable.
<http://www.mega-nerd.com/libsndfile/>

Jerry
 
Top