• seba1685

    In my patch I use [obj 10 $2 table rec-$1( to create the tables "table rec-1", "table rec-2", etc.

    This message is fed into in order to create the previously mentioned tables WITHIN the canvas/subpatch [pd storage].

    After a threshold is met, I would like to delete old tables. For example, once there are 10 tables, the creation of table 11 would delete table 1, and so forth...

    Is there a message I can send to my canvas/subpatch [pd storage] to tell it to delete a particular table?

    Or is there a different way of deleting tables?

    Thank you in advance,
    Sebastian

    posted in technical issues read more
  • seba1685

    Hi,

    So, i'm a little confused. I have audio files that i'm playing back, then feeding those into [sigmund~ env] which is giving me the amplitude of said files. I would like to display their RMS levels in the VU meter, but sigmund outputs volume between 0-100 I think... and knowing that RMS levels follow an equation, how do I make the conversion from sigmund to the VU meter? Also, is there any way to get my audio file's peak level as well? That would be pretty cool to display both of these things in the VU meter.

    I am using [tabplay~] and [readsf~] to play back files.

    Thank you for your time!
    Cheers,
    Sebastian

    posted in technical issues read more
  • seba1685

    I was wondering if there was a command I could send (maybe to ?) that can change the dimensions of the Console? If so, can I also decide where on the screen to put it? Just something that would be nice to set up via a [loadbang] for an installation.

    Thank you,
    Sebastian

    posted in technical issues read more
  • seba1685

    Hey everyone,

    This post might sound a little strange, but i'm giving it a shot to see if I can find any useful information.

    I'm working on my first, continuous sound installation for an art show in mid-May. It involves live sampling of speech (random, short durations between half a second and 5 sec.) interspersed with playback of random files (I have 20-something files now, but the list will grow) to produce an ambient soundscape of speech fragments mixed with randomly chosen audio files.

    My ULTIMATE goal is for this piece to maintain interest over a LONG time (the show's length is about 2 hours), and I feel like this will be tough to do. Sampling of voice will not happen continuously, so my patch will have to work with the samples it has acquired. Every time the voice is sampled, someone new is speaking.

    I already have code to sample randomly and playback, I'm just curious if anyone had any ideas/tips on precautions I should take before making my MASTER random playback device, or any ideas on how to maintain interest with the sounds. One problem I already see happening is that the more voice samples I add, the less my program will focus on the most recent voice... it would continuously sound more and more dense (hmm... maybe i'll take away old files after a certain limit has reached...).

    Any ideas? Or installation patches/performances that I can see for ideas/inspiration?

    Any help would be fabulous :)
    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    I'm designing a patch to be used by others, and there is a canvas that worries me. It holds important buttons and triggers that I DONT want anyone to touch, because they are controlled by software independently.

    Is there a way I can make canvases "view only" so that people don't accidentally press buttons? Maybe an invisible layer of some sort which shields clicks from activating buttons/triggers/etc.?

    Thank you,
    Sebastian

    posted in technical issues read more
  • seba1685

    Is there any way of receiving this kind of information? I could really use it in my patch. At the very least, a "bang" when I turn on/off the DSP.

    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    I know I can change my settings to something different so it appears THAT way every time I open pure data, but I would like to avoid that. Instead, I would like to have my patch change the audio settings once I open the patch... via a loadbang [to some messages??].

    More specifically, for this current project, I'd like my patch to set my macbook pro's output to my external dac (a Presonus Firestudio), and set the input to "Built-in Input"... all when I open the patch.

    Is there any way to do this? maybe using messages?

    Any help would be greatly appreciated :)

    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    Can this be done? I'm using [getdir] to get the directory of my patch, but then I'd like to change the last item to the name of a file in the folder.

    So for example, this is what i'm getting from [getdir]:
    /Users/svalenzuela/Documents/Code/Pd Patches/SoundSampler_Installation_P2

    And I'd like to change it to this:
    /Users/svalenzuela/Documents/Code/Pd Patches/PickUp.app

    Keeping in mind that the directory might change! If, for example, the application is moved onto a different computer.

    Thank you for your thoughts- this is a big part of my current and future patches. Any ideas will be greatly appreciated!

    Best,
    Sebastian

    posted in technical issues read more
  • seba1685

    Hello,

    This is pretty straightforward, I'm just having trouble finding a solution. I'm receiving either 1's or 0's from a source, and I'd like to output a "1" or "bang" ONCE, every time I receive "1"...

    Thank you for your time, any help would be appreciated
    -Sebastian

    posted in technical issues read more
  • seba1685

    Hello,

    I'm using [list-drip] to send messages to [shell], and even though they are being sent in the right order I believe they are sent TOO FAST.

    How do I insert a delay between consecutive messages? For example: [list-drip] outputs "Uno", then waits 1 second, outputs "Dos", then waits one second, etc...

    Any help would be greatly appreciated!

    Thank you,
    Sebastian

    posted in technical issues read more
  • seba1685

    Hi!

    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 [shell]...

    Can anyone please give me an example of a command I would send to [shell] to delete all files within a specified folder on my desktop? If this isn't the best way to do it, is there another possibility through Pd?

    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    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 (Google Chrome). It will wait for one "ring", then I'd like it to move the mouse and accept the call on the browser. One problem I see with this is that it might stop once it clicks out of the patch..?

    I know there are other automation programs out there; I was actually working on some code in AutoIt to accept that call. But i'd like to do it all in pd, if possible.

    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    I've heard of relative and absolute addressing, and I think I understand the terms, but I'm not sure how to... write that out. I'd like to apply it to saving or pulling up saved files. Specifically in relation to [writesf~].

    In more detail: Lets say my patch's name is Patch.pd, and it is saved in the folder "Outer". Also in this folder is another folder named "Inner". In my Patch.pd I want to send an [open( message to [writesf~] telling it to create/save a file in the folder "Inner".

    Can that be done so that wherever I move the folder "Outer" it will not mess up the directory? Also, what does the ".." mean before writing a folder's address?

    Thank you for your time!
    -Sebastian

    posted in technical issues read more
  • seba1685

    Hi All,

    I've got a constant stream of numbers that are either 1 or 0. The stream is always just one of those numbers repeating, until it switches to the other number, vice/versa... something like " 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1..." etc.

    When the number changes, I would like to output that new number ONCE. So, instead of giving me "0, 0, 0, 0, 0, 0..." I would just like "0"... and it would change to "1" when the number stream changes to a repeating "1". I'm sure this is super easy, but i'm having trouble coming up with a solution :(

    Thank you for taking a look at this :)
    -Sebastian

    posted in technical issues read more
  • seba1685

    Sometimes i'll be changing a number quickly (ex. clicking and dragging a number box number) and at other times a little slower (ex. individually incrementing a number by pressing a button/key)... but I would also like to send a bang automatically as soon as i've *paused* this increase/decrease of numbers. The *pause* is subjective, so lets say - 1 second.

    Is there an object that can send a bang as soon as I stop changing numbers for 1 second?

    I'm sure i'm over-thinking this, there has to be an easy solution...

    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    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 ALMOST got it, but the sliders change everytime I leave them :(

    Can anyone take a look at my patch please? I've attached it
    I would greatly appreciate any help.

    Thank you for your time,
    Sebastian

    http://www.pdpatchrepo.info/hurleur/Changing_sliders.pd

    posted in technical issues read more
  • seba1685

    Good morning,

    I am trying to come up with an object that will gradually increase/decrease a given number while it is ON, and stop/reset this speed of increase/decrease when it is turned OFF. This action will happen when I hold down a button/key, and I've been able to do this at a consistent speed by turning on/off [metro], but now i need to gradually change metro.

    I'm interested in trying this out using the formulas that create different Bezier curves and such... - in other words, something that starts slow, and gradually increases the rate of change. But I don't know much about how to build these different curves.

    Could anyone help me out please?

    Thank you for your time,
    Sebastian

    posted in technical issues read more
  • seba1685

    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

    posted in technical issues read more
  • seba1685

    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

    posted in technical issues read more
  • seba1685

    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 the yaw turns the volume up 100%, then i'll move it around, but when I come back to this same position the yaw/volume will be 75% up.

    To fix this I've created a subpatch that stores the raw Yaw data into an array and uses the min/max of that array to adjust the range of the yaw data controlling the volume. The problem is that i've set the array to write over itself after the 99th index... so the min/max values are only stored for a few seconds before being over-written. This auto-offset adjuster works great ONLY for those few seconds where the array isn't over-written.

    Does anyone know the best way of doing this?

    I've attached the subpatch. Its hot inlet is where i send my raw gyroscope data, the cold inlet is used to turn on/off the patch, and the outlet is the scaled data (between 0-1) which controls volume.

    Sorry for the long message, thank you for your time.

    -Sebastian

    http://www.pdpatchrepo.info/hurleur/auto_offset.pd

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!