Author Topic: CD to MP3 conversion with BASS  (Read 4179 times)

ArmenSoft

  • Posts: 3
CD to MP3 conversion with BASS
« on: 22 May '03 - 08:53 »
Hi all,

Just wondering if possible and if anyone done it already the following option using BASS with Delphi.

Get (RIP) a song from the Audio CD (BASSCD), apply some EQ or effects and save it to a new MP3 file using BASS. Don't mind if it needs to do in real time, or as quick as it can, as I don't need to hear the song as such while it is ripping/applying EQ.

A sample code would be nice  ;D

I have played around with BASS, and my current MP3 player is written by me in Delphi using BASS. So I'm not a beginner... But it's been a while since I played with BASS.

Thnx
« Last Edit: 22 May '03 - 08:54 by ArmenSoft »

fredvs

  • Posts: 325
Re: CD to MP3 conversion with BASS
« Reply #1 on: 22 May '03 - 13:10 »
Hi

1. Record with cd input. (see sample in Bass package)
2. Convert the result (Bass only saves in wav format) in mp3 format with bladeenc for example.
3. Zis done.

ArmenSoft

  • Posts: 3
Re: CD to MP3 conversion with BASS
« Reply #2 on: 22 May '03 - 13:34 »

Quote

Hi

1. Record with cd input. (see sample in Bass package)
2. Convert the result (Bass only saves in wav format) in mp3 format with bladeenc for example.
3. Zis done.


Thanks for that, but I already know how to do that.
What I'm after is a way to set EQ for my MP3 files while ripping them from the CD, or even from MP3 to MP3.
IE. Load the song into memory, apply EQ effect (Bass boost etc.) and save it to a new MP3 file.

Regards.

Ian @ un4seen

  • Administrator
  • Posts: 26028
Re: CD to MP3 conversion with BASS
« Reply #3 on: 22 May '03 - 14:53 »
You can use BASS_ChannelSetDSP/FX with the CD decoding (ripping) channel, to apply the EQ and other effects. You'll have to use something like LAME to encode the ripped data to MP3.

ArmenSoft

  • Posts: 3
Re: CD to MP3 conversion with BASS
« Reply #4 on: 22 May '03 - 14:57 »
Hi Ian,

Is it possible to load an MP3 file into memory, apply the FX and save it back? or I have to use the LAME library then to encode the data in memory to a file?

Promise, last questions about this topic... :-[

Ian @ un4seen

  • Administrator
  • Posts: 26028
Re: CD to MP3 conversion with BASS
« Reply #5 on: 23 May '03 - 13:43 »
It's not possible to apply effects directly to the encoded MP3 file - it needs to be decoded first. So you'ld have to re-encode the data to MP3 after applying the effects.