Quantcast

Modality Icon Icontrols

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Modality Icon Icontrols

xoanxil
Hi,

I am having some problems to make to works Icon Icontrols with Modality.

I am usingn thos code:

s.boot

MKtl.find(\midi);

k = MKtl('midi_1_icon_i', 'midi_1_icon_icontrol_v1_01_port_1');

k.trace;
k.trace(false);


And the post window said:

-----------------------------------------------------

/*** Possible MKtls for MIDI devices: ***/
        // [ midi device, portname, uid]

// [ [ "iCON iControl V1.01", "Puerto 1", -262395395 ] ]
        // Unknown - Create from lookupName and explore :
MKtl('midi_1_icon_i', 'midi_1_icon_icontrol_v1_01_port_1');

// [ [ "iCON iControl V1.01", "Puerto 2", -69847246 ] ]
        // Unknown - Create from lookupName and explore :
MKtl('midi_2_icon_i', 'midi_2_icon_icontrol_v1_01_port_2');


-----------------------------------------------------
-> MKtl

MKtl('midi_1_icon_i'): To change my desc,use MKtl('midi_1_icon_i').rebuild(<desc>);
-> MKtl('midi_1_icon_i')
-> MKtl('midi_1_icon_i')


But I don´t get any feedback in the post window.

Can anyone help me with this.

Thanks in advance,

x.x
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

gilFuser
Hi xoanxil

Looking at the MKtl descriptions list, and because of the "Unknown" advised, I see that your device is still not supported, which means that you have to create the description by yourself. Follow the guide in the help system, under Modality.
There's a description for the V1.02. You could use it as an example. Take a look in downloaded-quarks/Modality-toolkit/Modality/MKtlDescriptions/icontrols.

bests,
Gil

<[hidden email]> schrieb am Sa., 13. Mai 2017 um 21:36 Uhr:
Hi,

I am having some problems to make to works Icon Icontrols with Modality.

I am usingn thos code:

s.boot

MKtl.find(\midi);

k = MKtl('midi_1_icon_i', 'midi_1_icon_icontrol_v1_01_port_1');

k.trace;
k.trace(false);


And the post window said:

-----------------------------------------------------

/*** Possible MKtls for MIDI devices: ***/
        // [ midi device, portname, uid]

// [ [ "iCON iControl V1.01", "Puerto 1", -262395395 ] ]
        // Unknown - Create from lookupName and explore :
MKtl('midi_1_icon_i', 'midi_1_icon_icontrol_v1_01_port_1');

// [ [ "iCON iControl V1.01", "Puerto 2", -69847246 ] ]
        // Unknown - Create from lookupName and explore :
MKtl('midi_2_icon_i', 'midi_2_icon_icontrol_v1_01_port_2');


-----------------------------------------------------
-> MKtl

MKtl('midi_1_icon_i'): To change my desc,use
MKtl('midi_1_icon_i').rebuild(<desc>);
-> MKtl('midi_1_icon_i')
-> MKtl('midi_1_icon_i')


But I don´t get any feedback in the post window.

Can anyone help me with this.

Thanks in advance,

x.x




--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Modality-Icon-Icontrols-tp7632343.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

xoanxil
Thank you very much Gil,

I will try this way.

All the best,

x.x.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

alberto.decampo
hi,

maybe there is not so much difference between V 1.01 which you have,
 and V 1.02 which already exists as a desc file? V 1.02 and 2.00 are actually identical.

Please try this:

* Open the MKtlDescriptions folder with
MKtlDesc.openFolder;

* Put two attached files into MKtlDescriptions/icontrols/

* Then evaluate:
MKtlDesc.loadDescs;
MKtlDesc.writeCache;

* recompile the the class library ...

* then try to make the two MKtls,
* and see if all their elements are there:

// midi
MKtl(\iconM, "icon-icontrols-101");
MKtl(\iconM).gui;

// hid - the joystick
MKtl(\iconH, "icon-icontrols-101-hid");
MKtl(\iconH).gui;

best adc


 

> On 14/05/2017, at 13:39 , [hidden email] wrote:
>
> Thank you very much Gil,
>
> I will try this way.
>
> All the best,
>
> x.x.
>
>
>
> --
> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Modality-Icon-Icontrols-tp7632343p7632358.html
> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


icon-icontrols-101-hid.desc.scd (1K) Download Attachment
icon-icontrols-101.desc.scd (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

xoanxil
Thanks for your answer Alberto,

It is weird, after put the files and evaluate

MKtlDesc.loadDescs;
MKtlDesc.writeCache;

It said:

WARNING:  MKtlDesc.at('icon-icontrols-101') is missing 'midiMsgType' entry for List[ bt_1_0, bt_1_1, bt_1_2, bt_1_3, bt_1_4, bt_1_5, bt_1_6, bt_1_7, bt_1_8, bt_2_0, bt_2_1, bt_2_2, bt_2_3, bt_2_4, bt_2_5, bt_2_6, bt_2_7, bt_2_8, tr_rew, tr_play, tr_fwd, tr_cycle, tr_stop, tr_rec ].

Some idea what is happening?

Thanks in advance,

x.x
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

xoanxil
Finally I made some changes in Icontrols 1.02 and it works. This is the file I am using.

icon-icontrols-101.scd
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

lfsaw
Dear x.x,

great you got it working!

In order for others to profit from your findings, would you mind if we include it to the Modality repository?

You can either add a pull request here:

        https://github.com/ModalityTeam/Modality-toolkit/pulls

or let us do it for you. Either way is fine.


Happy twiddling!
:)
        Till





> On 16. May 2017, at 00:32, [hidden email] wrote:
>
> Finally I made some changes in Icontrols 1.02 and it works. This is the file
> I am using.
>
> icon-icontrols-101.scd
> <http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/file/n7632403/icon-icontrols-101.scd>  
>
>
>
> --
> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Modality-Icon-Icontrols-tp7632343p7632403.html
> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

xoanxil
Of course Till,

Feel free.

I really didn´t do too much. I only changed some reference and the midinumber for sliders and it worked.

Cheers!

x.x
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Modality Icon Icontrols

lfsaw
I added it to the Modality-toolkit library ( bd237ddb64236110152d6120a2201f2050e35ad7 ).

        https://github.com/ModalityTeam/Modality-toolkit/commit/bd237ddb64236110152d6120a2201f2050e35ad7

Thanks!

        Till

> On 20. May 2017, at 19:28, [hidden email] wrote:
>
> Of course Till,
>
> Feel free.
>
> I really didn´t do too much. I only changed some reference and the
> midinumber for sliders and it worked.
>
> Cheers!
>
> x.x
>
>
>
> --
> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Modality-Icon-Icontrols-tp7632343p7632487.html
> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Loading...