How to place images into the patch?
@LandonPD you are totally right, Landon, I found that out after posting here. And by the way, have you ever tried the new [image] object in Pd-l2Ork? It's vastly superior to the one in pd-extended. I am attempting to compile it for pd-extended and Linux 64-bit, and if I succeed I will share it here. Take care! Gilberto
Pd-l2ork/Purr Data have a bugfixed ggee/image that works pretty well and should handle pngs and I think jpegs, too. Both also have moonlib/image which has a more complicated interface and-- for trivial uses-- a small memory leak.
Purr Data also has
[draw image] which has a transform method you can use to scale the image size, and
[draw sprite] to handle image sequences.
Problem running Pd on Ubuntu 16.04.
Hi, I installed Pd-0.48-0test6 on Ubuntu 16.04 LTS using makefile.
But I'm facing 2 problems.
Firstly, I see no audio input/output device to select.
I installed libasound2 and jackd2 but I see no audio driver in the list.
Secondly, the Pd's Interface is way to small so it is really difficult to work with the current size. (compared to other apps' UI size)
I tried changing "Scale for menu and title bars" option in System Settings -> Displays. but it had no effect on Pd window whereas all other apps scaled accordingly.
I wonder if there's any way to make the Pd's interface larger on Ubuntu.
Thank you in advance!
Parse OSC messages to send them
@endorak This will get the message you want ( 192.168.3.234 -> 18.104.22.1686 ) through in OSC format. It's the easiest way and Max should receive it (I hope) in a useful format......maybe.pd
It looks like you are using extended..... let us know if you need a vanilla solution.
You don't need the set message, or the trigger....... but it shows the message you are sending. It can be simpler if you wish..........just this.........
The /aaa is dropped..... it is seen as a definition of the parts that follow as a "list".
So the parts of the list...... "1234" "123.457" etc. can be copied into the message using $1 $2 $3 etc.
You don't want $1 or $2.......... the bits you are looking for are $3 $4 $5.... and those variables are replaced by the data arriving at the message inlet and sent on to the [packOSC] object, with a message header (it could be /woof ... or /whatever. It identifies the message for the osc receiver just like the /aaa did coming from your Python script.
The [packOSC] object sends a string of integers....... that [netsend] understands.
Setting [expr] formula dynamically
@Jona No, I want to create multiple instances of the same abstraction and send to each 2 lists: one containing the expression for [expr] and one with the variables for the expression (sending the latter to the first inlet of [expr] will distribute the floats to the outlets, since different instances will have a different number of inlets depending on the expression). The parent would patch would look like this:
Actually it turns out that it can be done with dynamic patching somehow, but the problems are not the spaces but special characters like comma or $0 (which I might need to use if the [expr] expression is looking up values from a table in the parent patch), and so the message needs to be formatted like this.
It's pretty messy but at least it works.
No audio coming out of pd when playing score
So, Hello! my score in iannix finally worked with pd extended, but I cant record it because there are interruptions (the audio freezes then starts again and so on), and i dont know if its because of my processor or sound card or whatever, so im trying vanilla latest version to see if i can record it with that, knowing that it is 64 bit, now, i had problems with vanilla because there were a lot of things that it couldnt create, so i saw a post with some similar problems and i got some objects to work. Now the osc messages are coming through iannix score to pd vanilla, but no audio is coming through, i already tested the audio in "media test audio and midi" and it worked but not when i press play on my score, and on the console i get these messages: mrpeach cant load library, initbang couldnt create and pvu~ couldnt create...
Im attaching the iannix score and the pd patch and a photo, what do i need to do to make these problems go away and make the audio come through?
Some questions regarding a loop station
They don't necessarily play in time anyway.
Well, nor do I.
But you can fix this later at mastering. You could record the click track to a second channel (having sent it out and back in) to aid with re-syncing. The distance from ear to monitoring you can measure physically and calculate the delay.
And when I know the latency in advance, I can record while I play along and shift the recording afterwards, so it'll be in sync again.
I'm not shure, but I think, when I use Katja's latency patch, it measures the latency between speakers and microphone. Only trouble might be too much ambient noise.
For now I tried to crossfade at the end of the sample. I'm mixing a fade-in of the start of the sample with a fade-out of the end of the sample.
Maybe this picture is helpfull for a better understanding:
The startsamples are taken from $0-temp, which is recorded first and which is delayed by the latency.
$0-sound is the array used for playback.
I tried to use a crossfade of equal power, but still I can hear a little dip when the sample is restarted.
This is the calculation: expr ( 1 - cos( $f1 * (3.14159 / 2) ) )
with 0 < $f1 < 1
This is, what it looks like in a scope:
The first row shows the cutted sample $0-sound. It's start is around 112800 samples. On the left side you can see the end with a fade out.
The second row shows the fade-in of the start sample.
The third row is the mixed result.
Here's the new patch:
Are there any ideas of how the mixing can be done better?
Permutations, second part, can anybody get this patch to work?
@whale-av ok, so a few things, whenever I open "mix mod" there is this:error: receive~ mixer_in-$1: no matching send.
For "part timbre" there is this:throw~ voice_out$1: no matching catch
For "part voice": throw~ voice_out$1: no matching catch
and for "voice gen": throw~ voice_out0: no matching catch, I dont understand why there are several "timbre_gen" sub patches(or what are the subcurves?), other than that Im kind of understanding what i have to do to make new voices and timbres for the voices, but on the graphs when ever i need to add one, i cant change its number above the graph, I click on the graph, then properties, and there isnt a window to change the number, Ive seen the window before, but now it just doesnt appear...(this on extended), I had to open timbre-gen to change the numbers on vanilla and then re open it on extended, because on vanilla this happens in the console :
... couldn't create
... couldn't create
... couldn't create
... couldn't create
... couldn't create
here are some pictures:
Vanilla Struct Sequencer
while experimenting with a .tcl mouse plugin i also tried some new things with the sequencer. i removed the mouse plugin functionality in this version because i got lots of (annoying but harmless) error messages when the mousereceive object was missing in a patch, perhaps i will use an external for drawing functionality in the future. structsequencer_2048.pd
Store a variable to compare to current variable
just to give some context of the design. Im taking influence from applications such as mlr:
and digital synthesis with parameter control ….
I was imaging i need the buttons working independantly in some areas as different co-ord will have different functions and jobs that can’t intervene with each other
these are the print messages from the serialosc object:
I really wanted to try the monophonic keys.pd but the array objects arn’t recognised ? I tried including a table so see if it would be recognised to store the values in there?
I want to link this design he’s using velocity to compare to a previous value I wasn’t sure if it would be helpful yet? I think its applied differently because of the live signal and the way it receive data…