Csound Csound-dev Csound-tekno Search About

wrong -b size

Date2016-01-05 16:18
FromStefan Thomas
Subjectwrong -b size
Dear community,
running a certain cdf file I get the message
ALSA: -b 1024 not allowed on this device; using 682 instead
What does it mean and why do I get this message?
I have in the options:
-+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d

I would be thankful for an advice.
Best,
Stefan
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

Date2016-01-05 16:20
FromStefan Thomas
SubjectRe: wrong -b size
Sorry, there has been a mistake. The command line options have been off course:
-+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d

2016-01-05 17:18 GMT+01:00 Stefan Thomas <kontrapunktstefan@gmail.com>:
Dear community,
running a certain cdf file I get the message
ALSA: -b 1024 not allowed on this device; using 682 instead
What does it mean and why do I get this message?
I have in the options:
-+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d

I would be thankful for an advice.
Best,
Stefan

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

Date2016-01-05 16:34
FromVictor Lazzarini
SubjectRe: wrong -b size
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 5 Jan 2016, at 16:18, Stefan Thomas  wrote:
> 
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d 
> 
> I would be thankful for an advice.
> Best,
> Stefan
> 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

Date2016-01-05 16:35
FromAnders Genell
SubjectRe: wrong -b size
It is most likely due to that that the plughw:USB-device is using a dmix slave device, which might mess up buffer sizes. 

Read the section about dmix at
for further explanation. 

Regards,
Anders

5 jan. 2016 kl. 17:20 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, there has been a mistake. The command line options have been off course:
-+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d

2016-01-05 17:18 GMT+01:00 Stefan Thomas <kontrapunktstefan@gmail.com>:
Dear community,
running a certain cdf file I get the message
ALSA: -b 1024 not allowed on this device; using 682 instead
What does it mean and why do I get this message?
I have in the options:
-+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d

I would be thankful for an advice.
Best,
Stefan

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

Date2016-01-05 16:37
FromStefan Thomas
SubjectRe: wrong -b size
Thanks, it seems to work!

2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

Date2016-01-05 16:55
FromStefan Thomas
SubjectRe: wrong -b size
Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

Date2016-01-05 17:03
FromAnders Genell
SubjectRe: wrong -b size
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

Date2016-01-05 17:07
FromStefan Thomas
SubjectRe: wrong -b size
44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 17:13
FromVictor Lazzarini
SubjectRe: wrong -b size
What devices do you have? Try to find their number.

You can try

csound --list-devices

but I am not sure it works in alsa

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Jan 2016, at 17:07, Stefan Thomas <kontrapunktstefan@GMAIL.COM> wrote:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 17:15
FromAnders Genell
SubjectRe: wrong -b size
Well, that should be fine...

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 17:18
FromStefan Thomas
SubjectRe: wrong -b size
My output of csound --list-devices:
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.02.0 (double samples) Jan 25 2014
libsndfile-1.0.25
unknown long option: '--list-devices'


2016-01-05 18:13 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
What devices do you have? Try to find their number.

You can try

csound --list-devices

but I am not sure it works in alsa

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 5 Jan 2016, at 17:07, Stefan Thomas <kontrapunktstefan@GMAIL.COM> wrote:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 17:19
FromAnders Genell
SubjectRe: wrong -b size
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 17:21
FromStefan Thomas
SubjectRe: wrong -b size
I am a member of the audio group, but I will try it as root as well.

2016-01-05 18:19 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 18:03
Fromjpff
SubjectRe: wrong -b size
version 6.02?  That is old and before --list-devices
==John ff

On Tue, 5 Jan 2016, Stefan Thomas wrote:

