Hi Leandro,
The correct control names are : 'loop_start_position' and
'loop_end_position'. The wiki is wrong and I just updated it to be correct.
Sorry!
RJ
On Wed, Oct 6, 2010 at 12:03 PM, Leandro Leal Parente <
[email protected]> wrote:
> Hi guys,
>
> when I tried use this code:
>
> *BehringerBCD3000.loopInHack = function(group) {
> var inPosition = engine.getValue(group,'loop_in_position')
>
> var outPosition = engine.getValue(group,'loop_out_position')
>
> var newInPosition = ( outPosition - inPosition ) / 2
>
> engine.setValue(group,'loop_in_position',newInPosition)
>
> if (BehringerBCD3000.debug) print('loop_in_position:' + inPosition + '
> loop_out_position: ' + outPosition)
> if (BehringerBCD3000.debug) print('new loop_in_position:' +
> newInPosition)
> }*
>
> I got this error:
>
> Debug: [MidiScriptEngine 11]: ControlObject::getControl returning NULL for
> ( "[Channel1]" , "loop_in_position" )
> Warning: [MidiScriptEngine 11]: MidiScriptEngine: Unknown control
> "[Channel1]" "loop_in_position"
> Debug: [MidiScriptEngine 11]: ControlObject::getControl returning NULL for
> ( "[Channel1]" , "loop_out_position" )
> Warning: [MidiScriptEngine 11]: MidiScriptEngine: Unknown control
> "[Channel1]" "loop_out_position"
> Debug: [MidiScriptEngine 11]: ControlObject::getControl returning NULL for
> ( "[Channel1]" , "loop_in_position" )
>
>
> The loop_in_position and loop_out_position is implemented ? Or my code is
> wrong.
>
> Thanks,
> Leandro Leal Parente
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel