ACCEPTED: Creating cross-platform room correction for Kodi
#31
in combination with retroplayer/gameplayer it would be cool to have something like a "sing star" game with mic support Smile
Reply
#32
Updated the first post with the code

https://github.com/AchimTuran/adsp.xconv...its/master
Reply
#33
I've updated the first post with a link to my GSoC documentation.

For further development I will open a new thread and inform anyone here with the link.
Latest news about AudioDSP and my libraries is available on Twitter.

Developers can follow me on Github.
Reply
#34
Wow, this is a thrilling project. Really outstanding. That said, htpc multi speaker room correction is a huge challenge, both in terms of time alignment and frequency correction.

Renne mentioned REW, and you're probably familiar with the following projects, driven by knowledgeable audio engineers, several of whom have published research papers in the field and who embrace open source technology:

Denis Sbragion's open source http://drc-fir.sourceforge.net/
PORC, https://github.com/zzzzrrr/porc
Alan Jordan's http://www.alanjordan.org/DRCDesigner/HelpFrameset.html.
Anders Torger's BruteFIR convolution and filters software http://www.ludd.luth.se/~torger/brutefir.html; http://www.ludd.ltu.se/~torger/almusvcu.html
Lastly there's Ralph Glasgal's ambiophonics project. With the objective to recreate live sound as closely as possible he's created free software that could be used in a home cinema set up, and could be interesting also in your project. He's willing to share both knowledge and technology because he's on a mission with 4 and 6 channel audio from 2 or 5.1 or 7.1 source material. : http://www.ambiophonics.org and free software http://www.ambiophonics.org/PCMac.html and http://stackingdwarves.net/public_stuff/...ftware.pdf
Reply
#35
Would it be possible to use an android phone hooked up via bluetooth as the microphone?
Reply
#36
(2016-01-27, 03:30)magnumopus Wrote: Would it be possible to use an android phone hooked up via bluetooth as the microphone?

That's currently hard to say, bacause I didn't use a bluettoth connection until now for measuring. But I doubt that this approach will create good results, because the mobile phone microphones are not very good. You should use a high quality microphone and a good sound card.

If the phone could manage to register his microphone input as a generic device at the host operating system from Kodi. Then it would be possible with PortAudio, which is what I used for this GSoC project.
Latest news about AudioDSP and my libraries is available on Twitter.

Developers can follow me on Github.
Reply
#37
(2016-01-27, 03:30)magnumopus Wrote: Would it be possible to use an android phone hooked up via bluetooth as the microphone?
As wisler said, inaccuracy - especially from hardware - would be too high. On Android you can get the most accurate results via "AudioTool" which allows to use a calibrated Dayton Audio iMM-6 microphone. But even after calibration, as described by the software developer, the phone's hardware will cause inaccuracies and these may vary significantly from device to device.

To get accurate results you really need good measurement hardware and software!

Regarding Bluetooth, one would probably need to dig deeper, e.g., into the proprietary "aptX" (Lossless - and its latency) to ensure it is suitable for measurements...
Reply
#38
(2016-02-05, 11:30)detlev24 Wrote:
(2016-01-27, 03:30)magnumopus Wrote: Would it be possible to use an android phone hooked up via bluetooth as the microphone?
As wisler said, inaccuracy - especially from hardware - would be too high. On Android you can get the most accurate results via "AudioTool" which allows to use a calibrated Dayton Audio iMM-6 microphone. But even after calibration, as described by the software developer, the phone's hardware will cause inaccuracies and these may vary significantly from device to device.

To get accurate results you really need good measurement hardware and software!

Regarding Bluetooth, one would probably need to dig deeper, e.g., into the proprietary "aptX" (Lossless - and its latency) to ensure it is suitable for measurements...

I agree this would probably be a problem. However, if you were to use bluetooth/wifi to trigger audio on the host, instead of actually sending the audio data from the phone, some of the issues (such as distortion caused by the compression) will be solved. The microphone on a mobile phone is still not good enough for accurate measurements, but things like relative volume, delays between channels and rough frequency response, could probably be measured with enoughaccuracy.
Reply
#39
(2016-02-05, 13:36)leonpierresusan Wrote: [...] but things like relative volume, delays between channels and rough frequency response, could probably be measured with enoughaccuracy.

Well, have a look at "Smartphone als Schallpegelmesser" from Swiss Federal Office for the Environment - unfortunately, mainly in German (summary in English) but with many pictures. Wink
Reply
#40
Will this be released anytime? I have a Logitech z906 without room correction. Would be nice to have it in kodiSmile

But how does it work with pass through sound which is decoded by my Logitech ? Will it work ? Or is it necessary that my raspberry pi 2 decode dts/ac3 and send it as pcm or something like this. Does the Logitech recognize pcm as 5.1? Or does it work via toslink?
Reply
#41
The necessary infrastructure in core to support binary ADSP add-ons has been included in Kodi 16.

Quote:Other Important Changes:
• Start of integration of ADSP (Audio Digital Signal Processing) handling (no add-ons shipped yet)
Reply
#42
A giant step for KODI, the day when a computer will be the center of home theater, and no AVR will be necessary. No other equipment will be necessary either. All digital via PC
I m sure many more are waiting for that day, hopefully very very soon Smile
Thank you guys for your work
Reply
#43
Smile 
Hoping that this soon ADSP XConvolver for Windows 10 Shy
Reply
#44
(2016-04-04, 20:07)hemiutut Wrote: Hoping that this soon ADSP XConvolver for Windows 10 Shy

/push

would love to see the whole project on raspberry pi
Reply

Logout Mark Read Team Forum Stats Members Help
ACCEPTED: Creating cross-platform room correction for Kodi3