AROS Exec

Development => AROS Software Development => Topic started by: hansfaust on February 12, 2020, 06:45:03 PM

Title: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 12, 2020, 06:45:03 PM
Hello,
I'm new here, and I doesn't know if this is the right place for my issue.

I'm the man, who worked nearby 10 years (2000 - 2010) on BarsnPipes since Blue Ribbon Inc, have had given away the Sourcecode of this genial program.
Not few serious musicians around the world are working with Bars&Pipes Pro, because it IS the best Multimedia-MIDI-sequencer ever made for a Computer.
I've succesful made ports to MorphOS and AMIGA OS4.

Currently I'm working on the port of the Multimedia-MIDI-sequencer BarsnPipes to AROS.
Oh, yes I know, I'm not the first wich tryed to do this. In AROS:Extras/MediaEditors is a Directory Bars'n'Pipes. But unfortunately this Version of BarsnPipes doesn't start.

My work is in progress.For the Moment  I do not want this version to be compatible with the AMIGA version.
That means the native BarsnPipes song-files are not compatible.
Later - I think - it will be easier to make a Export/Import-Plugin for BarsnPipes.
At the Moment the program works fine. It can load and save Standard MIDI-files (*.mid). After loading the file can be edited and saved.
But unfortunately the most important for this program: the MIDI-Connection (including recording and playing) is not available.

There should be a possibility of a MIDI-Connection via USB.
When I connect a USB-MIDI-Interface to my native AROS-machine, a nice message appears,
that a MIDI-Interface is found and bound to camdusbmidi.class.
BarsnPipes itself can connect to the "debug"-Driver in DEVS:midi.
So it could all work, if someone could build the "poseidon" camd driver for DEVS:Midi.
It exists as a Assembler source for the 68k-AMIGA-OS.

Because I'm not a assembler-programmer for AROS, I'm not able to create it .
IS THERE ANYONE OUT THERE; WHO COULD DO THIS FOR ME ?

This little piece of software is urgently needed. It would be a great pleasure if someone here could help.

Kindly Alfred

www.alfred-j-faust.de
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 12, 2020, 07:57:15 PM
hello Alfred

the version that is on Icaros desktop works just delete the prefs file, restart the program and save your preferences, as for the driver I can't help you, anyway it should work with the serial cable.
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: wawa on February 13, 2020, 04:03:23 PM
kalamatee says the usb driver is generated on the fly at run time. i cant confirm this myself as im not familiar with the matter. btw i think i have also made or started a partial port so maybe i can assist a bit, but my priorities are platforms of abi_v1.
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 14, 2020, 01:54:17 PM
hello Alfred

the version that is on Icaros desktop works just delete the prefs file, restart the program and save your preferences, as for the driver I can't help you, anyway it should work with the serial cable.
Hi salvo,
thanks for tip. But unfortunately this version has no Tools or Accessories available. It crashes, if I try to load any tool from my currently in process-version.
Without the Input- and Output-MIDI-Tools this verion is not very useable. It shows only, that it is possible to compile it for AROS.
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 14, 2020, 02:04:29 PM
kalamatee says the usb driver is generated on the fly at run time. i cant confirm this myself as im not familiar with the matter. btw i think i have also made or started a partial port so maybe i can assist a bit, but my priorities are platforms of abi_v1.
Hello wawa,
that are good News. I tryed it, to connect to a USB-MIDI-Interface, which were connected proper to the camdusbmidi.class. But the connection-driver to the CAMD-System is NOT created on the fly it is not present in DEVS:midi/, so I can't connect (link) CAMD to a not existing Driver.

If you can have a look at the 68k-camd-driver (the bridge between Poseidons camdusbmidi.class and the CAMD-System)
I attach it here.

NB.: here is the text at the top of the source to the camdusbmidi.class
/*
 *----------------------------------------------------------------------------
 *                         camdusbmidi class for poseidon
 *----------------------------------------------------------------------------
 *                   By Chris Hodges <chrisly@platon42.de>
 */

/* TODO: Somebody needs to port the assembly 68k camd driver to something that is used under AROS! */

. . .
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 14, 2020, 02:06:10 PM
hello Alfred

I have never used these types of programs, I know that bars & pipes is very famous in the amiga community, I play electric bass and I usually just record something and that's it
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 14, 2020, 02:11:58 PM
I think if you connect a midi instrument I don't know a keyboard it is possible to work safely, then I don't know the program
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 14, 2020, 04:03:24 PM
You will be NOT able to connect any MIDI-instrument to Bars&Pipes without the MIDI-IN-/OUT-Tools. In other MIDI-sequencers this is managed global, but in BarsnPipes this is done for each MIDI-channel separately.
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 14, 2020, 04:17:13 PM
yes I understood but it seems to me that with the serial port this is possible at least from the preferences of the program it is clear that you have an active input and output if present
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 14, 2020, 06:22:00 PM
I'm sorry to disappoint you, but what you can choose in the menu: Preferences->Environment are the connections for the sychronization.
There are two kinds of synchronization:
- controlled by MIDI-clocks (short "clocks" in the Environment window)
- controlled by MIDI-Time-Code (short "MTC")

