CAMD Library, Drivers, and such.
  • Order of the Butterfly
    Order of the Butterfly
    Yomgui
    Posts: 348 from 2004/8/31
    From: Québec - Canada
    @XDelusion: no no, you're not alone. I also not (always) watch videos, browse on net and play to video games. I've created Gribouillis, ported Blender3D and created Helios... which one will support AVC devices (like some FW sound card ... if you see what I mean...)
    And now... next project!
  • »22.07.12 - 01:25
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Ede: Remind me not to install that full package again. It made it impossible to boot back into MorphOS. I had to boot off the CD and replace the emu10k file in Devs and a couple of libs. Not sure which file was keeping it from booting, but it was one of those.

    Anyhow, that Camd Lib didn't seem to do a thing. The MidiPort (I think that was it's name) program that comes with 68k CamD, only sees the Serial Port as an Option, USB still does not show up.

    On the upside, MorphOS did seem to detect my USB MIDI device this time and it said it was associated with CAMD, but I can't seem to access, I need to take some screen shots and post them next time I'm on here.

    Yomgui: Ok, I know your work, been meaning to check some of that out now that I have a replacement system for MorphOS! Sadly, the links all seem to be dead atm. Did you move your files to someplace new?
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »22.07.12 - 22:35
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Sadly, the links all seem to be dead atm. Did you move your files to
    > someplace new?

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8485&forum=3
  • »23.07.12 - 07:27
    Profile
  • ede
  • Caterpillar
    Caterpillar
    ede
    Posts: 35 from 2011/4/18
    From: Poland
    @XDelusion

    Sorry about that. I thought that you looking only proper camd.library file. Anyway when I get back to home (couple of day) I check what I have installed on my pegasos but I never used USB MIDI device (only HD-Rec with SB-Live). So no hope :].
  • »23.07.12 - 11:06
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Thankx @ Andreas_Wolf.

    Ede: Well I was under the assumption that that package was Bars and Pipes for MorphOS, so I figured I'd install that too. Never used B&P beyond firing it up on my old Amiga, so I thought I'd have a look at it on here.

    Anyhow, after I cleaned up my mess I did replace the CAMD.lib that I was using with the one from the package you sent me, and with or without it, I'm still having trouble getting things going.

    Also, here is a pic of Trident in relation to my USBtoMIDI device:

    http://www.mediafire.com/view/?wn87tsr2bwnn260#
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »23.07.12 - 17:59
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    @XDelusion

    I've answered you on amiga.org. We can continue here. MorphOS native camd.library is possible. In fact I have only one MIDI device (old Casio keyboard), which is probably enough to get basic stuff working. I can afford some MIDI and MIDI to USB cables I guess, but instruments, controllers etc. are much more expensive. I hope I can count on you as a betatester and idea contributor.
  • »23.07.12 - 19:42
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > MorphOS native camd.library is possible.

    Some say it's already there:

    https://morph.zone/modules/newbb_plus/viewtopic.php?forum=32&topic_id=7104&start=27

    I've not come across it though.
  • »23.07.12 - 20:15
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    I see that now and thank you!

    First off, again I do apologize for my moaning, but up till now I haven't really received any positive news on this at all. Knowing that you are working with both the Digibooster team and the MorphOS team certainly gives me hope!! Thank you!!!

    I will continue this conversation here, but before I do that I did want to point out that some new user on Amiga.org that goes by the name of "Yomgui" sounds like he may have some knowledge he might be able to contribute. You can read his comments on post #76.

    Now, I will respond to your post(s) in order (kinda).

    I do understand that development takes time, so sorry if I sounded pushy, I was just under the impression that DigiBooster 3 was going to come out, and that the MorphOS team were not taking any steps to ensure that it would be fully usable by all MorphOS users.

    I am beginning to understand how difficult the whole AHI/USB issue must be to take on, so my hopes of using USB or Firewire devices is decreasing quickly, but as another user posted on here, there are small, inexpensive devices that can capture quality audio in WAV format, which then saves to an SD card which I could then take over to my MorphOS machine, or what ever. So with that in mind, I suppose the AHI/USB issues isn't as dire as I had thought previously, though none the less, it would be GRAND to see that get some attention some day.
    On the other hand, it is starting to look more and more like MIDI should be a possibility. The problem is that I have yet to find any MorphOS users who have successfully got it working.

    As you can see in the image I posted here, my USBtoMIDI adapter is picking up in Trident, but I can not get CAMD's MIDIPort program to offer any options aside of the SerialPort.
    I also fired up the seemingly little known Hd-Rec, but have yet to be able to get it to respond to my MIDI gear either.

    Most of my experience thus far has been with OctaMED Sound Studio, but alas, MorphOS will not run it AT ALL for some reason (problems with the Meastrix Library I assume?), so unfortunately I am unable to test my USBtoMIDI adapter in familiar territory.

    Now as for Digibooster 3, I have tried out the beta releases and have HIGH hopes for that program! In fact one day I sat down and tried to get familiar with the lay out then ended up loosing my self and composed an entire song, but then in the end remembered that I couldn't save yet. :)
    I never really messed with Digibooster back in the day because back then I could not afford the 060 that is in my A1200 right now, thus my system was too slow and I again defaulted back to the familiar OctaMED Sound Studio.

    Anyhow, someone a long time ago had told me that version 3.0 would probably not have MIDI support as we did not have a proper port of the CAMD Library, maybe it was you. Who ever it was did inform me though that MIDI was intended for future releases but was not viewed as a priority at the time, again do to the seemingly crippled nature of CAMD on MorphOS.

    Primarily what made me "nervous" was that I had no idea that one of the Digibooster team members was working also as a MorphOS team member. I just figured that the MorphOS team had no one who cared much about supporting Digibooster's future MIDI plans, not to mention the currently released and equally amazing (in a different way) HD-Rec., and that it would therefore be a possible eternity until MIDI support became a reality.

    Ughhh... I'm kind of distracted right now, a lot is going on, so I am going to cut this kind of short.

    In ending I want to say thank you for your intentions, and for responding to me on this issue. I understand that you do not want to make void promises as you posted in Amiga.org, but it is a relief to know that someone out there does have good intentions. MorphOS would TOTALLY benefit from being able to fully take advantage of HD-Rec (see video above), as well as a release of Digibooster with MIDI support. Both programs have their own benefits and would get endless use by me and I'm sure by the other handful of MorphOS users who are itching to create musick under MorphOS.

    As for making a release without MIDI, or holding off until Midi is ready. Well I'd say release it without MIDI when you can and don't delay! Some of us out here are frothing at the mouth for that program! In that way we'd be able to start using it as a stand alone sample based sequencer program, then once we had our heads wrapped around that, we could then expand upon things with MIDI in the next update release!!! ;)

    Thank you again, and YES! I would absolutely be honored to be a beta tester. Is there a mailing list I need to subscribe to? It just so happens that I am not working and am about to move out into the country for some rest and relaxation for a couple of months, so I shall have PLENTY of time on my hands before long.
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »23.07.12 - 21:08
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    @ Andreas_Wolf: You are right... the link is dead. Doe!!!
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »23.07.12 - 21:15
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > someone a long time ago had told me that version 3.0 would probably not have MIDI
    > support as we did not have a proper port of the CAMD Library, maybe it was you.

    Yes, he was.

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8610&forum=11&start=19

    > the currently released [...] HD-Rec

    As currently as released 2.5 years ago ;-)

    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=3073&forum=3&start=3
  • »23.07.12 - 21:55
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > @ Andreas_Wolf: You are right... the link is dead.

    What link? So far, I've not come across any link to a MorphOS-native camd.library.
  • »23.07.12 - 21:57
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Man you're good. You can dig up ancient posts like it's nothing. I've been away from MorphOS for so long I forget what all discussions and who all I had them with in the past, but that one I remembered because MIDI has always been important to me.

    Anyhow, I was referring to the links in the post you had directed me to. As I read down I read your response stating that the links to the native MorphOS CAMD were in fact links to the 68k version. So even if they did work, they wouldn't be for the right version.
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »23.07.12 - 22:04
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > I was referring to the links in the post you had directed me to. As I read down I read
    > your response stating that the links to the native MorphOS CAMD were in fact links
    > to the 68k version. So even if they did work, they wouldn't be for the right version.

    The post I meant to direct you to is itix' (which should be topmost when clicking my link), not Papiosaur's. I'm not sure someone like itix can't tell a PPC-native library file for MorphOS from an m68k-native library file for OS3 ;-)
  • »23.07.12 - 22:21
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    I think your post was fine, I just decided to read on through it.

    You may be onto something with Itix there. ;)

    Sorry, Itix, I couldn't resist!
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »23.07.12 - 22:53
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    my hopes of using USB or Firewire devices is decreasing quickly

    Hopes for FireWire are not that low. Yomgui is a very capable programmer. Guess who ported Python and Blender to MorphOS?

    As you can see in the image I posted here, my USBtoMIDI adapter is picking up in Trident, but I can not get CAMD's MIDIPort program to offer any options aside of the SerialPort.

    The binding is proper, but this is not all the story. The camd.library was implemented on Amiga 500. For a 7 MHz computer MIDI timing requirements are not easy to meet. Because of this camd.library hardware drivers are not typical devices, but some loose pieces of code loaded and executed directly. These "drivers" are M68k binaries. In theory camdusbmidi.class overcomes the problem by generating such drivers on the fly, but I'm not sure how well it works. Also I'm not sure if current camd.library can detect such drivers in realtime (my bet is it can't).

    In my opinion it must be cleaned up, we are not on 7 MHz anymore with MorphOS. Drivers for "static" MIDI interfaces (like one on a soundcard) should be just system devices and camd.library should scan them at initialization. On the other hand camdusbmidi.class detects USB devices at runtime, so camd.library must accept virutal MIDI "cables" submitted by camdusbmidi.class. It cannot work with old M68k camd.library. A new one, with compatible API must be written, which I plan to do. Also camdusbmidi.class should be extended for USB devices providing multiple MIDI "virtual cables" on one USB interface. As you can read in Poseidon docs, camdusbmidi.class is beta and it seems noone looked into it for years.

    In the meantime you can test your USB cables with some MIDI keyboard (or instrument) and simplemidi.class. You can change the class binding in Poseidon setting. According to the doc of simplemidi.class, some keyboard keys will be translated to corresponding computer keys as used by music trackers to emulate musical keyboard. Of course it is not very useful, but at least you can verify that Poseidon and USB driver works with your cables (OK, it only checks MIDI input, but anyway).
  • »24.07.12 - 12:19
    Profile Visit Website
  • Butterfly
    Butterfly
    Tomo
    Posts: 92 from 2003/7/29
    From: Heesch, The Ne...
    Hi,

    A long time ago Iwas hoping to use BarsnPipes on my Peg II, but I gave up. Sometimes it was wordking (midi via game-port) but it B&P freezes many times without a warning. Sometimes I had to install Morphos again to be able to use my Peg.
    I've now installed B&P on Linux (better: my son installed eveything) and sometimes I start my Amiga1200 again. A better Mididriver via USB helps maybe to use B&P again on my Peg.
    (Alfred Faust is now making a complete port of B&P to AmigaOS 4.0)

    regards Tom
  • »25.07.12 - 15:38
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > Alfred Faust is now making a complete port of B&P to AmigaOS 4.0

    So he has restarted the development he stopped in October 2009 for health reasons? And why to OS4.0 and not to OS4.1?

    http://bnp.hansfaust.de/alfa2eng.html
    http://tech.groups.yahoo.com/group/barsnpipes/message/4950
    http://www.amiga-news.de/en/news/AN-2009-11-00004-EN.html

    From February 2011:

    "A word to porting BarsnPipes to other OS-platforms: The first are the custom chips. This is a solvable problem. The MorphOS and OS4-machines are also have no custom chips. For this the most important was, to make a new stabil "heartbeat" for BarsnPipes, based on the timer.device. This included also to write new synchronisation-routines (master and slave modus). The second problem I solved, were the loading routine for the Tools and Accessories."
    http://tech.groups.yahoo.com/group/barsnpipes/message/5043
  • »25.07.12 - 17:44
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    I went home and dug up the Poseidon docs, though I did not see a section the detailed how one was supposed to change the classes assigned to hardware.

    I ended up going into devices and double clicking (or was it right clicking) the USBtoMidi adapter and tried to force it to change to the SIMPLEMIDI.class, but that did not yield positive results.

    Now the USBtoMIDI adapter is bound to no classes and I can not get the previous setting back.

    I think I tinkered around with this for about an two hours last night before I gave up.

    Also, before and after this, within HD-Rec I was unable to select my MIDI instruments. At the moment I forget the name of the window that I was in. I had taken a screen shot, but forgot to bring it with me so I'll have to upload that later if needed.

    To make a long story short I ended up clicking on the button to find the MIDI devices, then that would cause the top bar of the window to say that the program was meditating or what have you.

    Funny, I don't feel enlightened. ;)


    So I screwed up something, just not sure what.


    As for YomGUI...

    ...so he's the guy behind those apps! Next time I take my MoprhOS machine on-line I'll have to download his apps via Grunch and check them out!!

    One thing I am wondering though with his work with Firewire devices? Are these devices as affordable as the USB alternatives? From what I hear the Audio devices run around $75 where as a USB device can be had for around $5 to $7.




    [ Edited by XDelusion 25.07.2012 - 14:03 ]
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »25.07.12 - 19:00
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Andreas_Wolf,
    Quote:





    I'll let you in on a secret. I don't always retain the names of the people I have spoken to on here, let alone every conversation. I don't get on-line but for a few minutes each day and those minutes are generally very busy. I.E. today I brought with me a list of bugs I needed to mail off to various authors, then I had to go on-line and try to work a few things out with Job and Family services for school and this and that, so you know... sometimes I loose track of things. I'm only human after all. :)

    So... about my class bindings. :)
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »25.07.12 - 21:36
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > I don't always retain the names of the people I have spoken to on here, let alone
    > every conversation. [...] sometimes I loose track of things. I'm only human after all. :)

    No problem, so am I after all :-) I just found it amusing that there was just one day between the (admittedly brief) conversation you had with Yomgui about his MorphOS projects and you not remembering anymore who he was and what he did ("some new user on Amiga.org that goes by the name of "Yomgui""), and all this in one and the same thread :-)
  • »25.07.12 - 21:59
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Ya, I know, makes me look like I got a sever case of ADD.

    I remember his posting that, though I never stopped to look who the poster was.

    Though I did remember his name from Amiga.org when he said he may have some knowledge that might help with the USB driver and MIDI issues.

    When I am on-line for good here in about two months, I'm sure my memory will start to improve as well, it's just that right now...

    ...I've got WAAAAYYYYY to much going on in my head. :)

    I'm recently jobless. The state is not helping me pay for school. My car is breaking down, I'm in the middle of a move, etc. etc. etc. And on top of all this, I'm still trying to resolve issues with my Amiga and MorphOS machine. Perhaps I should just take a break from computers until I get moved, though I don't see that happening any time soon. :)

    Anyhow, gotta head back home, talk to ya later!
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »25.07.12 - 22:13
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Alright, I deleted my Poseidon prefs which resolved my class binding issue.

    I installed what I believe to be my old copy of the Camd replacement library. I am not positive that that is the version though, it's just what was installed on my old hard drive.
    Using the camd.library from Aminet only caused SoftSynth to tell me it needed the CAMD.library.

    The messed up thing is that all downloads for the Camd Replacement Library appear to be dead.

    Anyhow, after a reboot I went into Trident and double clicked on the  USB MIDI CABLE device in order to bring up it's information window.

    I right clicked on the 2nd audio interface device and forced it to bind to the simplemidi.class. (after first releasing it of course).
    After a successful class scan I saved Trident's Prefs.

    I then downloaded CAMD tools from aminet.  I fired up softsynth and was able to get my MicrKorg to supply the input!!! :)

    I then hooked up my Akai XR20 drum machine, and without having to change the midi channel, Softsynth was able to detect it too. The only issue I noticed was that the sample kit for the Drums and the Synth sounds produced the same output while the 1 Shots produced their own unique output as they should.

    For the note, I could not get any of the other CAMD tools to respond.

    UPDATE: after typing this, I went back and replaced the Camd Replacement Library with the old one from Aminet. I ran a few more failed experiments then replaced the Camd.library with the Camd Replaemenr Library.

    Though now when I load Soft Synth it says: 

    WARNING: '14 bit driver' changed output frequency to 22030 Hz.
    Loading tone map 'standard'...
    Cannot lock map directory 'PROGDIR:Mapfiles': object not found
    Error opening Tone Map Standard
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »28.07.12 - 01:16
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12157 from 2003/5/22
    From: Germany
    > all downloads for the Camd Replacement Library appear to be dead.

    This could have it:

    http://wayback.archive.org/web/*/http://heim.ifi.uio.no/~ksvalast/nsm/bin/*
  • »28.07.12 - 07:29
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Perhaps, guess I'd have to dig...

    In the mean time the file that I believe is my CAMD Replacement Library is no longer working since I took it out and put it back in.

    Something is very screwy!!!

    I wonder why Softsynth worked before and not now. Changing a library in and out shouldn't have that sort of effect should it?
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »28.07.12 - 17:40
    Profile Visit Website