Skip to contentSkip to conversation

Audiophile Delta 24/96 Midi Out continuously sends zeroes (alsa 1.0.14)

DISCUSSION Clemens Ladisch 2 participants 8 messages Aug 29, 2007 – Sep 19, 2007 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Romain Bossart

My audiophile 24/96 Midi Out sends zeroes continuously, so I can't use any instrument. I checked that with amidi by looking at the stream output of a connected instrument (midi out -> instrument -> midi in -> amidi). Zeroes are sent whether or not I try to send (normal) midi messages.

Would it be possible to connect the midi out directly to the midi in?

Is the number of transmitted bytes in /proc/asound/cardX/midi0 about correct?

Regards,
Clemens

#2 lore raw

Selon Clemens Ladisch <[email protected]>:

Quoted 9 lines
Quoted 5 lines · Romain Bossart

My audiophile 24/96 Midi Out sends zeroes continuously, so I can't use any instrument. I checked that with amidi by looking at the stream output of a connected instrument (midi out -> instrument -> midi in -> amidi). Zeroes are sent whether or not I try to send (normal) midi messages.

Would it be possible to connect the midi out directly to the midi in?

I also tried it, same results.

Quoted 2 lines

Is the number of transmitted bytes in /proc/asound/cardX/midi0 about correct?

I'll tell you this evening

Thank you !

Romain

Quoted 4 lines

Regards,
Clemens

#3 lore raw
Quoted 8 lines · Romain Bossart

Selon Clemens Ladisch <[email protected]>:

Quoted 6 lines
Quoted 5 lines · Romain Bossart

My audiophile 24/96 Midi Out sends zeroes continuously, so I can't use any instrument. I checked that with amidi by looking at the stream output of a connected instrument (midi out -> instrument -> midi in -> amidi). Zeroes are sent whether or not I try to send (normal) midi messages.

Quoted 7 lines
Quoted 2 lines

Would it be possible to connect the midi out directly to the midi in?

I also tried it, same results.

Quoted 2 lines

Is the number of transmitted bytes in /proc/asound/cardX/midi0 about correct?

Yes, the number is correct. After a reboot, I prepared amidi to output the incoming midi stream and switched on my instrument for 2 seconds approx : around 10kB of zeroes were counted by amidi and /proc/asound/card0/midi0.

Quoted 9 lines

Thank you !

Romain

Quoted 3 lines

Regards,
Clemens

#4 lore raw
Quoted 13 lines · Romain Bossart
Quoted 12 lines · Romain Bossart

Selon Clemens Ladisch <[email protected]>:

Quoted 8 lines
Quoted 5 lines · Romain Bossart

My audiophile 24/96 Midi Out sends zeroes continuously, so I can't use any instrument. I checked that with amidi by looking at the stream output of a connected instrument (midi out -> instrument -> midi in -> amidi). Zeroes are sent whether or not I try to send (normal) midi messages.

Would it be possible to connect the midi out directly to the midi in?

I also tried it, same results.

Quoted 17 lines
Quoted 2 lines
Quoted 2 lines

Is the number of transmitted bytes in /proc/asound/cardX/midi0 about correct?

Yes, the number is correct. After a reboot, I prepared amidi to output the incoming midi stream and switched on my instrument for 2 seconds approx : around 10kB of zeroes were counted by amidi and /proc/asound/card0/midi0.

Quoted 8 lines

Thank you !

Romain

Quoted 3 lines

Regards,
Clemens

Actually, the same exact number of zeroes were sent. I must acknowledge I used jack for connecting amidi... I looks like jack sends the zeroes as soon as it is started. Would someone have a clue ?

Thanks

Romain

#5 lore raw
Quoted 11 lines · Romain Bossart
Quoted 9 lines · Romain Bossart
Quoted 3 lines · Romain Bossart

Selon Clemens Ladisch <[email protected]>:

Quoted 2 lines

Is the number of transmitted bytes in /proc/asound/cardX/midi0 about correct?

Yes, the number is correct. After a reboot, I prepared amidi to output the incoming midi stream and switched on my instrument for 2 seconds approx : around 10kB of zeroes were counted by amidi and /proc/asound/card0/midi0.

Quoted 4 lines

Actually, the same exact number of zeroes were sent. I must acknowledge I used jack for connecting amidi... I looks like jack sends the zeroes as soon as it is started.

That is, the zeroes are _not_ sent when you're not using jack? When nothing is connected, or when you use aplaymidi or amidi to send something, everything is OK?

Regards,
Clemens

#7 lore raw
In reply to a message not in the archive
Quoted 9 lines · Romain Bossart

Selon Clemens Ladisch <[email protected]>:

Quoted 3 lines

That is, the zeroes are _not_ sent when you're not using jack? When nothing is connected, or when you use aplaymidi or amidi to send something, everything is OK?

Here is a summary of the various tests I did. I have just one card: Audiophile Delta 24/96. My kernel is now 2.6.22.1 RT patched & alsa 1.0.14, Audio works perfectly. I don't think jack is the problem.

Quoted 7 lines

Config #2 = Delta Midi Out -> (Midi In) Instrument (Midi Out/Thru) -> Delta Midi In and 'amidi -p hw:0,0 -d'. Jack being started or not.

