<br><br><div class="gmail_quote">On Tue, Mar 3, 2009 at 4:00 PM, Ian Monroe <span dir="ltr"><<a href="mailto:ian.monroe@gmail.com">ian.monroe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Mar 3, 2009 at 3:29 AM, Ricard Marxer Piñón<br>
<<a href="mailto:email@ricardmarxer.com">email@ricardmarxer.com</a>> wrote:<br>
><br>
><br>
> - Show quoted text -<br>
<div class="im">> On Sat, Feb 28, 2009 at 6:12 PM, Michael Pyne <<a href="mailto:mpyne@purinchu.net">mpyne@purinchu.net</a>> wrote:<br>
>><br>
>> On Saturday 28 February 2009, Ricard Marxer Piñón wrote:<br>
>> > The main idea is to make audio visualizations (using Phonon to access<br>
>> > audio<br>
>> > data) for Amarok 2 similarly as what was available in Amarok 1.x.  Most<br>
>> > visualizations there were spectral based and we would then need some<br>
>> > processing of each audio frame to be able to this.<br>
>> ><br>
>> > Option A means doing the processing outside of the Phonon backends<br>
>> > (personally I would choose FFTW and Eigen to do this processing).<br>
>> > <snip><br>
>><br>
>> I like Option A since it doesn't add much in the way of external<br>
>> dependencies<br>
>> to Phonon.  Option B seems to do better at making the functionality to all<br>
>> Phonon users though.  Maybe just have a very thin plugin interface that<br>
>> Phonon<br>
>> could use to list visualization plugins with the application being<br>
>> responsible<br>
>> to host the plugin?<br>
><br>
> Hi, and thanks for the reply.<br>
><br>
> I agree that to let Phonon be as lightweight as possible these sort of<br>
> plugins should be hosted by the application.<br>
<br>
</div>Though the basic analyzer, intensity of sound at various frequencies<br>
should be pretty trivial. You don't need FFT for that.</blockquote><div><br>Hm... yes, it could be done with a time domain filterbank but I think this would be more cumbersome (depending on the frequency resolution it could even be more computationally expensive) and FFT is not that heavy.  But I can easily make both and check, that wouldn't be a problem (I actually already have some code for each of these, will clean it up and see).<br>
<br>Anyway, I think an AudioSpectrumOutput class could be of general interest and very useful for visualization purposes.  Furthermore with only a few easy to understand parameters (number of bands (frequencies), intensity scale (log vs linear)) it could be very useful for all the people planning to do the content base audio analysis (I'm thinkning of all the GSOC proposals about intelligent playlists in Amarok).<br>
<br>We can later decide where this class would fit depending on it's usefulness, weight, computational cost and of course implementation quality.<br><br>I will write up a draft proposal this week which will include:<br>
 - AudioSpectrumOutput class which could at some point end up in Phonon<br> - A visualization for amarok which will use that class<br> - And a plasma applet wrapping ProjectM which will use AudioDataOutput class from Phonon::Experimental<br>
<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
> By the way, am I on the wrong list? Ian told me about a list called<br>
> phonon-devel but I haven't found that one and the Phonon site directed me<br>
> here.<br>
<br>
</div>I really did say phonon-backends, not phonon-devel, I just checked. ;)</blockquote><div><br>doh! sorry for that.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font color="#888888"><br>
Ian<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
kde-multimedia mailing list<br>
<a href="mailto:kde-multimedia@kde.org">kde-multimedia@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-multimedia" target="_blank">https://mail.kde.org/mailman/listinfo/kde-multimedia</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>ricard<br><a href="http://www.ricardmarxer.com">http://www.ricardmarxer.com</a><br><a href="http://www.caligraft.com">http://www.caligraft.com</a><br>