csound / manual

Csound Reference Manual (English)
Other
45 stars 29 forks source link

full list of audio/MIDI I/O modules #605

Open jeanette-c opened 2 years ago

jeanette-c commented 2 years ago

There is no (current) full list of modules for the -+rtaudio and -+rtmidi commandline options, certainly not in the section listing commandline flags. Also the OS specific RT sections could use some clarification.

tjingboem commented 2 months ago

@jeanette-c in the meanwhile, some changes have been done in this regard. Can you check these pages and tell if there is still something missing in your opinion?

https://csound.com/manual/RealTimeLinux.html https://csound.com/manual/RealTimeMac.html https://csound.com/manual/RealTimeWindows.html https://csound.com/manual/RealTimeJack.html

jeanette-c commented 2 months ago

Hi Menno, these seem a lot better. Soundcard orders on Linux can also be done via kernel options. Difficult to say where these should go, with so many bootloaders and system architectures. They are very helpful for USB devices. Take these examples from my system: ... snd-usb-audio.index=3,4,5,6,7,8 snd-usb-audio.vid=0x20cb,0x1a86,0x1c75,0x0944,0x26a0,0x1397 snd-usb-audio.pid=0x0020,0x752d,0x0404,0x0012,0x0040,0x0030 the product and vendor ID scan be found with lsusb: lsusb -v

Menno Knevel, Jun 14 2024:

@jeanette-c in the meanwhile, some changes have been done in this regard. Can you check these pages and tell if there is still something missing in your opinion?

https://csound.com/manual/RealTimeLinux.html https://csound.com/manual/RealTimeMac.html https://csound.com/manual/RealTimeWindows.html https://csound.com/manual/RealTimeJack.html

-- Reply to this email directly or view it on GitHub: https://github.com/csound/manual/issues/605#issuecomment-2168542574 You are receiving this because you were mentioned.

Message ID: @.***>

tjingboem commented 2 months ago

okay, i am correct in thinking that the lack of information in the manual is now narrowed down to the Audio of USB soundcards?

I do have a USB Midi device, and this works plug&play without having to change anything or adding some information to the manual.

That is on a Linux Jack system (fixed Audio/Midi card). So with Jack the connections are made, audio and Midi. And the USB Midi is 'just there'.

Don't know about USB Audio- i do not have such a device. A friend of mine does, i can borrow his and see what happens...

Can you shed some more light on this lack of interaction between Csound and USB audio?

jeanette-c commented 2 months ago

I'm sorry, I should have clarified. In the Realtime Linux section you talk about the order of cards. The salient note begins with: On every boot, the soundcard may have ... A little into that paragraph/note you specify a way to order soundcards: You can assign a fixed order by adding some lines to /etc/modprobe.d/alsa-base-conf... That's where my note came in. On my system, ArchLinux, the modprobe.d directory is entirely empty. My point was: there are other Linux mechanisms to put cards in the right order on every boot. One is to add parameters to the kernel, when loading the ALSA snd-* modules. This can order different cards/drivers into a certain order, but also cards that use the same snd-module. snd-usb-audio servers many devices, everything that connects over USB and is standards compliant, this includes: full USB audio interfaces, USB MIDI routers, USB MIDI cables and synthesizers directly connected via USB. In my setup I have 6 USB MIDI devices connected.

This manual is not a Linux audio setup howto, but a mention of other ways to order cards, depending on the system/distro might be worthwhile.

Do you see, where I'm coming from with this?

Best wishes,

Jeanette

Menno Knevel, Jun 15 2024:

okay, i am correct in thinking that the lack of information in the manual is now narrowed down to the Audio of USB soundcards?

I do have a USB Midi device, and this works plug&play without having to change anything or adding some information to the manual.

That is on a Linux Jack system (fixed Audio/Midi card). So with Jack the connections are made, audio and Midi. And the USB Midi is 'just there'.

Don't know about USB Audio- i do not have such a device. A friend of mine does, i can borrow his and see what happens...

Can you shed some more light on this lack of interaction between Csound and USB audio?

-- Reply to this email directly or view it on GitHub: https://github.com/csound/manual/issues/605#issuecomment-2169206381 You are receiving this because you were mentioned.

Message ID: @.***>

tjingboem commented 2 months ago

ah, i see. So that you know, all the text on Linux audio you mention was already there. I reorganized the available information between the different platforms, also on Midi and added text about Midi sequencer driver to the Linux page

csounder commented 2 months ago

wonderful.

- Dr.B

Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division

On Sat, Jun 15, 2024 at 10:55 AM Menno Knevel @.***> wrote:

ah, i see. So that you know, all the text on Linux audio you mention was already there. I reorganized the available information between the different platforms, also on Midi and added text about Midi sequencer driver to the Linux page

— Reply to this email directly, view it on GitHub https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9tYW51YWwvaXNzdWVzLzYwNSNpc3N1ZWNvbW1lbnQtMjE2OTg0MjU2MA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=N3RROUg5Y1BET1VVWG96R0ozdHdRYnlRTUFHUTdJWlZtVTk5ZnVidTB1Yz0=&h=46352d40c6ba4371835079fe157965fc&s=AVNPUEhUT0NFTkNSWVBUSVZ-CzEl059Ym1RlqwKl3ZhNfC-dR2N5IDL9CUAdMA_6tA, or unsubscribe https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BQUxXWUZRU1BNT1lLREMyTFlZNUJDRFpIUklWWEFWQ05GU002QUFBQUFCSktaWUJMS1ZISTJEU01WUVdJWDNMTVY0M09TTFRPTjJXS1EzUE5WV1dLM1RVSE1aRENOUlpIQTJERU5KV0dB&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=eGxBdjFqNjk5c29BVVhKK2NqQnRHNjdHNUsvSFlaU0k1K2ZkZy9QVWNBaz0=&h=46352d40c6ba4371835079fe157965fc&s=AVNPUEhUT0NFTkNSWVBUSVZ-CzEl059Ym1RlqwKl3ZhNfC-dR2N5IDL9CUAdMA_6tA . You are receiving this because you commented.Message ID: @.***>

tjingboem commented 4 weeks ago

@jeanette-c , coming back at this; the order of soundcard etc. is indeed very detailed information for one platform for the manual imo, but perhaps you are willing to add your findings to the Csound Wiki page https://github.com/csound/csound/wiki ?

A link form the Csound webpage Documentation could be added to the Csound Wiki page, so users may actually find the documentation. And other articles are to be found in the Wiki as well, articles that might get some more public attention. This link does not exist yet.

If you have experimented and found useful Linux information, please add your text there. Then i add a link to this article from the Linux manual page.

tjingboem commented 4 weeks ago

for example: https://ubuntuforums.org/showthread.php?t=922860