• quantum

    Hi All,

    Is there somewhere I can find some how-tos on using bash scripts with [shell]

    I *think* I'm able to get [shell] to run them, but how do I pipe in variables for the script to use?

    posted in technical issues read more
  • quantum

    Hi Folks,

    So I'm building this patch that will be controlled by a somewhat complex hardware controller that I'm building. No mouse, no keyboard, no monitor, and no midi. Midi is too slow, and doesn't provide enough resolution for analog controls (knobs et al).

    What I'd like to do is build some sort of serial port / usb / ethernet interface that I can drive my shift registers and analog multiplexers with, but I really don't know where to start.

    I don't think the serial external will work because (1) I can't find any documentation for the damn thing, and (2) it seems like you can only send data to the serial module, not receive data from it.

    Does anyone have any ideas on where I can start with this?

    I have no programming knowledge, so using a microcontroller will probably not be practical. Unless it comes out of the box as a pre-programmed SOC that can do all these things (which I think is unlikely)

    Oh yeah! I also need to control this with pd!

    Wow, reading back over my post, I think this will be a lot more complicated than I originally thought. Oh well, nothing's impossible.

    If anyone has any ideas, and / or can point me in the right direction, I'd really appreciate it!

    Thanks

    posted in technical issues read more
  • quantum

    Hi all,

    So I'm controlling this patch with a midi controller I made. I've created abstractions that contain logic to filter out everything but the note#, cc#, & midi channel# that they're supposed to.

    The abstractions work fine, the problem is that for each button press, they send out multiple (2-3) bangs.

    I've timed the bangs, and they're all sent out simultaneously, so I can't make a timed blackout abstraction to solve the problem.

    Is there a way to filter out all but one of several simultaneous bangs or to keep them from occuring?

    I've attached the structures and abstractions, and I'm using ubuntu studio 8.04 w/ PD extended 0.40.3

    Let me know!

    Thanks

    http://www.pdpatchrepo.info/hurleur/help.zip

    posted in technical issues read more
  • quantum

    is there a terminal pd external?

    Something that would function as a linux terminal/console that I could send commands to?

    I'm looking for a way to control non-music (osc/midi) programs that would control lcd screens, and do advanced file operations that are outside the scope of pd

    Thanks!

    posted in technical issues read more
  • quantum

    Hi

    I'm building a live performance device, and I need a way to load audio files.

    The problem is, I'm building an interface to control my pure data patch, and I can't use a monitor, keyboard, or mouse... only midi.

    I've been playing around with [playlist], which does 95% of what I need it to. Unfortunately, I can't open files, or move through the file system without using my mouse.

    Is there a way to have [playlist] output the path of everything it selects, including directories? If that's possible, I can just throw the path back into [playlist] to open the folder.

    Right now I can only get it to output the path of files I select.

    If that's not possible, are there commands for playlist that I don't know about? Something that will let me open with a bang driven message? If not, is there another module that will let me explore file systems in pure data ([openpanel] is not an option - it needs a mouse/keyboard)?

    Thanks! Let me know if you have an idea for an alternate method I haven't thought of.

    posted in technical issues read more
  • quantum

    Cool thanks

    How do I know what order the script variables are in?

    Also, how do I set up scripts to send and receive messages over netsend? Can I set up scripts to communicate over OSC?

    posted in technical issues read more
  • quantum

    ok I've looked into voltage divider function...

    I'm curious, why aren't you using resistors to bring down the voltage?

    posted in technical issues read more
  • quantum

    I'm not really sure what voltage dividers do...

    My controller is comprised of buttons, potentiometers, and LEDs, so my plan was to use shift registers to get the button state into the controller, and turn the LEDs on and off, and multiplexers to bring the analog data in

    posted in technical issues read more
  • quantum

    Sounds good to me

    I haven't gotten very far in the controller design from a functional perspective, I'm just working out my practical plan of attack at this point.

    I'll probably pick up a diecimila and start playing with it before I get any pcbs made though, and I'm *sure* I'll have all sorts of problems with it.

    posted in technical issues read more
  • quantum

    Sunji,

    I'm starting to work with bash scripts, but I can't figure out exactly how to use them with [shell]

    I can have [shell] open the script by sending the script name to it, but I cant pass any other variables to it after that.

    Is there somewhere I can read about using bash scripts with [shell]?

    posted in technical issues read more
  • quantum

    Wow that arduino looks awesome...

    I may have to pick up a diecimila and play around with it...

    Will pd grab controller data from is, or should I use HID?

    posted in technical issues read more
  • quantum

    Is there a way to user symbols with expr?

    Everytime I write an if/then expression, PD says syntax error... which kinda sucks, because it would make my like a lot easier if I could easily detect file extensions etc etc

    posted in technical issues read more
  • quantum

    Ok hardoff, that did the trick! Thanks

    Actually, reading up on the delay function, it turns out that it can only handle 1 bang at a time anyway... so I took it a set further and did this:

    (input bang data)
    |
    [delay 0]
    |
    (bang output)

    Which also works.

    Thanks!

    posted in technical issues read more
  • quantum

    What setting do you have it on now?

    You should probably use asio if you're using windows. It's Steinberg's "Audio Stream Input Output" api, and you'll be able to get much lower latency with it.

    Make sure you don't have the latency set too low, set where you don't get any crackles and pops. I know that, at least with cubase sx, if asio goes in and out of sync to much, it will crash.

    Hopefully that works. If not, post up some more detailed info about your setup and system settings.

    posted in technical issues read more
  • quantum

    thanks, I'll give this a try

    posted in technical issues read more
  • quantum

    I don't think that'll be a problem. I don't know the first thing about scripting.

    I just need a way to list files (without using playlist)

    posted in technical issues read more
  • quantum

    awesome thanks!

    posted in technical issues read more
  • quantum

    ... also if I could send the terminal output into pd too, that would be awesome

    posted in technical issues read more
  • quantum

    Thanks Boonier

    The seek/scroll commands work fine. The problem is that I can't find commands to move through the file system (open/back).

    So if I want to open a directory or go back... which message does that?

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!