USB audio routing

Hi All,

I am abroad atm, with only the Zee travelling with me - of course! :smile:-, so no mixer etc.
I have access to a Clavinova here, that can clearly output usb audio mixed with its own engine, as audio works from a tablet.
Connecting the Zee to the Clavinova works fine for MIDI input.

So I have two questions:
1, Is it possible to route the main mix/out to USB audio out channels, so I could use the piano as the speaker?
2, Is it possible to route the USB audio in channels to the main mix of Zee, as an audio source?

I am using Vangelis OS release on Z 5.1 hardware.

Thanks,
Istvan

opening the terminal on webconf and typing

aplay -l

will probably tell us a bit more…

Currently we only support a single soundcard. This must be configured in webconf and be present throughout the life of zynthian, i.e. it is not hot-plug. A recent change means that a missing USB soundcard will be connected later if plugged in so a small step towards hot-plug.

There is a development branch to add hot-plug and multiple soundcard support but, although it works it is only a proof-of-concept. I want to move forward with that soon.

So, the only real way of doing what you want with Oram or Vangelis is to connect the USB soundcard (Clavinova) and configure zynthian to use it as a USB soundcard then restart zynthian.

Added the soundcard list, while I still have access to the Clavinova :slight_smile:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry D
AC+ADC Pro HiFi multicodec-0 [HiFiBerry DAC+ADC Pro HiFi multicodec-0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Clavinova [Clavinova], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

try building a hardware config in the advanced audio section of webconf under custom device…

-P 70 -d alsa -d hw:Clavinova -r 48000 -p 256 -n 2 -s -S -X raw

Save that and then reboot it should treat the clavinova as audio source and audio destination …

I was trying something very similar, and it worked, but since you actually know what you are doing, I added your settings instead :joy:
Right now:

Soundcard: Generic USB Device
Jackd: -P 70 -d alsa -d hw:Clavinova -r 48000 -p 256 -n 2 -s -S -X raw
Aubionotes: -O complex -t 0.5 -s -88 -p yinfft -l 0.5

All seemed to be good, but the volume was way lower than any audio coming from a tablet or from the piano itself and turning the volume up made the piano sound way too loud.

So I changed the mixer, and jacked the PCM volume up and now it sounds decent, adding:
Mixer controls: PCM,Headphone

Since I am only guessing what I am doing here - please feel free to add any comments, especially about the Aubionotes part :smiley:
Is it this thing? If yes, how is that relevant to the audio interface?

Anyway, if you’d like to test/make any changes just let me know while I am still here for about 1.5 more days.

Aubionotes shouldn’t effect anything.