[linux-audio-user] Jack module-playing fun

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-user] Jack module-playing fun
From: janne halttunen (jhalttun_AT_pp.htv.fi)
Date: Mon Dec 09 2002 - 20:16:46 EET


Hi all,

despite of my hunt with google, I just couldn't find any module-player with jack-support. So, I wrote a small script. The xmp module-player allows for playing individual tracks from a module-file, and ecasound gives them out to jack. Yeah, it is an ugly hack, (better would be jack-support to xmp) but it sort of works (though not perfectly: connecting ports is slow).

--cut--

# python jmp.py --help
xmp.py options:
usage: xmp.py [options] module-file

    -b, --buffer set buffersize
    -r, --rate set sample rate
    -c, --channels override number of channels
    -l, --looping loop module
    -n, --noconnect don't connect jack-ports to alsa-playback
    -q, --quiet
    -v, --verbose

NOTE! external programs required:

Extended Module Player: http://xmp.sourceforge.net/
Ecasound: http://eca.cx/

# python jmp.py /home/janne/biisit/drumble.xm --looping
Jack Module Player v0.1a
connecting ports........done.

# jack_lsp
alsa_pcm:capture_1
alsa_pcm:capture_2
alsa_pcm:playback_1
alsa_pcm:playback_2
ecasound:xmp_1
ecasound:xmp_2
ecasound:xmp_3
ecasound:xmp_4
ecasound:xmp_5
ecasound:xmp_6
ecasound:xmp_7
ecasound:xmp_8

--cut--

Get it here:

http://www.pp.htv.fi/jhalttun/jmp.py

cheers,

janne


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Dec 09 2002 - 20:19:54 EET