Novation X-Station: mostly success, but...
Hi,
I can confirm, that my X-Station works with Clemens Ladisch's patch. I got the last version of the files announced here by Clemens from his site and replaced those in my kernel gentoo-dev 2.6.10 and recompiled it. The MIDI connection seems to work in both directions - at least the basics I have tried.
(Why is the sound volume of my softsynth so low, when the velocity reported is the same as in the "loud" midi files?)
However, I have problems with the "standard compliant" audio part: I can play sounds through the device, but I cannot capture them. No wonder: the mixer seems to have no effect on the device. There are just a few controls anyway:
bass, treble, mic volume, speaker volume, aso. - nothing seems to have any effect when playing a sound through the device, just hardware volume knobs on it :-).
When playing, the sound is not clean all the time, there are some clicks from time to time. Maybe a problem of the computer?
Regards,
Pavel
Signature · 12 lines
########################################################################### # mailto:[email protected] # ICQ:143159880 # Jabber:[email protected] ########################################################################### ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 6 lines · Pavel Vondricka
However, I have problems with the "standard compliant" audio part: I can play sounds through the device, but I cannot capture them. No wonder: the mixer seems to have no effect on the device. There are just a few controls anyway:
bass, treble, mic volume, speaker volume, aso. - nothing seems to have any effect when playing a sound through the device, just hardware volume knobs on it :-).
What is the output of "lsusb -v" for this device?
Regards,
Clemens
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
BTW: I also have to use the "plug" device to convert the sound format, because the card didn't want to play an ordinary 44.1kHz/16b WAV directly with "aplay -D hw:1,0 sound.wav".
But maybe that's only some limitation of the hardware...?
Quoted 1 line
What is the output of "lsusb -v" for this device?
Bus 001 Device 003: ID 1235:0001
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x1235 idProduct 0x0001 bcdDevice 1.01 iManufacturer 1 Novation EMS iProduct 2 X-Station iSerial 0 bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 335
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 450mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 141
bInCollection 2
baInterfaceNr( 0) 1
baInterfaceNr( 1) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 5
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Microphone
bAssocTerminal 9
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 2
bSourceID 1
bControlSize 1
bmaControls( 0) 0x03
Mute
Volume
bmaControls( 0) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0603 Line Connector
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 4
bSourceID 3
bControlSize 1
bmaControls( 0) 0x01
Mute
bmaControls( 0) 0x02
Volume
bmaControls( 0) 0x02
Volume
iFeature 0
AudioControl Interface Descriptor:
bLength 15
bDescriptorType 36
bDescriptorSubtype 4 (MIXER_UNIT)
bUnitID 6
bNrInPins 3
baSourceID( 0) 2
baSourceID( 1) 4
baSourceID( 2) 5
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
bmControls 0x00
iMixer 0
junk at descriptor end: 00
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 7
bSourceID 6
bControlSize 1
bmaControls( 0) 0x15
Mute
Bass
Treble
bmaControls( 0) 0x02
Volume
bmaControls( 0) 0x02
Volume
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 8
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 7
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 9
wTerminalType 0x0201 Microphone
bAssocTerminal 1
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 10
bSourceID 9
bControlSize 1
bmaControls( 0) 0x03
Mute
Volume
bmaControls( 0) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 4 (MIXER_UNIT)
bUnitID 11
bNrInPins 1
baSourceID( 0) 10
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
bmControls 0x00
iMixer 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 12
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 11
iTerminal 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 5
bDelay 1 frames
wFormatTag 1 PCM
AudioControl Interface Descriptor:
bLength 23
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 2 Discrete
tSamFreq[ 0] 44100
tSamFreq[ 1] 48000
junk at descriptor end: 40 1f 00 11 2b 00 22 56 00
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 9
Transfer Type Isochronous
Synch Type Adaptive
wMaxPacketSize 288
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 12
bDelay 1 frames
wFormatTag 1 PCM
AudioControl Interface Descriptor:
bLength 23
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 2
bSubframeSize 3
bBitResolution 24
bSamFreqType 2 Discrete
tSamFreq[ 0] 44100
tSamFreq[ 1] 48000
junk at descriptor end: 40 1f 00 11 2b 00 22 56 00
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 13
Transfer Type Isochronous
Synch Type Synchronous
wMaxPacketSize 288
bInterval 1
bRefresh 0
bSynchAddress 0
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x01
Sampling Frequency
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Devices
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 45
cannot get report descriptor
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 1
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 255
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 32
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type none
wMaxPacketSize 32
bInterval 1
Language IDs: (length=4)
0409 English(US)
Signature · 12 lines
########################################################################### # mailto:[email protected] # ICQ:143159880 # Jabber:[email protected] ########################################################################### ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 2 lines · Pavel Vondricka
However, I have problems with the "standard compliant" audio part: I can play sounds through the device, but I cannot capture them.
According to the descriptors, the devices captures only from the Mic input, not from the Line in. What does the manual say?
There should be two "Mic" controls, one for capturing and one for monitoring.
Quoted 4 lines
No wonder: the mixer seems to have no effect on the device. There are just a few controls anyway: bass, treble, mic volume, speaker volume, aso. - nothing seems to have any effect when playing a sound through the device, just hardware volume knobs on it :-).
Bass/Treble/Speaker should affect the playback.
Quoted 2 lines
When playing, the sound is not clean all the time, there are some clicks from time to time. Maybe a problem of the computer?
Does this happen when you're playing back something without doing anything else on the computer?
Quoted 4 lines
BTW: I also have to use the "plug" device to convert the sound format, because the card didn't want to play an ordinary 44.1kHz/16b WAV directly with "aplay -D hw:1,0 sound.wav".
But maybe that's only some limitation of the hardware...?
Yes, the hardware is limited to 24 bit samples ...
Regards,
Clemens
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Additional information about the functionality of the whole device:
- now I managed to record/capture from the device at least on the command line in this way only: arecord -D hw:1,0 -r 44100 -f S24_3LE -c 2 text.wav (the plug device does not work when recording - is autoconversion not possible?)
- the mixer (none of the controllers) has absolutely no effect - either on the playback or when recording
- there are light random clicks (at least 1-3 per minute) in the playback, even when I do not touch the computer. there are no clicks when playing the same sound through the integrated VIA82C682 sound device. I have not tried long recording to test possible clicks when recording.
I have also tried the device under Windows2000 (warning: according to the manual the only supported version is WinXP - for me: audio works, MIDI template editor has problems, and I haven't tested more of MIDI...). Results:
- there are no clicks in the playback (as far as I have heard)
- recording is possible
1) either from the synthesizer only (in stereo on both channels),
2) or from the mic/line-input1 (mono) on left channel and synthesizer (mono!) on the right channel,
3) or (probably) from both two mono mic/line-inputs on both channels (but without the synth: the keyboard must not be in KS-synth mode, or the second input is not available, but it's channel is occupied by the synth!)
- the Windows mixer shows two controls for playback:
1) "Master Volume" - works as expected (even balance)
2) "SW Synth" - I don't know what it should do, but it did nothing for me, even not to the playing synth mixed with the playback
- the Win mixer shows two controls for recording:
1) "Capture" - doesn't change volume except when pulled completely down to zero (then it mutes the capture completely)
2) "Line In" - stays always in the middle position and cannot be moved by the mouse up or down! the mute checkbox can be checked, however, it is completely connected to the first control's ("Capture") MUTE checkbox (both get changed when one of them selected)
Regards,
Pavel
Signature · 12 lines
########################################################################### # mailto:[email protected] # ICQ:143159880 # Jabber:[email protected] ########################################################################### ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click