Csound Csound-dev Csound-tekno Search About

[Csnd] Csound Pisound and Raspberry Pi 3

Date2019-04-04 10:25
Frommattia bonafini
Subject[Csnd] Csound Pisound and Raspberry Pi 3
Good Morning everyone
I am trying to launch Csoundqt with relative *.csd file from a raspberry pi
3 which is connected to a pisound audio interface. If I run the program
manually, everything works as expected.

I am running the PATCHBOX OS based on Debian, which comes from the same
company:
http://blokas.io   

Pisound has a "button" which can be used to launch a software with no mouse,
no keyboard and no monitor.
https://blokas.io/pisound/docs/the-button/#start_puredatash-start-a-pure-data-patch
  

In the link the information for the same function for pure data.
How would I retrieve the necessary information to write a correct .sh file
for Csoundqt?
Has any of you already tried this before?
Many thanks in advance.
Best regards
Mattia Bonafini




--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-04-04 10:51
FromTarmo Johannes
SubjectRe: [Csnd] Csound Pisound and Raspberry Pi 3
Hi,

First of all -  if you don't use mouse and keyboard (ie the user interface), 
do you need to have CsoundQt around your csd at all? Perhaps Csound from 
command line is better solution?

Do I undertstand correctly that a physical button starts a .sh-script where 
you can put what you need? like

csound yourfile.csd 


If you do need to use CsoundQt, it is possible:
- check "Autoplay files"  in Configure->Editor in CsoundQt 
- put something like
csoundqt yourfile.csd 
to the script launched on button press.


tarmo


On Thursday, April 4, 2019 12:25:59 PM EEST you wrote:
> Good Morning everyone
> I am trying to launch Csoundqt with relative *.csd file from a raspberry pi
> 3 which is connected to a pisound audio interface. If I run the program
> manually, everything works as expected.
> 
> I am running the PATCHBOX OS based on Debian, which comes from the same
> company:
> http://blokas.io 
> 
> Pisound has a "button" which can be used to launch a software with no mouse,
> no keyboard and no monitor.
> https://blokas.io/pisound/docs/the-button/#start_puredatash-start-a-pure-dat
> a-patch
>  ata-patch>
> 
> In the link the information for the same function for pure data.
> How would I retrieve the necessary information to write a correct .sh file
> for Csoundqt?
> Has any of you already tried this before?
> Many thanks in advance.
> Best regards
> Mattia Bonafini
> 
> 
> 
> 
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-04-04 10:59
Frommattia bonafini
SubjectRe: [Csnd] Csound Pisound and Raspberry Pi 3
Hi Tarmo
Many thanks for your super fast answer ...

Yes, I could be using Csound instead of CsoundQT, I will try that too!

Yes, there is a physical button: you can assign different functions to it
and one of these is to trigger a script. I will try your solution and report
my results.

Just one more question: is Csound reading the csd file or does it need to be
one orchestra file and one score file?

Many thanks again.
Mattia



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-04-04 11:16
FromTarmo Johannes
SubjectRe: [Csnd] Csound Pisound and Raspberry Pi 3
Just csd is fine, it was old day when you need them separate (but this works, too, if you need).

tarmo

On Thu, Apr 4, 2019 at 12:59 PM, mattia bonafini <nuance.us@gmail.com> wrote:
Hi Tarmo Many thanks for your super fast answer ... Yes, I could be using Csound instead of CsoundQT, I will try that too! Yes, there is a physical button: you can assign different functions to it and one of these is to trigger a script. I will try your solution and report my results. Just one more question: is Csound reading the csd file or does it need to be one orchestra file and one score file? Many thanks again. Mattia -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here