-
tshuapa
hello,
i have a problem with a potentiometer i hooked up to pd and connected to sound. i am getting values from 0-1023.
i want the sound to change when the potentiometer is turned, but only when the value change is greater than 10. how could i program this? is there something like an if-function, so i can say "if, value-change is more than 10, then do this & otherwise do something else" ?
i think it could be possible with the expr-function, but i only know how to use it in simpler cases, not in this case.
how would i write that "if-value-change-greater-than-ten"-thing with expr?
thanks so much for any help!! -
tshuapa
i have a terratec phasex24 soundcard
(http://themagicofradio.com/AlsAudioIndex/SoundCards/Terratec%2520PhaseX%252024.html)
and now i want to use it with my patch (see attachment).
i want each of the 4 differrent sounds to be played over a different speaker, so i need 4 different channels.
how do i do this?note: adding attachments seems not to be working right now, i'll try to add the patch later
-
tshuapa
hey
i programmed 4 different sounds in puredata. now i want them to play on 4 different speakers simultaneously, meaning each speaker is supposed to play a different sound.
is it right that i just add a number to the "dac" object to split the sound in different channels? right now i have "dac" four times, so do i just put "dac1", "dac2", "dac3", "dac4"?
and then, apart from that problem, i don't know how to connect the speakers. i have a macbook. what do i need to connect the 4 speakers to it playing 4 different sounds?
thanks for any help! -
tshuapa
hi,
i got my arduino to work with puredata by using hans steiner's pduino / firmata instructions. i pulsed all outputs in "arduino-test.pd" - the led blinks.
now i want to get data from 4 potentiometers and load 4 different sound files in pd. the sound is supposed to change depending on how far the potentiometer is turned.
i am a beginner to pd and have no idea how to start. i couldn't find any helpful pd patches examples on the web, any ideas where i could find one? or a website with more information on connecting sound and sensors with pduino?
thanks for any help! -
tshuapa
that was exactly what i was looking for. thanks so much!
-
tshuapa
thanks for your help!
i am now getting a 1 when the statement is right, like expected.. i attached a photo of that part of my patch. i have to now connect it to the right side of the patch, where the sound is programmed.
i want the analog value on the right side to be read and used only if the value change is greater than 10 - when the expr puts out a 1.
how could i do this? any ideas? -
tshuapa
thanks! i now managed to get values from 0 to 1024 from the potentiometers and connect them to sound. however, one of them is giving me weird numbers like a value of 22394, then sometimes it jumps back into the normal range, sometimes the number box just displays "+" instead of a number. any ideas what could be the problem?