Gpios comunicacion


#1

Hi all, is there some form of communication between keys (GPIOS) and sonic pi without being midi, ie directly through the gpio of digital inputs of a raspberry pi.Grateful


#2

Have a look at this article.


#3

thank robin, sam could release source code for programmers to develop api that does this work of interaction with external gpios for a sound library of pi.


#4

The source code of Sonic Pi is fully available already for deveolopers to make use of. However I think the support that Sonic Pi has for OSC communications means that it is not difficult to interface it to the GPIO pins. You can use python scripts and the GPIOZERO library to do this very easily, and adding the python-osc library makes it easy to interface this to Sonic Pi via OSC messages. The link I gave above shows examples of this.

Sam is restricted at the moment as to the support he can give to Sonic Pi development, as he needs further funding to support this. Supporting him through his patreon site will help to achieve this.


#5

ok Robin,thanks very much, GOD BLESS YOU


#6

Dear Robin,I would like something similar to the block diagram


#7

Sorry for the wrong English, I’m Brazilian and I do not speak English, I thank all of the forum


#8

Bem Vindo para o Forum, cara!


#9

Thanks very much friends . Muito Obrigado Amigo