ppaez / alsaseq Goto Github PK
View Code? Open in Web Editor NEWALSA sequencer bindings for Python
License: GNU General Public License v2.0
ALSA sequencer bindings for Python
License: GNU General Public License v2.0
Alsaseq - ALSA sequencer bindings for Python Documentation is in folder doc/ in HTML format. The module and its documentation can be found at http://pp.com.mx/python/alsaseq Please provide suggestions and comments to improve! Patricio Paez <[email protected]>
Hi
Apologies if this isn't the correct forum, I'm fairly new at this...
I came across your alsaseq library, and I'm trying to use it in a project that I'm working on - I've been able to use the connectto and connectfrom and send the correct data, however, can you let me know how I remove the connections using the library? Basically, a 'disconnectto' and 'disconnectfrom'...?
I can basically do this by performing a shell-call to 'aconnect -d...' however, that isn't so great...
Hopefully the above makes sense - or am I missing something in the way you're supposed to use the library...
Many thanks
Carl.
Explain the use of multiple threads in the documentation, use tracks.py as an example.
Add a function to return a list of input sequencer ports like the output of aconnect -i
and a list of output sequencer ports like aconnect -o
. Each element of the lists should include client number, name, and a list with port numbers and names, for example:
[(14, 'Midi Through', [(0, 'Midi Through Port-0')]
This will allow a program using alsaseq to search the client and port names and know the corresponding client and port numbers to connect to and disconnect from.
Define and implement support as suggested in #7, integrating in the current alsaseq.output
function and using a string with hexadecimal numbers, for example: "F0411042124000054576F7". Some existing MIDI applications allow this and seems to be ok.
If any of the functions from this module are called before the call to alsaseq.client(), python application crashes.
Example to reproduce:
$ python
>>> import alsaseq
>>> alsaseq.fd()
python: seq.c:1063: snd_seq_poll_descriptors_count: Assertion `seq' failed.
Aborted (core dumped)
Same happens in both python 2.7.6 and 3.5.2
In http://pp.com.mx/python/alsaseq:
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.