How to start-off??

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 ... , 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.

Reply to
krg
Loading thread data ...

a small addition: I am on Windows platform

thanks

Reply to
krg

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.

formatting link
(apologies for the commercial link)
formatting link
formatting link

Cheers,

Ross-c

Reply to
clemenr

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.

Reply to
Bevan Weiss

Bevan Weiss wrote in news:Lx3af.342$ snipped-for-privacy@news.xtra.co.nz:

You might want to join the music-dsp discussion list

formatting link

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

--
Al Clark
Danville Signal Processing, Inc.
--------------------------------------------------------------------
Purveyors of Fine DSP Hardware and other Cool Stuff
Available at http://www.danvillesignal.com
Reply to
Al Clark

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.

Jerry

--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Reply to
Jerry Avins

What cards would this be or can you suggest appropriate Google search terms?

What effects are possible on which cards?

I'm mulling some wild ideas and need grist for the mill so to speak.

Practicality is the *LEAST* of my concerns. I am in "brain storming" mode ;}

Reply to
Richard Owlett

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.