Questions about Expresso tool

26 views
Skip to first unread message

Hank Warden

unread,
Apr 7, 2020, 2:33:25 PM4/7/20
to KeyKit
Hi  Tim, I have 2 questions about Expresso:

1.  I would like to add to the autostep menu.  The autodur menu has a corresponding method that matches up with itself, however I do not see an autostep  method within the expresso file. Could it be in another file?

2.  I have been trying different .exp file combinations to find one that works best for me, and then using "print Gexpr" within the console to view which line(s) produced the result.  Is there a way to put  "print Gexpr" within the Expresso file
     so that it would print to the console each time the generate button is pressed. 

Thank you for your help

Hank

Tim Thompson

unread,
Apr 8, 2020, 10:34:50 PM4/8/20
to Hank Warden, KeyKit
>  1.  I would like to add to the autostep menu.

That would be done in the mkmenu_autostep() function in lib/wexpresso.k

> 2.  ... Is there a way to put  "print Gexpr" within the Expresso file
>    so that it would print to the console each time the generate button is pressed. 

In lib/wexpresso.k (the Expresso GUI tool), at the end of the dogen() method, you could put a "print("GEN = ",p)" statement just before the final "return(p)"

     ...Tim...

Reply all
Reply to author
Forward
0 new messages