Commit graph

18 commits

Author SHA1 Message Date
Takashi Iwai
88343d7989 us428control - Fix array overflow
Fix the array overflow in accessing Vol[],
   Cus428State.cc:257:32: warning: array subscript is above array bounds

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-08 11:48:45 +02:00
Jaroslav Kysela
a726e5df68 Added configure target to global Makefile and gitcompile to EXTRA_DIST
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-09-09 14:17:10 +02:00
Jaroslav Kysela
880926b3cd gitcompile: return error return code and add GITCOMPILE_NO_MAKE condition
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-19 18:51:25 +02:00
Jaroslav Kysela
c989fddc7e hgcompile -> gitcompile changes (include README files) 2008-06-03 10:39:28 +02:00
Takashi Iwai
89dd8301d9 us428control 0.4.6
Minor clean ups.

From: Rui Nuno Capela <rncbc@rncbc.org>
2007-02-16 18:45:48 +01:00
Takashi Iwai
711d2aec15 us428control 0.4.5
- A new command line option indicates which interface model is actually
present (-m us428|us224|mixxx) -- nb. the mixxx mode is actually
orthogonal to the us428 and us224 ones, which are in turn both mutually
exclusive, so that more than one -m option can be specified in the same
command line, for compatibility sake; default to us428 mode, of course.

- New BANK switching allows for mapping to a maximum of 32 (!) logical
channel-tracks. This introduces effective BANK L/R button functionality.
Under the default us428 mode it now offers a total of 4 switchable banks
(or layers) for the available 8 fader-channels; while in the new us224
mode, one can switch across 8 banks of 4 fader-channels each. Each
fader-channel maps sequentially (0-31) to a logical track in your DAW,
when connected in a MMC closed-loop. This only applies when not in INPUT
MONITOR mode.

- SELECT, REC, MUTE and SOLO state LEDs/buttons/channel functionality
are now split into INPUT MONITOR and BANK modes, so that each bank
(layer) has its own state. INPUT MONITOR mode gets its own independent
state, which is the only that affects the audio interface channel signal
volume (via respective faders) through the internal hardware mixer --
nb. this special mode deals exclusively to channel/faders 0 and 1 (A/B)
and eventually to 2 and 3 (C/D) which are only available on the US-428
and made accessible through modprobe'ing snd-usb-usx2y with nrpacks=1
and thus made usable via the special hwdep "rawusb" interface mode (ie.
hw:N,2).

- The new track-channel mapping gets effectively signaled through
correspondent but rather experimental MMC MASKED WRITE sub-commands for
RECORD, MUTE and SOLO arming. It is important to note that this late
SOLO sub-command is just some MMC implementation mockup of mine, as I
believe there's no support whatsoever for just that from the official
MIDI MMC RP-013 document (which I don't even have access to date:)
However, I've been prototyping around with this, to my own amusement and
home-brew audio/MIDI sequencer, qtractor:
	http://qtractor.sourceforge.net

- NULL fader switch LED is now switchable on/off, but not actually of
any usefulness at this time ;)

I have tried to maintain all previous functionality as it were. Of
course I only tested this new stuff over my own US-224, for which it
surely needs the '-m us224' command-line option. This is also proposedto
be specified in a correspondent udev rule, for all this to work
correctly OOTB for the US-224 at least. US-428 owners don't need to
bother ;)

From: Rui Nuno Capela <rncbc@rncbc.org>
2007-02-15 00:22:20 +01:00
Cedric GESTES
b715a9637d us428control support for mixxx
This patch allow to change the mapping of the us428, the new mapping is
used with mixxx.
To use the new mapping:
./us428control -m mixxx

Signed-off-by: Cedric GESTES <goctaf@gmail.com>
2006-10-05 14:59:38 +02:00
Takashi Iwai
e13da40b0e Add hgcompile scripts
Added hgcompile scripts.
2006-05-12 15:36:52 +02:00
Takashi Iwai
ef87719aec Fix exec permission of cvscompile and add .hgignore 2006-04-07 18:17:19 +02:00
Takashi Iwai
aa16536cb3 From Rui Nuno Capela <rncbc@rncbc.org>:
Tascam US-224/428 MMC Implementation

This is my latest patch against the alsa-tools tree (as of todays CVS
HEAD), regarding the us428control MMC implementation as for the Tascam
US-224/428 audio/midi USB control surfaces:

    us428control now bumps to version 0.4.4.

Interesting points are: jog wheel dialing is now alternating between
spitting out some MMC-Step or MMC-Shuttle messages, depending on transport
state, instead of those MMC-Locate(s) which was an early implementation
mistake of mine.

Controlling ardour with (my) US-224 is getting much more fun now :)

However, there's still some little annoyances due to my lack of advice
regarding ardour's Play/Record control behaviour:

1) Ardour doesn't seem to send out MMC-Play messages when one starts
transport within it (e.g. by clicking the playback button widget).

2) Ardour doesn't seem to react against MMC-RecordPause, which I assume
(probably erroneously) it would be equivalent to clicking on its record
widget button.

3) Sending a MMC-RecordStrobe message to ardour has the strange effect to
start playback while toggling recording off instantaneously.

AFAICT these issues seems to be specific to ardour (0.9beta18.4), not to
us428control which is just sending out the proper MMC messages. Or that I
think.

I would like to settle all this before I'm going off on holidays. Hope
it's welcome and on time for the imminent alsa dot-6 release :)
2004-08-02 11:53:45 +00:00
Takashi Iwai
5313c94163 Added MMC support by Rui Nuno Capela <rncbc@rncbc.org>
MMC support has been improved and transport LEDs is getting almost
functional. Tascam control protocol sysex decoding is also complete (LEDs
control mainly).
2004-07-28 15:56:45 +00:00
Takashi Iwai
e6764b8a6c Karsten Wiese <annabellesgarden@yahoo.de>:
- Two Segmentation fault spots cleared.
2003-12-03 10:39:23 +00:00
Takashi Iwai
6bff5bc37d added header files to pack. 2003-11-25 18:24:18 +00:00
Takashi Iwai
3843634ef0 - moved usx2yloader firmwares to alsa-firmware module.
- check ALSA 1.0.0 in configure.
- fixed typos in README's.
2003-11-25 17:13:39 +00:00
Takashi Iwai
dffbf3c8e4 - don't use kernel stuff. use the values in alsa-lib instead. 2003-11-25 11:52:00 +00:00
Takashi Iwai
a23fe73753 update by Karsten Wiese <annabellesgarden@yahoo.de>:
- Initialize Cus428State::SelectInputMonitor in Ctor.
- Added GPL description.
2003-10-28 10:57:13 +00:00
Takashi Iwai
4e978a5a7e Karsten Wiese <annabellesgarden@yahoo.de>:
This has more features:
- PCM-Volume adjusted to MasteVolumeSlider setting at device start.
- Direct Monitoring Functions adjustable directly on the US428
- Alsa Sequencer Output port for applications to receive the US428 sliders
etc.
2003-10-24 14:01:45 +00:00
Takashi Iwai
994603c4f9 added us428control utility by Karsten Wiese <annabellesgarden@yahoo.de> 2003-10-06 15:57:22 +00:00