Double oops... sorry I accidently hit reply instead of reply to all.
Now I see you can access all the soundcard's features through [amixer], nice IOhannes!
So, I guess the only thing that would help is a help file... amixer is kindof a tricky tool.
cheers, rich
On 3/9/07, Rich E reakinator@gmail.com wrote:
On 3/8/07, IOhannes m zmoelnig zmoelnig@iem.at wrote:
Rich E wrote:
I messed around with iem's amixer and hdspm_mixer ( had to change it a little to allow the hdsp) a while back, but there is alot more
the hdspm_mixer was written with the hdsp-madi card in mind, and not with normal hdsp cards, so it is likely that it did not work out of the box.
however, it would be great if you could share your code so it can be included in the hdspm_mixer code and everybody can profit from it.
The only thing I did was edit the strncmp line in hdspm_mixer.c ( line 33) to check for the hdsp multiface as well as the hdsp madi. I forgot the exact name and I lost the file along with my old harddrive, but I remember that it seemed to work ok. But it didn't have any more functionality than amixer, such as getting and setting the channel gains.
additionally i'd like to know which functionality is missing in the
amixer object, as i would like to improve it to make it more usable. probably file a feature request at sourceforge.net (because else, i will probably forget about it...)
There are alot of options on the hdsp, such as setting wordclocks and samplerates. Not really things that need to be scripted, but who knows. I like being able to print out info about what is going on too, which works using [shell].
One thing that I am trying to figure out though.... how would you go about monitoring the levels that are being sent out? the hdspmixer shows them, but I can't find where in the code they calculate the amplitude envelope.
rich
functionality in the terminal versions, so it is nice to be able to
write scripts for them within pd.
yes of course; and the world does not end at amixer and it is likely that the problem with commas will re-appear at another application where there happens to be no external available.
As for the HDSP, I'm about to throw mine against a wall. After months of fiddling, I can get 4 channels of 88.2k audio in and out ( but not
8
channels of 44.1k... which boggles me. I get constant dropouts with
the
ALSA driver), but even that is at a 30ms latency cost. Frank, what
weird, here i do not remember having much problems with these cards.
mfng.asdr IOhannes