Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Solved "Help" a driver is missing to be able to port Bars&Pipes

Last updated on 2 months ago
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
Alfred Faust is also working for us is bringing BarsPipes to Aros thanks to everyone who has contributed to this
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
about bars&pipes:

What I've done:

1. Connect USB-MIDI-Interface: Edirol UM-1 - success
(is bound via camdusbmid.class to Poseidon-USB-stack, poseidon.library,
showen in Trident Prefs for Poseidon)

2. Start BarsnPipes - success

3. Set MIDI-connection: connect to cluster "mididriver.out.0" - success
(this is done via camd.library)

4. Send a simple NoteOn-event
BarsnPipes->mididriver.out.0->camdusbmidi.class->UM-1 - failed
(this results in a total crash)

there is something wrong with the driver unfortunatelySad
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
Alfred writes:

What I've done:

1. Connect USB-MIDI-Interface: Edirol UM-1 - success
(is bound via camdusbmid.class to Poseidon-USB-stack, poseidon.library,
showen in Trident Prefs for Poseidon)

2. Start BarsnPipes - success

3. Set MIDI-connection: connect to cluster "mididriver.out.0" - success
(this is done via camd.library)

4. Send a simple NoteOn-event
BarsnPipes->mididriver.out.0->camdusbmidi.class->UM-1 - failed
(this results in a total crash)

there is something wrong with the driver unfortunatelyFrown
Edited by Amiwell79 on 14-02-2024 17:41, 2 months ago
H
hitchhikrSoftware Dev
Posted 2 months ago
Hi,

My bad, I didn't check the out going data code assuming it would work but of course it didn't and made AROS to crash.

I upload another version which doesn't crash ( https://hitchhikr...driver.zip ), i also added MidiThru (which forwards messages from a port to another) and MidiSendC (which sends a middle C to a given port) shell commands.

The MidiWatch tool logs the out going port properly so the data is sent but i'm not sure that it reaches the Midi device itself.

Sorry for the inconvenience,
f.
Edited by hitchhikr on 14-02-2024 19:48, 2 months ago
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
no problem i can't test the driver properly i don't have the equipment nor the software i'll pass the file to Alfred hopefully it will work thanks for the helpWink
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
we await news from Alfred
H
hitchhikrSoftware Dev
Posted 2 months ago
I found out that there are two bugs in camdusbmidi.class.c which prevent from sending several midi messages in the function nParseMidiOut() :

 
 switch(cmd>>4)
 {
 case 0x8:
 case 0x9:
 case 0xa:
 case 0xb:
 case 0xe:
 if(len < 3)
 {
 len = 0;
 break;
 }
 len -= 3;
 *out++ = cmd|chan; <<<< should be: *out++ = (cmd >>4)|chan;
 *out++ = cmd;
 ca->ca_TXReadPos = (ca->ca_TXReadPos+1) & mask;
 *out++ = buf[ca->ca_TXReadPos];
 ca->ca_TXReadPos = (ca->ca_TXReadPos+1) & mask;
 *out++ = buf[ca->ca_TXReadPos];
 ca->ca_TXReadPos = (ca->ca_TXReadPos+1) & mask;
 goodpkt++;
 break;

 case 0xc:
 case 0xd:
 if(len < 2)
 {
 len = 0;
 break;
 }
 len -= 2;
 *out++ = cmd|chan; <<<< should be: *out++ = (cmd >>4)|chan;
 *out++ = cmd;
 ca->ca_TXReadPos = (ca->ca_TXReadPos+1) & mask;
 *out++ = buf[ca->ca_TXReadPos];
 ca->ca_TXReadPos = (ca->ca_TXReadPos+1) & mask;
 *out++ = 0;
 goodpkt++;
 break;


A fixed version is now included within the archive: https://hitchhikr...driver.zip

So to install the whole stuff:

- Copy "mididriver" into devs:midi (and remove any file that may be there before).
- Replace "camdusbmidi.class" from SYS:Classes/USB with the one included in the archive.
- Reboot.

f.
Edited by hitchhikr on 15-02-2024 04:44, 2 months ago
retrofaza, miker1264
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
thank you I will inform alfred in fact has problems it seems to meSmile
Edited by Amiwell79 on 15-02-2024 10:34, 2 months ago
You do not have access to view attachments
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
Everything works thank you I heard Alfred Faust and the tests he did with the midi sequencer Bars&Pipes are positive
Edited by Amiwell79 on 16-02-2024 10:41, 2 months ago
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
we await the release of the software
H
hitchhikrSoftware Dev
Posted 2 months ago
Hopefully the last version of the driver (renamed usbmidi); there were two other bugs in SysEx messages sending.

https://hitchhikr...sbmidi.zip

Same deal:

- Copy "usbmidi" into devs:midi (and remove any file that may be there before).
- Replace "camdusbmidi.class" from SYS:Classes/USB with the one included in the archive.
- Reboot.

I sent a copy of this to Alfred Faust.

f.
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
ok hitchhikr
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 2 months ago

hitchhikr wrote:



- Copy "usbmidi" into devs:midi (and remove any file that may be there before).
.

If I understand well it has to be removed into devs:midi also the file named "mididriver"
H
hitchhikrSoftware Dev
Posted 2 months ago
Yes remove the older one (mididriver).
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
testing continues alfred is working on porting bars&pipes
D
deadwoodAROS Dev
Posted 2 months ago
Hi,

I integrated changes to camd.library and camdusbmid.class into ABIv0 build. Please see the attached patch:

https://axrt.org/...-1-P01.zip

Let me know if the changes work correctly.
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
i must inform alfred faust but he is using icaros desktop and it is obsolete at the moment we have no midi software to test deadwood
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
I personally don't even have the equipment apart from the software to test the new changes but maybe someone else can do it
H
hitchhikrSoftware Dev
Posted 2 months ago
Yes, the latest version is here: https://hitchhikr...sbmidi.lha

There was a bug in camd.library i fixed as well.

Mr. Faust confirmed that everything is now working properly.

f.
Amiwell79Amiwell79Distro Maintainer
Posted 2 months ago
ok many thanksSmile
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Users who participated in discussion: deadwood, AMIGASYSTEM, Amiwell79, Jeff1138, hitchhikr
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 10
Members Online 0

Total Members: 224
Newest Member: Zhule
Member Polls
Should AROSWorld continue with AROS-Exec files (SMF based)?
Yes44 %
44% [12 Votes]
No26 %
26% [7 Votes]
Not sure30 %
30% [8 Votes]