> My output of csound --list-devices:
>       virtual_keyboard real time MIDI plugin for Csound
>       0dBFS level = 32768.0
>       Csound version 6.02.0 (double samples) Jan 25 2014
>       libsndfile-1.0.25
>       unknown long option: '--list-devices'
> 
> 
> 
> 2016-01-05 18:13 GMT+01:00 Victor Lazzarini :
>       What devices do you have? Try to find their number.
> 
> You can try
> 
> csound --list-devices
> 
> but I am not sure it works in alsa
> 
> Victor LazzariniDean of Arts, Celtic Studies, and Philosophy
> Maynooth University
> Ireland
> 
> On 5 Jan 2016, at 17:07, Stefan Thomas 
> wrote:
>
>       44100
> 
> 2016-01-05 18:03 GMT+01:00 Anders Genell
> :
> What sample rate does your csd file have?
> 
> 5 jan. 2016 kl. 17:55 skrev Stefan Thomas
> :
>
>       Sorry, I was to early with my answer, maybee I
>       didn't save the file.
> At the moment, nothing works.
> My flags are now
>       -+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa
>       -Ma   -m0d  -B 2048 -b 1024 -d
> 
> and I get:
>       *** Cannot open device 'hw:1,0' for audio
>       output: No such file or directory
> 
> The problem remains if I change -o dac:hw:1,0 to -o
> dac:hw:0,0
> The output of cat /proc/asound/cards is:
>       0 [USB            ]: USB-Audio - Scarlett
>       2i4 USB
>                             Focusrite Scarlett
>       2i4 USB at usb-0000:00:1d.0-1.3.3.3, high
>       speed
>        1 [U88es          ]: USB-Audio - USB
>       Keystation 88es
>                             M-Audio USB
>       Keystation 88es at usb-0000:00:14.0-1,
>       full speed
>        2 [HDMI           ]: HDA-Intel - HDA
>       Intel HDMI
>                             HDA Intel HDMI at
>       0xf7a14000 irq 61
>        3 [PCH            ]: HDA-Intel - HDA
>       Intel PCH
>                             HDA Intel PCH at
>       0xf7a10000 irq 62
> 
> 
> 
> 
> 
> 2016-01-05 17:34 GMT+01:00 Victor Lazzarini
> :
>       Try using hw:N,M instead of plughw:.. to
>       select the device (I often found these
>       kinds of issues with plughw)
>
>       ========================
>       Dr Victor Lazzarini
>       Dean of Arts, Celtic Studies and
>       Philosophy,
>       Maynooth University,
>       Maynooth, Co Kildare, Ireland
>       Tel: 00 353 7086936
>       Fax: 00 353 1 7086952
>
>       > On 5 Jan 2016, at 16:18, Stefan Thomas
>        wrote:
>       >
>       > Dear community,
>       > running a certain cdf file I get the
>       message
>       > ALSA: -b 1024 not allowed on this
>       device; using 682 instead
>       > What does it mean and why do I get this
>       message?
>       > I have in the options:
>       > -+rtaudio=alsa  -o dac:plughw:USB  -odac
>       -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682
>       -d
>       >
>       > I would be thankful for an advice.
>       > Best,
>       > Stefan
> > 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
> 
> 
> 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

Date2016-01-05 21:01
FromStefan Thomas
SubjectRe: wrong -b size
Hi, if I run the file as root, it works fine. I also had the problem, that -after about 20 minutes- the sound comes out distorted.
This seems also to disappear when I run the file with the sudo command.
So it seems to be a problem with the privilegs, I guess.
Do I have to be a member in other groups than audio?

2016-01-05 18:19 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-05 21:09
FromAnders Genell
SubjectRe: wrong -b size
You really shouldn't need to be member of any other groups than audio to access the audio system, as far as I know...

What Linux version/system are you using?

5 jan. 2016 kl. 22:01 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Hi, if I run the file as root, it works fine. I also had the problem, that -after about 20 minutes- the sound comes out distorted.
This seems also to disappear when I run the file with the sudo command.
So it seems to be a problem with the privilegs, I guess.
Do I have to be a member in other groups than audio?

2016-01-05 18:19 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

Date2016-01-07 18:03
FromStefan Thomas
SubjectRe: wrong -b size
I'm using xubuntu 14.4.

2016-01-05 22:09 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
You really shouldn't need to be member of any other groups than audio to access the audio system, as far as I know...

What Linux version/system are you using?

5 jan. 2016 kl. 22:01 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Hi, if I run the file as root, it works fine. I also had the problem, that -after about 20 minutes- the sound comes out distorted.
This seems also to disappear when I run the file with the sudo command.
So it seems to be a problem with the privilegs, I guess.
Do I have to be a member in other groups than audio?

2016-01-05 18:19 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

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

Date2016-01-07 21:21
FromAnders Genell
SubjectRe: wrong -b size
If I'm not mistaken, xubuntu started using pulse audio as default sound daemon a while back. While convenient for have audio working well by default for many applications, I find it less suitable for what might be considered professional work, so I use distributions that does not include it by default. 

