-
Balwyn
and here is yet another way, using [sgn~] and [avg~] in a subpatch to determine whether the dsp is on and [switch~] to disable the audio use after the notification
dsp-check.pd
-
-
-
Balwyn
You can click on the [qlist] object or send [click( in a message and this will open an editor, after editing, close the editor and a dialog box asks if you wish to save, click yes. This only saves to memory, you will need to use the [write( message to make it permanent.
-
Balwyn
@Spacechild1 Excellent!!, Loads the rgc:audio sfz+ with a 250MB soundfont ready to play from a loadbang.
I'm really impressed, Thank you
Cheers
Balwyn -
Balwyn
Hi,
I think I know what you mean. something like this may work for you.
The abstraction [range n n ] takes that range of notes and [list prepend n] prepends the channel number to the list ready for routing or output
channel-allocator.zip
-
Balwyn
If you hold down the alt key, then type 0126 on the number keypad then release the alt key, do you get a ~ ?
-
Balwyn
@ingox said:
@Balwyn The cursor is not working here...
I can't see what would prevent the cursor from showing, other than pressing the enter key.
The cursor is inactive until the box is clicked which starts the [metro 500] and the toggle sends $0-flash to the [drawpolygon] to turn it on and off.
However I did fail to mention usage, which I have now added to textentry-help.pd in the original post
I have also added it to the text of the original post. -
Balwyn
Two days ago I uploaded an idea for a text entry box and asked for ideas to improve it.
@ingox showed a far superior way to achieve the text handling and a recommendation to capture a click via a struct..
I've taken the liberty of using a big chunk of ingox's code.
I've added a cursor - mostly to show the box is still active
This is the result.
textentry.zip
Usage:
Click anywhere in the box to activate, the box will be cleared and the cursor will appear and flash at left side.
After typing, press 'enter' and the box will output a symbol of the text, the cursor will be hidden indicating the box is now inactive, but the text remains until the box is clicked againSetting Up:
Messages are currently the only way to set the properties. Decide the number of characters and the font size first
Then make sure you are not in edit mode and type characters from the start until the maximum characters are reached
Now size the box so that the right side is the same as the text width, and centre the text up and down with textpos
All the other properties change at any point.IMPORTANT:-DO NOT type a backspace in the box when in edit mode, it will delete the [textentry] object
IMPORTANT:-textentry is only suitable for monospace fonts
IMPORTANT:-always have the box width the same size as the width of the maximum characters typed or the cusor position will be wrong.
PROPERTIES
size nn (width height)
textcol n (struct rgb format 0-999)
backcol n (struct rgb format 0-999)
bordercol n (struct rgb format 0-999)
cursorcol n (struct rgb format 0-999)
fontsize n n (font fontsize)
textpos n n (left top)
chars n (max characters)
cursorwidth n
borderwidth n -
Balwyn
I've always thought Pure Data lacked a native Textbox widget that was customisable.
So because the sliders output a bang when clicked, that's what I've used as a base.
This is very much an early stage project and I am looking for input/ideas on how to improve it
a-text-entry.zip
-
Balwyn
I've just noticed an error in the [widgets/option-buttons} that I have now fixed
arperatus.zip
option-buttons.pd -
Balwyn
I just responded to @RandLaneFly regarding quantising a step sequencer which I realised wasn't an arpeggiator, but similar, discrete notes added to a looping sequence as opposed to chords played out with each note quantised.
Anyway I been going to upload this for a while but its still not finished (no presets yet) and the sync stuff is a bit iffy
Its a lot of fun to mess around with, get two or three going at once, use the Sync Start (with Midi In On to get them synced),
The Synth is simple but the effects help a lot
The Arp Duration affects things quite a bitIt also turned into a bit of a widget exercise.
There are two sub-patches displayed, the top is the arp and the bottom the synth
Have fun
Cheers
Balwyn -
Balwyn
I just checked out mpc quantisation online and its not like an arpeggiator
-
-
Balwyn
@nicnut Hi again
I have never used Processing, so I downloaded it added a udp library via the contributions manager and did some tests with my Pd patch and all it worked fine
The sketch folder also has a Pd patch udp.pd.You may or may not be using this library though!
I thought this may be of interestThe example sketch also contained these comments
/**- (./) udp.pde - how to use UDP library as unicast connection
- (cc) 2006, Cousot stephane for The Atelier Hypermedia
- (->) http://hypermedia.loeil.org/processing/
- Create a communication between Processing<->Pure Data @ http://puredata.info/
- This program also requires to run a small program on Pd to exchange data
- (hum!!! for a complete experimentation), you can find the related Pd patch
- at http://hypermedia.loeil.org/processing/udp.pd
- -- note that all Pd input/output messages are completed with the characters
- ";\n". Don't refer to this notation for a normal use. --
*/
-
-
Balwyn
Hi again @prandam
I am unsure exactly what you require, is this what you are after?
sreadfile-2.pd