Using BASS record routines as a

Started by NiteBeast,

NiteBeast

Hi,

Has anyone tried to record from Line In, do some DSP on the buffer then send it to the line out?

I have an idea for creating my own Guitar effects processor.  And I'm just curious if anyone has done something similar and can guide me in the right direction.

I looked closely at the recording demo but apart from just building a fancy smancy MP3 player I haven't done any serious work with recording or streaming from a recordable source.

Any help is greatly appreciated.

Tanx  8)

Ingolf2

I have created the same thing. I have made a custom stream (using STREAMPROC) because you will need some callback function to write the recorded data. Then you use BASS_ChannelGetData to fetch the data from the RECORDCHAN (constant in BASS unit) channel and write it in the streamproc.

You'll also have to set the buffer size and device latency to the lowest possible, because otherwise when you would strum some strings, it echoes, which is very irritating.

To make it simple, just look at the example that comes with the bass package, I have made it using this.

NiteBeast

Thanks!

I started looking at the Record demo and was going to do a callback to fill a buffer then DSP the buffer then use a user stream, preferably memory, to output the DSP'd data.

I'll look at both ways and see which gives the best results.

Thanks for the reply.