Nice approach, Christian!

while looking at the scripts, i thought it will be good to have something
like this, it will reduce code and make it more readable.

I see two sides here. The (hopefully complete) API that mixxx provides
(connect etc), some built-in convenience functions and the same freedom as
today to just use any valid ECMA script along with that. If more 'native'
functions will be needed (for instance, send/receive OSC), they will be
added and exposed to be used in scripts.

For the language discussion, i wonder why many are keen to get rid of
Javascript. Why? It's widely known, easy to understand and learn,
non-exotic and there is no need for very high performance low-latency
processing for switching on and off some LEDs on the controller.
Furthermore, it seems to work well and is established in mixxx. I wonder
if there's a benefit when swapping it with something else. There will be
possibly no gain in functionality (that is, how good the controller will
be mapped to the software). More importantly is to have a reasonable set
of supported controllers IMHO.

Greetings
Thomas


> Hi Juan Pedo,
>
> What you did looks pretty similar to what I published yesterday. But I
> kept the xml stuff and reduced it as much as possible and assembled a
> JavasSript library for the rest. :)
>
> http://blog.christian-hufgard.de/mixxx_midiscripting_made_easier-2013-05-23
>
>
> Christian
>
>


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to