Symptoms: tons of zeroes are shown by amidi as soon as I launch it. The stream is so intense I can actually hear it in my speakers/monitors (need to switch to better MIDI cables, I know!). amidi and /proc/asound/card0/midi0 give the same number of transmitted bytes.

With "transmitted", you meant "received"?
When Jack is not running, there is no software to send anything. If the number of _transmitted_ bytes changes anyway, this would be a bug in ALSA.

Quoted 5 lines

Config #2b = Delta Midi Out -> Delta Midi In and 'amidi -p hw:0,0 -d', Jack being started or not.

Symptoms: identical to config#2. Moreover, if meanwhile I send some Midi commands with amidi ('amidi -p hw:0,0 -S C01C'), I don't find this data in my dump.

Apparently, the output port is broken. While it is theoretically possible that the driver doesn't initialize the card correctly, I cannot imagine a bug that would cause the port to presume that there is data to send.

Could you test if the port sends data even before the driver (or Linux) is loaded, or in Windows?

Regards,
Clemens

#8 lore raw
Quoted 12 lines · Clemens Ladisch
Quoted 11 lines · Romain Bossart

Selon Clemens Ladisch <[email protected]>:

Quoted 3 lines

That is, the zeroes are _not_ sent when you're not using jack? When nothing is connected, or when you use aplaymidi or amidi to send something, everything is OK?

Here is a summary of the various tests I did. I have just one card: Audiophile Delta 24/96. My kernel is now 2.6.22.1 RT patched & alsa 1.0.14, Audio works perfectly. I don't think jack is the problem.

Config #2 = Delta Midi Out -> (Midi In) Instrument (Midi Out/Thru) -> Delta Midi In and 'amidi -p hw:0,0 -d'. Jack being started or not.

Quoted 8 lines
Quoted 4 lines

Symptoms: tons of zeroes are shown by amidi as soon as I launch it. The stream is so intense I can actually hear it in my speakers/monitors (need to switch to better MIDI cables, I know!). amidi and /proc/asound/card0/midi0 give the same number of transmitted bytes.

With "transmitted", you meant "received"?
When Jack is not running, there is no software to send anything. If the number of _transmitted_ bytes changes anyway, this would be a bug in ALSA.

Oops, 'reveived' is correct. Thank you.

Quoted 10 lines
Quoted 5 lines

Config #2b = Delta Midi Out -> Delta Midi In and 'amidi -p hw:0,0 -d', Jack being started or not.

Symptoms: identical to config#2. Moreover, if meanwhile I send some Midi commands with amidi ('amidi -p hw:0,0 -S C01C'), I don't find this data in my dump.

Apparently, the output port is broken. While it is theoretically possible that the driver doesn't initialize the card correctly, I cannot imagine a bug that would cause the port to presume that there is data to send.

You're right the output port seems to be broken.

Quoted 4 lines

Could you test if the port sends data even before the driver (or Linux) is loaded, or in Windows?

I am not sure I can try this. I will change my card.

Quoted 4 lines

Regards,
Clemens

Thank you very much for your help.

Regards,
Romain

#9 lore raw

Hi all, Hi Clemens,

just for your information, the midi out was broken. I grabbed a bought an old layla and everything works now.

Thank you again for your help.

Cheers,
Romain

Quoted 48 lines · Romain Bossart
Quoted 12 lines · Clemens Ladisch
Quoted 11 lines · Romain Bossart

Selon Clemens Ladisch <[email protected]>:

Quoted 3 lines

That is, the zeroes are _not_ sent when you're not using jack? When nothing is connected, or when you use aplaymidi or amidi to send something, everything is OK?

Here is a summary of the various tests I did. I have just one card: Audiophile Delta 24/96. My kernel is now 2.6.22.1 RT patched & alsa 1.0.14, Audio works perfectly. I don't think jack is the problem.

Config #2 = Delta Midi Out -> (Midi In) Instrument (Midi Out/Thru) -> Delta Midi In and 'amidi -p hw:0,0 -d'. Jack being started or not.

Quoted 7 lines
Quoted 4 lines

Symptoms: tons of zeroes are shown by amidi as soon as I launch it. The stream is so intense I can actually hear it in my speakers/monitors (need to switch to better MIDI cables, I know!). amidi and /proc/asound/card0/midi0 give the same number of transmitted bytes.

With "transmitted", you meant "received"?
When Jack is not running, there is no software to send anything. If the number of _transmitted_ bytes changes anyway, this would be a bug in ALSA.

Oops, 'reveived' is correct. Thank you.

Quoted 9 lines
Quoted 5 lines

Config #2b = Delta Midi Out -> Delta Midi In and 'amidi -p hw:0,0 -d', Jack being started or not.

Symptoms: identical to config#2. Moreover, if meanwhile I send some Midi commands with amidi ('amidi -p hw:0,0 -S C01C'), I don't find this data in my dump.

Apparently, the output port is broken. While it is theoretically possible that the driver doesn't initialize the card correctly, I cannot imagine a bug that would cause the port to presume that there is data to send.

You're right the output port seems to be broken.

Quoted 3 lines

Could you test if the port sends data even before the driver (or Linux) is loaded, or in Windows?

I am not sure I can try this. I will change my card.

Quoted 3 lines

Regards,
Clemens

Thank you very much for your help.

Regards,
Romain