MIDI-Clocks only sync the tempo between two MIDI-devices independent when it starts or stops, 
and MIDI-Time-Code syncs also the timepoint. The MTC is mostly used by synchronization to a
special time schedule, like in Power-Point-, Video- or Diapostive-presentations. 

The sequencer itself in BarsnPipes needs, like I always mentioned,  the MIDI-IN and OUT-Tools.
And these tools are missing currently in the onboard version. But I'm on the way to change this.
Exactly for this I need the mentioned driver as bridge between the Poseidon-USB-System
and the  CAMD (Commodore Amiga MIDI Driver) - system.

Kindl, Alfred
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 14, 2020, 07:14:58 PM
ok understand alfred
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 14, 2020, 08:47:37 PM
Hi Alfred

since you can't implement the usb class you could go via serial port, currently the abiv0 branch is the stable one and third party programmers mainly refer to it
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 16, 2020, 05:26:38 PM
Hi Alfred

since you can't implement the usb class you could go via serial port, currently the abiv0 branch is the stable one and third party programmers mainly refer to it

salvo,
I thank you very much for supporting my request. But it is true that things are not quite so simple with MIDI. Modern PC Hardware(!) unfortunately does not support the transmission speed of MIDI: 31.25 kBaud over the serial port. In addition to that, a so-called MIDI interface is needed, which converts the serial signals for MIDI.
The serial transmission on the AMIGA was so nice and easy, because there the transmission speed was freely programmable.
So I want to see if I can get the MIDI transmission via USB finished after all.

Translated with www.DeepL.com/Translator (free version)
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 16, 2020, 06:13:17 PM
I understand, but I was convinced that the program was fully usable, good work and thank you :)
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on February 19, 2020, 06:07:53 PM
Good news:
I've seen, that kalamatee has made a driver for the Devs:midi.
At github in AROS/rom/usb/classes/camdmidi/camd/ I found a new poseidon.c.
That's really a big step forward.
Now it would be nice to compile it and bring it in a working stage. I'll test it here with my MIDI-equipment.
I can't compile it here, because the header-files  proto/camdusbmidi.h and the dependend files are not yet included in the last nightly build from the 19-Feb-2020.
BUT I'm very happy. My  most heartfelt thanks !!!  ;D

Alfred
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on February 19, 2020, 08:55:03 PM
so it will only be available for abiv1, I mean well?
Surely whoever ported the program to abiv0 will probably fix some things, especially this one for midi signal reception.
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: hansfaust on April 14, 2020, 05:35:02 PM
It's time now to give a Status report.
In the meantime I have been trying out a lot. But it seems that all my efforts are in vain. With the Poseidon USB MIDI driver for CAMD I have not had any success so far. There is no transfer between the USB system of the Poseidon.library and the CAMD.library.
That means for me: within AROS there are two excellent MIDI transmission systems, but they need each other.So the missing link makes both sides useless and therefore senseless. K. Mattheusen and Chr. Hodges have done their best to provide AROS with a working MIDI transmission system.  The best of all MIDI programs "BarsnPipes" is about to complete the porting to AROS. Now I have doubts if the development team is even interested in MIDI transmission.
My opinion: If AROS should have a chance at all, then it should have multimedia abilities and possibilities like the AMIGA-OS.
Since I cannot solve the problem alone, I will stop my efforts for now. If somebody should find himself ready to solve the complained problem, he can contact me via my email: alfred.j.faust@gmx.de

Translated with www.DeepL.com/Translator (free version)
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on April 14, 2020, 09:38:50 PM
hello Alfred

I don't know what to say about it, now they are working on abiv1 I don't know if they will make some adjustments so that the midi streams can work

thanks anyway
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: dizzy on April 15, 2020, 09:06:05 AM
It's time now to give a Status report.
In the meantime I have been trying out a lot. But it seems that all my efforts are in vain. With the Poseidon USB MIDI driver for CAMD I have not had any success so far. There is no transfer between the USB system of the Poseidon.library and the CAMD.library.
That means for me: within AROS there are two excellent MIDI transmission systems, but they need each other.So the missing link makes both sides useless and therefore senseless. K. Mattheusen and Chr. Hodges have done their best to provide AROS with a working MIDI transmission system.  The best of all MIDI programs "BarsnPipes" is about to complete the porting to AROS. Now I have doubts if the development team is even interested in MIDI transmission.
My opinion: If AROS should have a chance at all, then it should have multimedia abilities and possibilities like the AMIGA-OS.
Since I cannot solve the problem alone, I will stop my efforts for now. If somebody should find himself ready to solve the complained problem, he can contact me via my email: alfred.j.faust@gmx.de

Translated with www.DeepL.com/Translator (free version)

It seems none have ported the 68k code to AROS. Does the midi class make something in DEVS:Midi ? It should copy there somesort of CAMD MIDI driver (written in 68k asm and in Amiga hunk format) Odd way of doing things. While creating the CAMD MIDI driver it also patches the name inside the thing... :) So there should be more than one of such files if more than one MIDI device is attached.
Title: Re: CAMD driver for USB Devs:midi/poseidon missing
Post by: salvo on April 30, 2020, 03:28:39 AM
there is emuk1 driver for 68k on ahi archives