Re: [PD] hot do you get a comma into a symbol?
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 [EMAIL PROTECTED] wrote: On 3/8/07, IOhannes m zmoelnig [EMAIL PROTECTED] 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 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
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. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
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 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] hot do you get a comma into a symbol?
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 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
Just found the answer from a previous thread.. sorry for waiting your time! On 3/5/07, Rich E [EMAIL PROTECTED] 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 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
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 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
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 anywhereare there more hidden trix like that ? Buogiorno Luigi ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
Luigi Rensinghoff wrote: --- hello, 'addcomma' adds a comma in message box a shame its not documented anywhereare 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 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hot do you get a comma into a symbol?
Hallo, Luigi Rensinghoff hat gesagt: // Luigi Rensinghoff wrote: hello, 'addcomma' adds a comma in message box a shame its not documented anywhereare 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