Digital Preamplifier and TI - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 7th November 2004, 08:06 AM   #1
diyAudio Member
 
Join Date: Nov 2004
Location: near river
Default Digital Preamplifier and TI

hello all,

I m v.new here. I m currently working on TMS320C6711 DSP Starter Kit (DSK Board). I have to transfer digital data from Music CD (44.1 kHz+16 or 24 bit) on to the DSK board and then perform 4 steps.
1-Interpolation: 44.1->88.2
2-Decimation: 88.2->44.1
3-SRC for Rational Factor: 44.1->48
4-Multistage SRC: 44.1->192

I have to program this DSK to function as a preamplifier and listen to the audio after all the above operations r performed on the digital audio input. TI's Code Composer Studio (C & Assembly) is to b used.

ANY one out there, who is familiar with these things in any respect must (plz) reply to this post as i m in a big trouble.

regards.
  Reply With Quote
Old 9th November 2004, 09:04 AM   #2
diyAudio Member
 
Join Date: Nov 2004
Location: near river
plz help if any body knows how to cop up with this problem.
  Reply With Quote
Old 9th November 2004, 09:34 AM   #3
MWP is offline MWP  Australia
diyAudio Member
 
Join Date: Oct 2002
Location: Adelaide, South Australia
Sounds like a school/uni task... sure your not trying to cheat on your homework?
  Reply With Quote
Old 9th November 2004, 09:57 AM   #4
roibm is offline roibm  Romania
Banned
 
Join Date: Dec 2003
Location: Transylvania
Quote:
Originally posted by MWP
Sounds like a school/uni task... sure your not trying to cheat on your homework?
got him, ha?
  Reply With Quote
Old 9th November 2004, 01:10 PM   #5
diyAudio Member
 
Join Date: Nov 2004
Location: near river
ya this is, can't anyone help in this regard
  Reply With Quote
Old 9th November 2004, 04:41 PM   #6
gmarsh is offline gmarsh  Canada
diyAudio Member
 
gmarsh's Avatar
 
Join Date: Apr 2004
Location: Halifax, NS, Canada
Doing this sort of work is half of my day job

You just described 4 polyphase filters. There's probably lots of examples and functions in the TI software which can do a lot of this for you, most of your work will involve calculating filter taps.
  Reply With Quote
Old 9th November 2004, 04:52 PM   #7
diyAudio Member
 
Join Date: Nov 2004
Location: near river
ok gmarsh

can u guide me throught the process

i mean where to start, just guide me then once i got the right track, i will follow it on my own & what type of things do TI offer? can u plz spend some time to write this all stuff just once??
  Reply With Quote
Old 10th November 2004, 12:11 PM   #8
gmarsh is offline gmarsh  Canada
diyAudio Member
 
gmarsh's Avatar
 
Join Date: Apr 2004
Location: Halifax, NS, Canada
Quote:
Originally posted by kami10001
ok gmarsh

can u guide me throught the process

i mean where to start, just guide me then once i got the right track, i will follow it on my own & what type of things do TI offer? can u plz spend some time to write this all stuff just once??
ok, first things first - i'm not doing your work for you.

I haven't programmed on TI DSPs in years and I've never used a C67x DSP, so I don't recall what examples they have. If you're using one of their evaluation boards with onboard sound or onboard digital audio I/O hardware, then without a doubt the board comes with some software examples - eg, a talkthrough example.

Tackle the first thing (44.1->88.2) first... here's what you need

- two audio interfaces on the board, one at 44.1 and one at 88.2, which are synced together.
- the DSP's McBSPs (or whatever they call them now) properly configured.
- your audio processing code, which reads one sample from the 'incoming' McBSP port and writes two samples to the 'outgoing' port.

And in order to write the audio processing code, you'll need:

- to decide what the frequency characteristics of your 44.1->88.2 conversion need to be (passband ripple, transition band, stopband ripple) - eg. 0.005dB passband to 20KHz, 100dB attenuation at 22.05KHz.
- Feed this into a filter design program. Design a filter with an even number of taps, with the aforementioned characteristics and a sampling rate of 88.2KHz. Personally I use MATLAB's "fdatool" for this.
- Divide the filter into two polyphase banks. You'll need to multiply the tap values by 2.
- Either write the code for a 2X polyphase FIR filter, or see if you can find a library function which does it for you.

Once you get this done, you can move onward to the more difficult 44.1->48 kind of stuff.

If you don't know what I'm talking about here, pick up a filter design book and start reading TI appnotes.
  Reply With Quote
Old 10th November 2004, 01:04 PM   #9
diyAudio Member
 
Join Date: Nov 2004
Location: near river
thank u v.much gmarsh, i will try these things out.

I have started reading all the documents that TI provide with the card, hope i will find one that can solve a part of my problem
  Reply With Quote
Old 7th December 2004, 11:44 AM   #10
diyAudio Member
 
Join Date: Nov 2004
Location: near river
Default attention gmarsh: I have a query

[QUOTE]Originally posted by gmarsh


Tackle the first thing (44.1->88.2) first... here's what you need

- two audio interfaces on the board, one at 44.1 and one at 88.2, which are synced together.


1-How to define 2 audio interfaces on the board? u mean just to configure 2 McBSP(Incoming McBSP0 & Outgoing McBSP1) for recieving data from CD-drive or PC & sending back data on the board, one (McBSP0) @ 44.1 for recieving data & other (McBSP1) @ 88.2 for sending data back to PC

- your audio processing code, which reads one sample from the 'incoming' McBSP port and writes two samples to the 'outgoing' port.

2-U mean one sample should b read from the audio interface McBSP0 & two samples should b write on McSBP1

OR

the 2 audio interfaces r different from the incoming/Outgoing McBSP.then y they r defined?

Need a quick reply....
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Progress report - digital crossover as a DAC - digital all the way to the amps Ken L Multi-Way 0 26th November 2006 11:42 PM
digital crossover w/digital output? ezkcdude Multi-Way 30 3rd August 2006 01:01 AM
Digital Preamplifier and TI kami10001 Chip Amps 1 6th November 2004 08:38 PM


New To Site? Need Help?

All times are GMT. The time now is 02:48 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2