Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-22 Thread Clemens Ladisch
Caelia Chapin wrote: > On Wed, Feb 22, 2017 at 8:12 AM, Clemens Ladisch > wrote: > > Try "-D plughw:MCX8000" instead. > > Oh. That does not actually play the sound, but it does yield some possibly > interesting info: > > $ aplay -Dplughw:MCX8000 pj.wav > Playing WAV

Re: [Alsa-user] enumerate MIDI devices

2017-02-22 Thread Brian Sorahan
I think that's exactly what I needed! Thanks On Wed, Feb 22, 2017 at 1:04 PM, Clemens Ladisch wrote: > Brian Sorahan wrote: > > if card := C.snd_seq_client_info_get_card(cinfo); card >= 0 { > > device.ID = fmt.Sprintf("hw:%d", card) > > } > > > But if I prefer to use th

Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-22 Thread Caelia Chapin
On Wed, Feb 22, 2017 at 8:12 AM, Clemens Ladisch wrote: Try "-D plughw:MCX8000" instead. Oh. That does not actually play the sound, but it does yield some possibly interesting info: $ aplay -Dplughw:MCX8000 pj.wav Playing WAVE 'pj.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo aplay:

Re: [Alsa-user] enumerate MIDI devices

2017-02-22 Thread Clemens Ladisch
Brian Sorahan wrote: > if card := C.snd_seq_client_info_get_card(cinfo); card >= 0 { > device.ID = fmt.Sprintf("hw:%d", card) > } > But if I prefer to use the RawMIDI API to actually connect to the device That particular device might not be available as a RawMIDI port.

[Alsa-user] enumerate MIDI devices

2017-02-22 Thread Brian Sorahan
Hi all, I am hoping to get some guidance on how to properly use the information I get when I list MIDI devices. I'm tinkering with this code https://github.com/scgolang/midi/blob/d50a32b1725ae42044c84f02a53c69004926bd93/midi_linux.go#L94-L152 which seems to list MIDI devices ok. But if I prefer to

Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-22 Thread Clemens Ladisch
Caelia Chapin wrote: > do you know what "multi validity" means? It shows whether the clock source named "Multi" is current valid. > $ aplay -Ddefault:CARD=MCX8000 -v test.wav Try "-D plughw:MCX8000" instead. Regards, Clemens --

Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-22 Thread Caelia Chapin
On Wed, Feb 22, 2017 at 3:11 AM, Caelia Chapin wrote: > > >> Do aplay/arecord work? >> > > I don't know if I should be able to record - that would be an unusual > thing to do with a DJ controller. > However, for the sake of completeness, I plugged in a mic and attempted to record my voice with a

Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-22 Thread Caelia Chapin
Hi, Clemens- Thanks for your reply ... On Wed, Feb 22, 2017 at 1:09 AM, Clemens Ladisch wrote: > Caelia Chapin wrote: > > >MULTI Validity > > Alsamixer does not show devices; it shows mixer controls. Apparently, > your device does not have any useful mixer controls accessible by > software

Re: [Alsa-user] Troubleshooting new USB audio device

2017-02-22 Thread Clemens Ladisch
Caelia Chapin wrote: > When I run alsamixer, DENON DJ MCX8000 is one of the sound cards I can > select; when I do select it, the results depend on the kernel version. > With older kernels, no playback or capture devices are shown for this > card > >MULTI Validity Alsamixer does not show device