-
-
lzzzam
The same patch I've been working on for days have just started to crash PD every time I try to open it! Thisi is what error say:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:
abort() calledThread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x9e34c572 __pthread_kill + 10
1 libsystem_pthread.dylib 0x9d58f654 pthread_kill + 101
2 libsystem_c.dylib 0x946adc38 abort + 156
3 Tcl 0x001b014c Tcl_PanicVA + 255
4 Tcl 0x001b0167 Tcl_Panic + 27
5 Tcl 0x001c0aa3 Tcl_SetObjLength + 52
6 Tcl 0x0019051a Tcl_ReadRaw + 1078
7 Tcl 0x001913b3 Tcl_ChannelName + 629
8 Tcl 0x0019805d Tcl_CreateChannel + 3113
9 Tcl 0x0013fdaf Tcl_GetVersion + 7569
10 Tcl 0x0017bd26 TclStackAlloc + 5361
11 Tcl 0x001bc6d2 TclObjInterpProcCore + 1492
12 Tcl 0x0013fdaf Tcl_GetVersion + 7569
13 Tcl 0x0017bd26 TclStackAlloc + 5361
14 Tcl 0x00184ca0 TclStackAlloc + 42091
15 Tcl 0x00141421 TclEvalObjEx + 880
16 Tcl 0x00141532 Tcl_EvalObjEx + 47
17 Tcl 0x001918c8 TclChannelEventScriptInvoker + 56
18 Tcl 0x00195a28 Tcl_NotifyChannel + 231
19 Tcl 0x001e358e Tcl_CreateFileHandler + 648
20 Tcl 0x001acff0 Tcl_ServiceEvent + 164
21 Tcl 0x001ad309 Tcl_DoOneEvent + 354
22 Tk 0x0001b4ec Tk_MainLoop + 37
23 Tk 0x00028951 Tk_MainEx + 1865
24 Pd-extended 0x00004623 0x1000 + 13859
25 Pd-extended 0x000045df 0x1000 + 13791
26 Pd-extended 0x0000450d 0x1000 + 13581Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x9e34d7fa kevent_qos + 10
1 libdispatch.dylib 0x926bc7ea _dispatch_mgr_invoke + 234
2 libdispatch.dylib 0x926bc3be _dispatch_mgr_thread + 52Thread 2:
0 libsystem_kernel.dylib 0x9e34cd5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9d58c34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x9d589f56 start_wqthread + 34Thread 3:
0 libsystem_kernel.dylib 0x9e34c742 __select_nocancel + 10
1 libsystem_kernel.dylib 0x9e348f36 select + 94
2 Tcl 0x001e4263 Tcl_WaitForEvent + 1006
3 libsystem_pthread.dylib 0x9d58c780 _pthread_body + 138
4 libsystem_pthread.dylib 0x9d58c6f6 _pthread_start + 155
5 libsystem_pthread.dylib 0x9d589f7a thread_start + 34Thread 4:
0 libsystem_kernel.dylib 0x9e34cd5e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x9d58c34b _pthread_wqthread + 1289
2 libsystem_pthread.dylib 0x9d589f56 start_wqthread + 34Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x001b0069 ecx: 0xbfffea7c edx: 0x00000000
edi: 0xa424a000 esi: 0x00000006 ebp: 0xbfffea98 esp: 0xbfffea7c
ss: 0x00000023 efl: 0x00000206 eip: 0x9e34c572 cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0xa37fca10Logical CPU: 0
Error Code: 0x00080148
Trap Number: 132??'??? What Can I Do?
-
lzzzam
Hey guys I finally Solved! My problem was that I was again using $0 in the wrong way , This was the wrong message
[;
$0-Pitch resize $1]but in this case the message box seem to doesn't recognize it as the patch constant. Then I tried to send the $0 value with a pack and float box in this way:
|loadbang|
|
|f $0| [120]
| _____ |
|pack f f|
|
[;
$1-Pitch resize $2]AND THAT FINALLY WORKED
But I can't explain why
-
lzzzam
I do followed that example but that not seems to effectively change the array size because when I check the array size r-clicking the array the value doesn't change! I want to sample a MIDI source for a generic time writing the value in an array, so I'd like to change the array size dynamically to fit with all the value necessary, but the graph seems to remain always the same with this command! What am I doing wrong??
-
lzzzam
Is there any way to resize the dimension of an array using messages or any kind of not-manual trick?
-
lzzzam
Hi! This look like a really great idea What about programming the FPGA? is there an IDE or workspace to manage the programming part , or this is done running program like Xilinx or Quartus on raspberry?
-
lzzzam
Yess, it's finally working!! Thankss a lot!!! I'll soon share my new abstraction on the forum
Is there any particular tutorial or reference for $ sign and for array dynamic editing that you guys can suggest???
-
lzzzam
Thanks for your response LiamG, but what if I would like to create an abstraction that have unique Name for each array?
My problem is that I'm creating a parent Patch with different declarations of the this abstraction, but all of them are writing in the same arrays! Here is how the abstraction is done:
abstraction inside.pdf -
lzzzam
Hello everybody!
This is my first post here on the forum. I've recently discovered this incredible tool and Im getting
quite euphoric about that
SO let's start whit my first problem: Im desperately trying to create an abstraction that accept 1 variable that form the name of an array inside the abstraction.
i've used the $ sign inside the abstraction and declared in the parent patch as {MIDI_REC_TEST 0 0 1). This is how it look:
abstraction img.pdfAs you can see the $3 still remain in the name of array. What is the right way for doing that?
Regards guys