Hi, 1) I want to pass the self into the callback because self mean the ring. There are all sector in this ring and when I want to toggle a sector, I have to update it with a method contained into the self object.
self -> ring -> sectors -> method on//off 2) The keyboard key. The rt-midi port.setcallback() method is called two times: when you hit the piano keyboard and when you release it. Basically, I want to play a note on the piano keyboard and then toggle it with my ring. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.