I am really trying to get set up to have puredata as a DSP effect unit. I ran some tests using this:
guitar---> boss gt-10 input
gt-10's usb digital in/out---->computer,
and then within PD, I had a simple chain going:
[DAC] .....( i think those are the right names for the cells, just basic waveshaping)
the [cos~] block on its own sounds incredible on guitar. I really want to have it except there was about 200ms latency which made it impossible to really use... I even downgraded the sample rate to 11025 and I couldn't close enough to make it usable. Is it just not possible to do USB signal processing without latency?
Honestly, I think it would be an extreme coincidence if anyone had an immediate use for this patch but I wanted to post it anyway in case there was some component you wanted to take out of it and use.
Briefly this patch uses the ctrlins55-95 to attach pitch bend values to incoming MIDI notes 35-98.
The problem I was trying to solve with this is that I have a sampled phrases chopped up into 14 or so slices, and I want to be able to pitch them all differently on the fly. This would have taken 350 dedicated pads! (14slices x 25 pitchs in a 3 octave span). So this pretty much gives me a pitch knob per pad.
Also if you do make use of this remember to separate each instrument to a different midi channel to keep the bend ranges from getting mixed up
I've been making this patch Im certain everything ended up working the way I wanted it to until the note output,
I think what I actually need is polyphonic MIDI output, to get the destination hardware to give monophonic audio output.
The most plainly I can put it is I have a sequence of 8 steps, I'd like each step to also send a note off value for the previous step.
Thanks for any help, this site is helping a lot.
in the attached patch, my problem is down at the very bottom. I was able to get each midi note number of the 8 steps isolated, you can see the "read midi note" boxes are attached to "r vtx" boxes, this allows access to the current step midi note message as well as the 8 previous steps midi note messages. From there I can't seem to figure out anything that works.
I apologize for being such a noob, I've been playing with pure data for years now and I still don't have a grasp on sequencing.
I've been using the tables and metro objects, after the youtube tutorial. but I find they actually don't work out so well, it seems there is a good chance I will lose the ability to read some data off of tables after adding new messages to them. I made sure Im pretty that sure I was adding the message data to the table in the right order, and the patch worked fine initially, only after changing the message data did I start having problems where the sequences were only halfway incorrect.
here is a picture of what I need (I imagine this must look so simple to a lot of you on the board):
A is the tempo with selectable ratio
B and C are my "sequencers"
is there something in the "doc" folder I can try to substitute to get a better sequencer? Id like to not even have to use edit mode to change my sequences if possible.
good tips everyone! Im running windows 64bit but Ive been thinking of making the switch to linux. Hopefully I will have some luck upsampling, I did not know I was adding latency by downsampling.
And about soundcards, the boss GT-10 floor effect is in the place of where I would be using one. It sends and receives signal over a USB cable. I was under the impression this is about all the hardware I need to at least process guitar through PD but if there is any interface you can think of that is known to be good for DSP would like to research it
Thanks again so far, I post what ended up working if I get a decent latency.
ok, I made a bit of progress, the attached file is what I have so far. It works, Its an 8 step sequencer, using delayed bangs, and it controls for each of the 8 steps individually: step length, note duration, individual midi note number and velocity, all in real time.
Its not exactly what I had in mind for how the note durations work, but this allows for a pretty cool stutter effect. I think I just have to wrap my head around what the MIDI note duration values really stand for.
If anyone wants to take a look Id appreciate feedback, the guts of it are all laid out at the bottom there
ok yes, that division within the "f" and "+ 1" objects makes it a lot cleaner. Thank you.
I think I found the solution for what I want right now is to not use the message box, I just open the table and left click to get properties and manually enter data. This can't be saved but it works for right now.
I eventually would like to get the sequences to have real time knobs to change any value in the sequence, but Im getting a lot of use out of this as is anyhow.