Is it possible to make one symbol that looks like "26,0,0" ? I'd like to be able to do the command:
(amixer -c 1 cset numid=5 26,2,32768 ( | shell
which would control the hdsp matrix mixer. But the commas make message part before "2", then again on "32768". Any way to get the whole thing in one message?
Regards, Rich
Just found the answer from a previous thread.. sorry for waiting your time!
On 3/5/07, Rich E reakinator@gmail.com wrote:
Is it possible to make one symbol that looks like "26,0,0" ? I'd like to be able to do the command:
(amixer -c 1 cset numid=5 26,2,32768 ( | shell
which would control the hdsp matrix mixer. But the commas make message part before "2", then again on "32768". Any way to get the whole thing in one message?
Regards, Rich
Rich E a écrit :
Is it possible to make one symbol that looks like "26,0,0" ? I'd like to be able to do the command:
(amixer -c 1 cset numid=5 26,2,32768 ( | shell
which would control the hdsp matrix mixer. But the commas make message part before "2", then again on "32768". Any way to get the whole thing in one message?
Regards, Rich
hello, 'addcomma' adds a comma in message box
pc
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Am 05.03.2007 um 10:24 schrieb Patco:
Rich E a écrit :
Is it possible to make one symbol that looks like "26,0,0" ? I'd
like to be able to do the command:(amixer -c 1 cset numid=5 26,2,32768 ( | shell
which would control the hdsp matrix mixer. But the commas make message part before "2", then again on "32768". Any way to get the whole thing in one message?
Regards, Rich
hello, 'addcomma' adds a comma in message box
a shame its not documented anywhere....are there more hidden trix
like that ?
Buogiorno
Luigi
Luigi Rensinghoff wrote:
hello, 'addcomma' adds a comma in message box
a shame its not documented anywhere....are there more hidden trix
like that ?
? it is perfectly documented in the help-patch for message boxes...
however, it will not help rich in his problems, since the comma ha a special meaning in pd (it separates 2 messages). so [amixer -c 1 cset numid=5 26,2,32768( will be interpreted as 3 messages [amixer -c 1 cset numid=5 26(, [2( and [32768(, which is most likely not what he wants. what is needed is one symbol which holds commas.
this can be achieved in several ways, the most "simple" is probably using zexy's [list2symbol] with a delimiter "," which can be generated with [makefilename %c] and a value 44.
like:
[26 2 32768( | [t list bang] | | | [44( | | | [makefilename %c] | | [list2symbol] |
you can acchieve the same with pure pd as well, but it gets more complicated (and you might want pd>=0.40 for better list handling)
mfga.sdr IOhannes
Hallo, Luigi Rensinghoff hat gesagt: // Luigi Rensinghoff wrote:
hello, 'addcomma' adds a comma in message box
a shame its not documented anywhere....are there more hidden trix
like that ?
It's documented: See message-help.pd
Nevertheless "addcomma" won't make a symbol with a comma inside, as commas are used to seperate messages and addcomma adds such a comma.
For controlling amixer you can also use the amixer external from IEM. In CVS it's at: "externals/iem/amixer". For the HDSP there also is an external "externals/iem/hdspm_mixer". Never used it, as my laptop doesn't like the HDSP.
Frank Barknecht _ ______footils.org_ __goto10.org__
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 functionality in the terminal versions, so it is nice to be able to write scripts for them within pd.
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 card did you end up using? I'd love to hear about a linux laptop card that can handle multichannel setups (hopefully 6 or 8) and still run smoothly.. but I won't get my hopes up.
Thanks everyone for the help, Rich
On 3/5/07, Frank Barknecht fbar@footils.org wrote:
Hallo, Luigi Rensinghoff hat gesagt: // Luigi Rensinghoff wrote:
hello, 'addcomma' adds a comma in message box
a shame its not documented anywhere....are there more hidden trix like that ?
It's documented: See message-help.pd
Nevertheless "addcomma" won't make a symbol with a comma inside, as commas are used to seperate messages and addcomma adds such a comma.
For controlling amixer you can also use the amixer external from IEM. In CVS it's at: "externals/iem/amixer". For the HDSP there also is an external "externals/iem/hdspm_mixer". Never used it, as my laptop doesn't like the HDSP.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, Rich E hat gesagt: // Rich E wrote:
Frank, what card did you end up using? I'd love to hear about a linux laptop card that can handle multichannel setups (hopefully 6 or 8) and still run smoothly.. but I won't get my hopes up.
I don't need that many channels, so I'm using a Terratec Phase26 USB with 2 in/6 out.
For your needs you may want to explore Freebob-supported firewire cards.
Frank Barknecht _ ______footils.org_ __goto10.org__
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.
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...)
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