![]() |
|
|||||||
| XBMC Development Developers forums for XBMC related development. Programmers/Coders only! No end-user support, no bug reports, and no feature/function requests here! Please, add platform prefix for suggestions that are not platform-independent!: Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]" |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Nov 2003
Posts: 5
![]() |
i also posted this to the xbmp forums...
i've uploaded my source files using the end user upload page - xbmc_dsp.zip. i didn't get a chance to clean up or document the code yet, so if anyone wants to continue the work they should probably email me so i can explain what's going on. hopefully i have some time to continue to work on it along with the help of others. i never got it completely working because i got stuck trying to figure out how to do the gui end of things. i also wasn't entirely sure what direction to go with it. here's a quick rundown of what's in there. i know the style/class names don't match the rest of the code, but it's hard to break old habits. filter_bank.fx - dsp builder source file of 5 stereo biquad filters filter_bank.bin - dsp image file ( generated by dsp builder ) filter_bank.h - header file of dsp coefficients ( generated by dsp builder ) dsp.h/cpp - implements dsp::manager_t guiwindowdsp.cpp - the start of my attempt to implement a dsp control panel dsp builder ( included in the xdk ) allows you to graphically create a dsp processing chain. the result of the dsp builder compile is a dsp executable image ( *.bin ) and a header file which exposes the dsp coefficients. to download a dsp image you use the lpdirectsound8->downloadeffectsimage method. one downloaded you can use the seteffectdata method to set a filter parameter. since the parameters exposed are the raw biquad parameters, some amound of parameter coefficent crunching is required to actually use the filters - the filter_t class along with lp_filter_t ( low pass filter ), hp_filter_t ( high pass filter ), and parametric_filter_t ( parametric filter ) help with this process. generating the coefficients is a little tricky, especially since the documentation is apparently incorrect. i experimentally determined that the mapping of the biquad coefficients was incorrect. this may have been fixed in a later xdk, but i had to implement the following remapping - dwfiltera1 = coef.b0 dwfiltera2 = coef.b1 dwfilterb0 = coef.b2 dwfilterb1 = coef.a1 dwfilterb2 = coef.a0 if you want to give it a go, good luck! let me know what kind of result you find. |
|
|
|
|
|
#2 |
|
Team-XBMC Project Manager
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
![]() |
great and very cool! developers who want to play around and try to implement fankey's code can fould it here: xbmc dsp v1.0
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2003
Location: EU, Denmark, Copenhagen
Posts: 194
![]() |
just to spur interest, i thought i'd ask you guys, what will this mean if this was integrated and worked, for the user and for the developer?
|
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Nov 2003
Posts: 5
![]() |
Quote:
|
|
|
|
|
|
|
#5 |
|
Team-XBMC Developer
Join Date: Dec 2003
Posts: 765
![]() |
will take a look at it if no one else has...
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
#6 | |
|
Team-XBMC Project Manager
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
![]() |
Quote:
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
|
|
|
|
|
|
#7 | ||
|
Senior Member
Join Date: Oct 2003
Location: EU, Denmark, Copenhagen
Posts: 194
![]() |
Quote:
- could it mean, xbmc could have more memory free also? - could it mean, xbmc will have more cpu to do video filtering? - what could it be used for?? :) |
||
|
|
|
|
|
#8 |
|
Team-XBMC Developer
Join Date: Dec 2003
Posts: 765
![]() |
at the moment we don't have any audio processing, so this would allow XBMC to do what it currently does, but with additional audio processing on top "for free".
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Oct 2003
Location: EU, Denmark, Copenhagen
Posts: 194
![]() |
i'm all for it. i would like nothing more, if only my xbox was quieter. butcher, have you by any chance modded your xbox with a quieter fan? :-)
i'm very much into using my xbox to listen to music, if you haven't guessed this already. how will audio processing support need to be extended in xbmc? (possibly relating to xbmp experience?) in small steps? |
|
|
|
|
|
#10 |
|
Team-XBMC Developer
Join Date: Dec 2003
Posts: 765
![]() |
stock fan for me, i just turn up the speakers.
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DeFX audio plug-in module for XBMC? (is it GPL open source in C) | quetzalcoatl | XBMC Feature Suggestions | 0 | 2006-09-16 02:43 |
| No audio from analog source | Callduck | XBMC for Xbox Specific Support | 0 | 2005-01-31 20:04 |
| Great looking skin, needs to be coded | meistaiwan | Skin Development | 1 | 2005-01-27 15:46 |
| TTF-Fonts in XBMC-GUI/interface coded | bigandy | XBMC Development | 11 | 2004-08-24 15:54 |
| Audio volume control | jpsdr | XBMC for Xbox Specific Support | 0 | 2004-04-20 14:10 |