Coder Social home page Coder Social logo

alsaseq's Introduction

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]>

alsaseq's People

Contributors

ppaez avatar djordjeglbvc avatar bgribble avatar hoorkeet avatar mungewell avatar

Stargazers

 avatar  avatar  avatar rcollina avatar  avatar Renich Bon Ciric avatar

Watchers

 avatar James Cloos avatar  avatar

alsaseq's Issues

Enhancement request: DisconnectTo / DisconnectFrom

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.

List input and output ports

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.

Support Sysex messages

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.

Calling functions before initializing module causes application crash

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.