Re: [PD] Solution for deleting files via pd?

2013-01-28 Thread Sebastian Valenzuela
to the various answers On 27/01/13 22:25, Sebastian Valenzuela wrote: Hi list, My Pd patch creates and saves new audio files to a designated folder on my desktop. I would like to have Pd delete these files every time I open my patch ([loadbang]). I've heard the [shell] object

[PD] Solution for deleting files via pd?

2013-01-27 Thread Sebastian Valenzuela
Hi list, My Pd patch creates and saves new audio files to a designated folder on my desktop. I would like to have Pd delete these files every time I open my patch ([loadbang]). I've heard the [shell] object is a possibility, but i'm not too keen on terminal commands or how they will pertain to

[PD] Patch that creates messages with multiple elements?

2013-01-27 Thread Sebastian Valenzuela
Hi, How would I go about building something that takes a number, and creates a message with THAT many consecutive numbers in it, starting with 1? For example: When I receive the number 7, my machine creates a message that looks like [1 2 3 4 5 6 7(... or when I get 3 it creates [1 2 3( I would

[PD] Cursor automation in pd?

2013-01-09 Thread Sebastian Valenzuela
Hi everyone, I can't find the answer to this question anywhere. Is it possible to automate the movement and clicks of a mouse in pure data? Or maybe there is an easier way of doing what i'm trying to do? In my project, I am having pd sense a google talk phone call being made to my browser

[PD] Sample a value from different sliders?

2012-12-16 Thread Sebastian Valenzuela
Hi all, In my patch I am toggling between different sliders and changing their values. I would like to display the value of the current slider I am changing in a number box (Number2). Every slider's value will stay the same when I leave it to change other sliders. I tried creating this, and i've

[PD] 2 triggers to turn on 1 trigger?

2012-12-13 Thread Sebastian Valenzuela
Hey everyone, Simple question I guess, but i'm having trouble with it. 3 triggers... When triggers 1 and 2 are ON, they turn ON trigger 3, but with any other configuration of the first two triggers, the third trigger is turned OFF. How can I do this? Thank you in advance, Sebastian

[PD] Changing the color of a trigger after clicking...?

2012-12-12 Thread Sebastian Valenzuela
Hi again, I've seen this in code before but I can't seem to find it! I have on/off buttons that I'd like to be RED when they're off, and GREEN when they're on. Does this require making a button disappear Does anyone have experience with this? Thank you in advance, Sebastian

[PD] Text with bigger font?

2012-12-05 Thread Sebastian Valenzuela
Hi, I'd like to title sections of my patch (ex. Reverb, Levels, etc.) in bigger font. The only way I know to do this is by writing comments, then increasing the font size in the edit menu... but this increases ALL font sizes! Is there any way of creating text in my patch with bigger font without

[PD] Creating an Automatic Offset Adjuster

2012-12-02 Thread Sebastian Valenzuela
Hello, I'm creating a patch that will adjust the volume of an incoming signal. It is controlled by the Yaw of a wii remote connected to my laptop via bluetooth (OSCulator app), but i've found that the data from the remote's gyroscope is constantly changing. For example, i'll turn the remote so

[PD] 2 color questions in GEM

2012-11-26 Thread Sebastian Valenzuela
Part of the function of a patch i'm working on requires the background color to change according to the first 8 numbers on my number pad. I've assigned a variety of different colors to the numbers 1-8, but i'm finding that 2 of them are yellow... when only one should be yellow and the other

[PD] Highest and Lowest values of array?

2012-11-06 Thread Sebastian Valenzuela
I imagine this isn't very difficult to do, but i haven't been able to find it anywhere. I have controller data constantly begin written (and updated) into an array - What is the easiest way to extract the highest and lowest numbers from this array as these two variables change? I'm not looking

[PD] Binary to Decimal numbers

2012-10-17 Thread Sebastian Valenzuela
Hi all, I have 4 toggle switches that I would like to turn on/off in order to produce binary numbers from 0-15. I thought of using [pack] to put them all together... but then I wouldn't know how to call on them when they are in particular arrangements (subsequently triggering numbers). There must

[PD] Gradually speed up sound file

2012-10-17 Thread Sebastian Valenzuela
Hi all, I'm reading a sound file by sending a message of [848900 19000( to [line~] which then goes to [tabread4~]. Playing it this way results in the normal speed of this file. I'd like to start this sound file slower than normal and linearly speed it up as it moves along. I'm totally stumped on

[PD] Add or subtract the number 1 from number box

2011-12-14 Thread Sebastian Valenzuela
Hi, Fairly simple idea, but my teacher and I can't wrap our heads around it. I'd like to change the value in a number box by pressing a button to subtract 1 and another button to add 1 to a number. I know i can just click and drag the number in a number box, but i'd like the individual step-wise

[PD] [gemwin] - Storing window-shots and changing view?

2011-12-12 Thread Sebastian Valenzuela
Hi everyone, I have two big questions regarding the graphics object [gemwin]: How does one change the focus of the graphics window? For example, we are using a computer video camera to look at the surface of a pepperoni pizza (in real time), but i want to change the view so that all you see is

[PD] Detect a stagnate number

2011-11-14 Thread Sebastian Valenzuela
Hi everyone, When I was learning ChucK I remember being able to do this with boolean logic: Receive values from integer X. If X stays the same for a period of at least 1 second... (to end this sentence in Pure Data) I'd like to send a single bang. So I'd like to build something or find some

[PD] Ignore initial impulse/bang

2011-11-14 Thread Sebastian Valenzuela
Hi, I would like an object or a construction of something that would ignore the first bang it receives. To be more descriptive, If something outputs a bang when it receives one, I would like it to output a bang the SECOND time it receives a bang. Also, if possible, I would like to reset this

[PD] Audio line circuit breaker?

2011-11-14 Thread Sebastian Valenzuela
Hi again, Can such a thing be built? Something you can put in between an audio source and audio receiver (like an osc~ object going to a dac~) that would either break that signal or allow audio to flow from one to the other (On/Off). There is probably a very easy answer to this. Thank you for

[PD] Sigmund~ or Bonk~ question: discerning input between two sounds

2011-11-08 Thread Sebastian Valenzuela
Hi everyone, I'll be beat-boxing (with my voice) TWO sounds into my computer microphone: a Kick drum sound and a Hi-Hat sound. I would like to use some sort of spectral analysis object to send bangs when it recognizes them. I ran these two sounds through a spectral analyser and found that the

[PD] Hold integer until bang object??

2011-10-16 Thread Sebastian Valenzuela
Hello, Is there an object that will hold a number it has received and wait for an incoming bang to go ahead and SEND that number through its output? Or is there a way to make this work? I would need this to work more than once. For example: *send 41 to object*, *send bang which releases 41 from

[PD] Hold TWO numbers until bang??

2011-10-16 Thread Sebastian Valenzuela
Hello, Is there an object that will hold TWO numbers it has received and wait for an incoming bang to go ahead and SEND them through its output? Or is there a way to make this work? I would need this to work more than once. For example: *send 0.123 1500 to object*, *send bang which releases

[PD] Output numbers consecutively, one at a time in PD

2011-09-12 Thread Sebastian Valenzuela
Hello, I need an object that will output a sequence of numbers [that I would program], one at a time, every time i send it a bang. I need this to loop. So if my set of numbers are [2, 5, 7] it would go... bang - 2, bang - 5, bang - 7, bang - 2... etc. Is there such an object? If not, what

Re: [PD] Output numbers consecutively, one at a time in PD

2011-09-12 Thread Sebastian Valenzuela
( | [list append 2 5 7] | [list-drip] | [print] On Mon, 12 Sep 2011 13:48:44 -0500 Sebastian Valenzuela svalenzuelamu...@gmail.com wrote:  Hello,  I need an object that will output a sequence of numbers [that I would  program], one at a  time, every time i send it a bang. I need

[PD] Transposing samples using MIDI numbers

2011-09-12 Thread Sebastian Valenzuela
Hi, Is there a way to transpose the sound of a sample [stored in a table] to match a pitch/midi note number? In my project, when a sample is played back [using tabplay~] I would like something to tune that sample to say, midi note 69 or A 440. I would like to be able to send this number to the

[PD] Can GEM select a color from an image?

2011-09-10 Thread Sebastian Valenzuela
I am in the process of writing an algorithmic piece where I take pictures, determine the most prevalent color in that picture, then store that as a number in an array. I would then call on these numbers to determine the triggering of samples. Is there an object in Pure Data that can determine the

[PD] pix_write questions

2011-09-10 Thread Sebastian Valenzuela
Subject: pix_write questions Hello, I would like to capture an image from the streaming video im getting in the pix_video object using pix_write. I would then want the outlet of pix_write to send that captured image to be loaded in pix_image. Here it is again: pix_video pix_write