Re: [Mixxx-devel] Controller Questions

2018-07-07 Thread Thomas Brand

Hi Uwe,

thanks for the pointers!

"Good" to hear that you can confirm the loop_in/out issue so that it's not
a local thing to happen.

I'll check out Zulip,
thanks again!

Thomas

On Sat, July 7, 2018 10:13, Uwe Klotz wrote:
> Welcome, Thomas. Discussions now take place on Zulip:
>
>
> https://mixxx.zulipchat.com/
>
>
> I suggest to ask your valid questions there again.
>
>
> Since I don't consider myself a controller mapping pro, please don't take
> my following remarks (see below) too serious.
>
> Kind regards,
>
>
> Uwe
>
>
> On 05.07.2018 19:40, Thomas Brand wrote:
>
>> Hi *,
>>
>>
>> while revamping an old Mixxx controller map some questions popped up
>> where I didn't find an online hint:
>>
>>
>> -How can I read the current playhead position (in samples) from a
>> script? (the current work-around is to set an unused hotcue, read it's
>> position and clear it again)
> track_samples * playposition? This should give sufficiently precise
> results. Please note that the number of samples depends on the number of
> channels.
>
>> -How can I toggle the loop totally independent of anything else?
>> For instance activating the loop *without* the playhead jumping to loop
>> start.
> I understand that reloop_toggle with its asymmetric behavior seems
> inappropriate for this purpose.
>
>> -How can I play a specific range "one-shot" style?
>> For instance play the loop range only once. I was looking for a method
>> that is similar to play_n_samples() from current position.
> That sounds more like a use case for the samplers rather than looping?
>
>
>> Last question: looking at deprecated methods, for
>> SelectNextPlaylist / SelectPrevPlaylist and SelectNextTrack /
>> SelectPrevTrack:
>> The syntax is exactly the same [Playlist] binary [Library] MoveDown /
>> MoveUp.
>> I understand that these methods are context-sensitive and there is a
>> method to move focus like with TAB. However if user clicks in UI
>> anything, how could i set the focus directly to for instance the
>> tracklist?
> This functionality seems to be missing. Please search Launchpad for a
> similar bug report, feature request, or feel free to create a new one.
>> Note: I had issues with loop_in / loop_out, roughly speaking the loop
>> handles were wandering along with the playhead sometimes.
> This might be related to the press-and-hold mode of the loop_in/loop_out
> controls. You need  to handle the corresponding button release events or
> manually set their values to 0/false when using the designated buttons in
>  combination with modifiers like Shift.
>
> I had (and still have) issues with loop_out not being recognized reliably
> by Mixxx even though the control's value is set correctly:
> https://bugs.launchpad.net/mixxx/+bug/1771368
>
>
>> I'm testing this with the mixxx-release-2.1.1.tar.gz tarball.
>>
>>
>> Any help is appreciated,
>> greetings
>>
>> Thomas
>>
>>
>>
>>
>> ---
>> ---
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> 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
>>
>>
>
>
> -
> -
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

Re: [Mixxx-devel] Controller Questions

2018-07-07 Thread Uwe Klotz

Welcome, Thomas. Discussions now take place on Zulip:

https://mixxx.zulipchat.com/

I suggest to ask your valid questions there again.

Since I don't consider myself a controller mapping pro, please don't take my 
following remarks (see below) too serious.


Kind regards,

Uwe

On 05.07.2018 19:40, Thomas Brand wrote:

Hi *,

while revamping an old Mixxx controller map some questions popped up where
I didn't find an online hint:

-How can I read the current playhead position (in samples) from a script?
(the current work-around is to set an unused hotcue, read it's position
and clear it again)
track_samples * playposition? This should give sufficiently precise results. 
Please note that the number of samples depends on the number of channels.



-How can I toggle the loop totally independent of anything else?
For instance activating the loop *without* the playhead jumping to loop
start.
I understand that reloop_toggle with its asymmetric behavior seems 
inappropriate for this purpose.



-How can I play a specific range "one-shot" style?
For instance play the loop range only once. I was looking for a method
that is similar to play_n_samples() from current position.

That sounds more like a use case for the samplers rather than looping?


Last question: looking at deprecated methods, for
SelectNextPlaylist / SelectPrevPlaylist and SelectNextTrack /
SelectPrevTrack:
The syntax is exactly the same [Playlist] binary [Library] MoveDown / MoveUp.
I understand that these methods are context-sensitive and there is a
method to move focus like with TAB.
However if user clicks in UI anything, how could i set the focus directly
to for instance the tracklist?
This functionality seems to be missing. Please search Launchpad for a 
similar bug report, feature request, or feel free to create a new one.

Note: I had issues with loop_in / loop_out, roughly speaking the loop
handles were wandering along with the playhead sometimes.
This might be related to the press-and-hold mode of the loop_in/loop_out 
controls. You need  to handle the corresponding button release events or 
manually set their values to 0/false when using the designated buttons in 
combination with modifiers like Shift.


I had (and still have) issues with loop_out not being recognized reliably by 
Mixxx even though the control's value is set correctly:

https://bugs.launchpad.net/mixxx/+bug/1771368


I'm testing this with the mixxx-release-2.1.1.tar.gz tarball.

Any help is appreciated,
greetings

Thomas



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

[Mixxx-devel] Controller Questions

2018-07-05 Thread Thomas Brand
Hi *,

while revamping an old Mixxx controller map some questions popped up where
I didn't find an online hint:

-How can I read the current playhead position (in samples) from a script?
(the current work-around is to set an unused hotcue, read it's position
and clear it again)

-How can I toggle the loop totally independent of anything else?
For instance activating the loop *without* the playhead jumping to loop
start.

-How can I play a specific range "one-shot" style?
For instance play the loop range only once. I was looking for a method
that is similar to play_n_samples() from current position.

Last question: looking at deprecated methods, for
SelectNextPlaylist / SelectPrevPlaylist and SelectNextTrack /
SelectPrevTrack:
The syntax is exactly the same [Playlist] binary [Library] MoveDown / MoveUp.
I understand that these methods are context-sensitive and there is a
method to move focus like with TAB.
However if user clicks in UI anything, how could i set the focus directly
to for instance the tracklist?

Note: I had issues with loop_in / loop_out, roughly speaking the loop
handles were wandering along with the playhead sometimes.
I'm testing this with the mixxx-release-2.1.1.tar.gz tarball.

Any help is appreciated,
greetings

Thomas



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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