Parse OSC messages to send them
@endorak This will get the message you want ( 192.168.3.234 -> 184.108.40.2066 ) 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…
curious: [clone] in sequence instead of sum
PROBLEM WITH GEMWIN
I have a problem when running gemwin in puredata. As you can see I come across a kind of annoying circle more or less in the middle of the window. It changes slightly when I send the message [topmost 1( to the gemwin object.
I need to remove it, the thing is I don´t want it there since I am using visual materials from a painting for a composition, so I would be grateful if you could help me with this. My laptop is a SONY VAIO (Windows 8 ) and I´m running the 0.43.4-extended version of pureData.
Thank you so much.
Beginner help needed: LFO sweeping moog~ cutoff frequency, probably easy!
Thank you for the reply. My (limited) understanding is that the Organelle runs Vanilla, but you can use extended objects if you have the compiled DLL to push to it - this works, as plenty of Organelle patches use moog~ - but when you debug on your computer it doesn't recognize it. Maybe if I install Extended it would work? Anyway, thank you for the filter links, I will definitely check those out .
Still wondering if there is a way to plug in the LFO modulation like you can with vcf~ example from the link I posted... seems like I'm probably just missing an object/conversion/glue that would make it work
EDIT: 2 ways I tried, neither work correctly.