I believe pulse audio might hog the audio resources for normal users (i.e. not root) in your system. The default alsa device is in that case likely an alias pointing to pulse, which would explain difficulties in setting buffer sizes through alsa. 
You can either try to remedy that by using pulse audio for csound (-+rtaudio=pulse), though I don't know how feasible it would be trying to set buffer sizes, or you could opt for removing pulse audio entirely if you do not depend on it for other software. 

Regards,
Anders

7 jan. 2016 kl. 19:03 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

I'm using xubuntu 14.4.

2016-01-05 22:09 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
You really shouldn't need to be member of any other groups than audio to access the audio system, as far as I know...

What Linux version/system are you using?

5 jan. 2016 kl. 22:01 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Hi, if I run the file as root, it works fine. I also had the problem, that -after about 20 minutes- the sound comes out distorted.
This seems also to disappear when I run the file with the sudo command.
So it seems to be a problem with the privilegs, I guess.
Do I have to be a member in other groups than audio?

2016-01-05 18:19 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

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

Date2016-01-07 21:24
FromJustin Smith
SubjectRe: wrong -b size
You can make pulse use jack as its backend, and then connect to jack with csound. This way both pulse and csound are using jack. Once this is set up it works nicely.

On Thu, Jan 7, 2016 at 1:21 PM Anders Genell <anders.genell@gmail.com> wrote:
If I'm not mistaken, xubuntu started using pulse audio as default sound daemon a while back. While convenient for have audio working well by default for many applications, I find it less suitable for what might be considered professional work, so I use distributions that does not include it by default. 

I believe pulse audio might hog the audio resources for normal users (i.e. not root) in your system. The default alsa device is in that case likely an alias pointing to pulse, which would explain difficulties in setting buffer sizes through alsa. 
You can either try to remedy that by using pulse audio for csound (-+rtaudio=pulse), though I don't know how feasible it would be trying to set buffer sizes, or you could opt for removing pulse audio entirely if you do not depend on it for other software. 

Regards,
Anders

7 jan. 2016 kl. 19:03 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

I'm using xubuntu 14.4.

2016-01-05 22:09 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
You really shouldn't need to be member of any other groups than audio to access the audio system, as far as I know...

What Linux version/system are you using?

5 jan. 2016 kl. 22:01 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Hi, if I run the file as root, it works fine. I also had the problem, that -after about 20 minutes- the sound comes out distorted.
This seems also to disappear when I run the file with the sudo command.
So it seems to be a problem with the privilegs, I guess.
Do I have to be a member in other groups than audio?

2016-01-05 18:19 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
Is the user that starts the csound process member of the audio group?
You might try running csound as root. If that works it is likely a problem with privileges. 

Regards,
Anders

5 jan. 2016 kl. 18:07 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

44100

2016-01-05 18:03 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
What sample rate does your csd file have?

5 jan. 2016 kl. 17:55 skrev Stefan Thomas <kontrapunktstefan@GMAIL.COM>:

Sorry, I was to early with my answer, maybee I didn't save the file.
At the moment, nothing works.
My flags are now
-+rtaudio=alsa -o dac:hw:1,0 -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 1024 -d
and I get:
*** Cannot open device 'hw:1,0' for audio output: No such file or directory
The problem remains if I change -o dac:hw:1,0 to -o dac:hw:0,0
The output of cat /proc/asound/cards is:
0 [USB            ]: USB-Audio - Scarlett 2i4 USB
                      Focusrite Scarlett 2i4 USB at usb-0000:00:1d.0-1.3.3.3, high speed
 1 [U88es          ]: USB-Audio - USB Keystation 88es
                      M-Audio USB Keystation 88es at usb-0000:00:14.0-1, full speed
 2 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf7a14000 irq 61
 3 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7a10000 irq 62




2016-01-05 17:34 GMT+01:00 Victor Lazzarini <Victor.Lazzarini@nuim.ie>:
Try using hw:N,M instead of plughw:.. to select the device (I often found these kinds of issues with plughw)

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

> On 5 Jan 2016, at 16:18, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
>
> Dear community,
> running a certain cdf file I get the message
> ALSA: -b 1024 not allowed on this device; using 682 instead
> What does it mean and why do I get this message?
> I have in the options:
> -+rtaudio=alsa  -o dac:plughw:USB  -odac -+rtmidi=alsa -Ma   -m0d  -B 2048 -b 682 -d
>
> I would be thankful for an advice.
> Best,
> Stefan
> 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

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

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