Csound Csound-dev Csound-tekno Search About

[Csnd] Csound's Processing Capacity - Real Time Playing - I/O

Date2019-08-01 14:07
FromSlobodan Ivanovic
Subject[Csnd] Csound's Processing Capacity - Real Time Playing - I/O
Hello Csounders, I have a question about DSP on Csound. I'm a musician and I like to play live, so I'm planning to know the "limits" of real-time playing with Csound.
 
To begin with, I know it will depend on different kind of factors, some of them:
- System specifications
- Buss size?
- Csound program size (sr, kr, ksmps, opcodes to use, amount of processing, etc)
(.etc)

Currently, I have a Mac Pro with these specifications:
- 2,2 GHz Intel Core i7
- 16 GB 1600 MHz DDR3

I want to be able to play with the less latency possible, so as far as I know, it will depend on the Buss size as well (what is sample size in buss size?).

Does anybody know how I can keep control of the capacity of Csound's processing for I/O playing?
Can someone explain me with a simple example of how all of this is connected to reproduce the sound with low latency? (how computer specifications affect, the buss size, Csound's opcodes)

I'm eager to read your answers, to learn and implement them.

Thank you in advance,
Slobodan

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-08-01 14:18
Fromjoachim heintz
SubjectRe: [Csnd] Csound's Processing Capacity - Real Time Playing - I/O
hi slobodan -

just to point you to some links which may help:
http://write.flossmanuals.net/csound/d-live-audio/

and if you use csoundqt as front end:
http://csoundqt.github.io/pages/configuring-csoundqt.html

hope this helps -

	joachim



On 01/08/19 15:07, Slobodan Ivanovic wrote:
> Hello Csounders, I have a question about DSP on Csound. I'm a musician and I like to play live, so I'm planning to know the "limits" of real-time playing with Csound.
>
> To begin with, I know it will depend on different kind of factors, some of them:
> - System specifications
> - Buss size?
> - Csound program size (sr, kr, ksmps, opcodes to use, amount of processing, etc)
> (.etc)
>
> Currently, I have a Mac Pro with these specifications:
> - 2,2 GHz Intel Core i7
> - 16 GB 1600 MHz DDR3
>
> I want to be able to play with the less latency possible, so as far as I know, it will depend on the Buss size as well (what is sample size in buss size?).
>
> Does anybody know how I can keep control of the capacity of Csound's processing for I/O playing?
> Can someone explain me with a simple example of how all of this is connected to reproduce the sound with low latency? (how computer specifications affect, the buss size, Csound's opcodes)
>
> I'm eager to read your answers, to learn and implement them.
>
> Thank you in advance,
> Slobodan
>
> 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-08-01 14:38
FromSlobodan Ivanovic
SubjectRe: [Csnd] Csound's Processing Capacity - Real Time Playing - I/O
Thank you, Joachim. I read it, super, but there is something that I can't get my head around it, as is the buffer size. What does it mean "...set hardware buffer size to 512 samples and the software buffer size to 128"? The hardware buffer is my Mac's soundcard? The software buffer size is from Csound? Those numbers are like a rate? I understand sample-rate, but not buffer size.

El jue., 1 ago. 2019 a las 15:18, joachim heintz (<jh@joachimheintz.de>) escribió:
hi slobodan -

just to point you to some links which may help:
http://write.flossmanuals.net/csound/d-live-audio/

and if you use csoundqt as front end:
http://csoundqt.github.io/pages/configuring-csoundqt.html

hope this helps -

        joachim



On 01/08/19 15:07, Slobodan Ivanovic wrote:
> Hello Csounders, I have a question about DSP on Csound. I'm a musician and I like to play live, so I'm planning to know the "limits" of real-time playing with Csound.
>
> To begin with, I know it will depend on different kind of factors, some of them:
> - System specifications
> - Buss size?
> - Csound program size (sr, kr, ksmps, opcodes to use, amount of processing, etc)
> (.etc)
>
> Currently, I have a Mac Pro with these specifications:
> - 2,2 GHz Intel Core i7
> - 16 GB 1600 MHz DDR3
>
> I want to be able to play with the less latency possible, so as far as I know, it will depend on the Buss size as well (what is sample size in buss size?).
>
> Does anybody know how I can keep control of the capacity of Csound's processing for I/O playing?
> Can someone explain me with a simple example of how all of this is connected to reproduce the sound with low latency? (how computer specifications affect, the buss size, Csound's opcodes)
>
> I'm eager to read your answers, to learn and implement them.
>
> Thank you in advance,
> Slobodan
>
> 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
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-08-01 15:02
Fromjoachim heintz
SubjectRe: [Csnd] Csound's Processing Capacity - Real Time Playing - I/O
the simple answer is: both buffer sizes you set in csound.
i'd say: just try it with something like (careful with feedback)

	instr Latency_test
	aIn inch 1
	out aIn, aIn
	endin

and hear how the latency gets bigger or smaller when you change the values.


On 01/08/19 15:38, Slobodan Ivanovic wrote:
> Thank you, Joachim. I read it, super, but there is something that I
> can't get my head around it, as is the buffer size. What does it mean
> "...set hardware buffer size to 512 samples and the software buffer size
> to 128"? The hardware buffer is my Mac's soundcard? The software buffer
> size is from Csound? Those numbers are like a rate? I understand
> sample-rate, but not buffer size.
>
> El jue., 1 ago. 2019 a las 15:18, joachim heintz ( >) escribió:
>
>     hi slobodan -
>
>     just to point you to some links which may help:
>     http://write.flossmanuals.net/csound/d-live-audio/
>
>     and if you use csoundqt as front end:
>     http://csoundqt.github.io/pages/configuring-csoundqt.html
>
>     hope this helps -
>
>             joachim
>
>
>
>     On 01/08/19 15:07, Slobodan Ivanovic wrote:
>     > Hello Csounders, I have a question about DSP on Csound. I'm a
>     musician and I like to play live, so I'm planning to know the
>     "limits" of real-time playing with Csound.
>     >
>     > To begin with, I know it will depend on different kind of factors,
>     some of them:
>     > - System specifications
>     > - Buss size?
>     > - Csound program size (sr, kr, ksmps, opcodes to use, amount of
>     processing, etc)
>     > (.etc)
>     >
>     > Currently, I have a Mac Pro with these specifications:
>     > - 2,2 GHz Intel Core i7
>     > - 16 GB 1600 MHz DDR3
>     >
>     > I want to be able to play with the less latency possible, so as
>     far as I know, it will depend on the Buss size as well (what is
>     sample size in buss size?).
>     >
>     > Does anybody know how I can keep control of the capacity of
>     Csound's processing for I/O playing?
>     > Can someone explain me with a simple example of how all of this is
>     connected to reproduce the sound with low latency? (how computer
>     specifications affect, the buss size, Csound's opcodes)
>     >
>     > I'm eager to read your answers, to learn and implement them.
>     >
>     > Thank you in advance,
>     > Slobodan
>     >
>     > 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
>
> 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-08-01 15:19
FromSlobodan Ivanovic
SubjectRe: [Csnd] Csound's Processing Capacity - Real Time Playing - I/O
Super, thank you!

El jue., 1 ago. 2019 a las 16:02, joachim heintz (<jh@joachimheintz.de>) escribió:
the simple answer is: both buffer sizes you set in csound.
i'd say: just try it with something like (careful with feedback)

        instr Latency_test
        aIn inch 1
        out aIn, aIn
        endin

and hear how the latency gets bigger or smaller when you change the values.


On 01/08/19 15:38, Slobodan Ivanovic wrote:
> Thank you, Joachim. I read it, super, but there is something that I
> can't get my head around it, as is the buffer size. What does it mean
> "...set hardware buffer size to 512 samples and the software buffer size
> to 128"? The hardware buffer is my Mac's soundcard? The software buffer
> size is from Csound? Those numbers are like a rate? I understand
> sample-rate, but not buffer size.
>
> El jue., 1 ago. 2019 a las 15:18, joachim heintz (<jh@joachimheintz.de
> <mailto:jh@joachimheintz.de>>) escribió:
>
>     hi slobodan -
>
>     just to point you to some links which may help:
>     http://write.flossmanuals.net/csound/d-live-audio/
>
>     and if you use csoundqt as front end:
>     http://csoundqt.github.io/pages/configuring-csoundqt.html
>
>     hope this helps -
>
>             joachim
>
>
>
>     On 01/08/19 15:07, Slobodan Ivanovic wrote:
>     > Hello Csounders, I have a question about DSP on Csound. I'm a
>     musician and I like to play live, so I'm planning to know the
>     "limits" of real-time playing with Csound.
>     >
>     > To begin with, I know it will depend on different kind of factors,
>     some of them:
>     > - System specifications
>     > - Buss size?
>     > - Csound program size (sr, kr, ksmps, opcodes to use, amount of
>     processing, etc)
>     > (.etc)
>     >
>     > Currently, I have a Mac Pro with these specifications:
>     > - 2,2 GHz Intel Core i7
>     > - 16 GB 1600 MHz DDR3
>     >
>     > I want to be able to play with the less latency possible, so as
>     far as I know, it will depend on the Buss size as well (what is
>     sample size in buss size?).
>     >
>     > Does anybody know how I can keep control of the capacity of
>     Csound's processing for I/O playing?
>     > Can someone explain me with a simple example of how all of this is
>     connected to reproduce the sound with low latency? (how computer
>     specifications affect, the buss size, Csound's opcodes)
>     >
>     > I'm eager to read your answers, to learn and implement them.
>     >
>     > Thank you in advance,
>     > Slobodan
>     >
>     > Csound mailing list
>     > Csound@listserv.heanet.ie <mailto: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 <mailto: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
> <mailto: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
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