watzo / aksy Goto Github PK
View Code? Open in Web Editor NEWa Python based API to access and control Akai samplers through USB (clone of https://code.google.com/p/aksy/)
License: Other
a Python based API to access and control Akai samplers through USB (clone of https://code.google.com/p/aksy/)
License: Other
is there somewhere i can find instructions on building this in windows, i followed the instruction in the code download to install Python 2.7, libusb (win32)<--got it recognizing the MPC4000 and have a driver installed on win10, installed the pygtk all in one and msys to build but i am running into pip and setuptools issues it seems. i also have an XP Virtual Machine i could work on as well.
One other thing i thought about was it being possible to simply create a better usb driver to use with the original AKSYS on modern machines(the dreamer iam)
Hi, I recently got a z8 and came across this project but I haven't been able to build it. I generally develop in .net on windows and I'm trying to build this on osx so I am a bit outside my usual environment. Any chance you could detail the build process for me? or even supply binaries?
There is some interest in this project on https://www.facebook.com/groups/akaisamplers/2342084515813173/?comment_id=2342129809141977¬if_id=1549312020961792¬if_t=group_comment_reply :D
using
python setup.py build
fails with
building 'aksyx' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DAKSY_DEBUG=0 -I/usr/local/Cellar/libusb-compat/0.1.5_1/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/aksyx/aksyx.c -o build/temp.macosx-10.10-intel-2.7/src/aksyx/aksyx.o
src/aksyx/aksyx.c:5:10: fatal error: 'usb.h' file not found
#include <usb.h>
^
1 error generated.
error: command 'cc' failed with exit status 1
same error on two Macs, one running 10.10.5, the other 10.12
both running Python 2.7.10
Hi there!
I am the original author of Aksy, and was thinking of migrating it to Github and reviving the project a bit as ak.sys is now really obsolete..
Did you do some work on this repository or is it a verbatim copy of the HG repository at Google code?
Thanks!
Regards
Walco
Dear Walco van Loon,
I had used aksy and aksui a long time ago, then I forgot about it. Recently I thought it would be worth trying again.
I don't know if you are still interested in the aksy project, but I would like to share with you what I did recently (under Ubuntu 20.04.3).
I have been thinking about it for years and since this summer I tried to update aksy to Python 3.
It is not easy because I am very far from being a good programmer, but since I have an Akai Z4,
I found that interesting as a challenge. I don't always understand what I'm doing, but I'm moving along.
For aksyx.c, aksyxusb.c and aksyxusb.h, the main challenge was to use libusb 1.0 (many change occured since version 0.1).
Everything is not finished, nor tested. For my case only, I wrote a simplified version of the file "setup.py" (because I was blocked by several things that I did not understand). At first I had tons of errors and warnings, then I came up with something.
Then, I install the file "aksyx.cpython-38-x86_64-linux-gnu.so" by: sudo cp *.so /usr/local/lib/python3.8/dist-packages/
For the Python 2 to 3 conversion of aksui, strings were replaced by bytes objects.
The sysex.py and sysex_types.py modules took a lot of work, and it's probably not over yet.
There were other small changes but I didn't necessarily notice them.
I wrote a simple little test: "z4_usb_test.py". It is promising. It's amazing how much is still working after so many years.
I would also like to try to update the aksui package. I have a little bit of experience with GTK3, QT5 and tkinter.
Glade files update is almost complete, but I haven't made any further progress...
Maybe no one uses those old devices anymore ... But it amuses me to try to keep them operational.
Maybe I won't get very far for lack of time and motivation, but maybe what I have done could be of use to others, who knows?
Can you give me an email address so I can send you what I did?
Best regards.
CM
To properly support modern Windows versions, https://libusb.info/ is the current supported version of libusb.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.