• cuinjune

    Thanks it worked.
    I didn't know as all other expressions work just fine without having the spaces.

    posted in technical issues read more
  • cuinjune

    Hey Thanks for the reply.

    Can you try this and see if it works?
    Open ok.pd then change [expr v$0_v1] to [expr $f1*v$0_v1] and then save the file and then reopen the patch.
    In my computer it doesn't work. I use Pd-0.48-0 in Mac OS X 10.11.6.

    posted in technical issues read more
  • cuinjune

    Hi, how do you guys use local $0 variable names in [expr] object?

    The names with "$0-" prefix doesn't work in [expr] since it interprets "-" symbol as minus.

    I tried changing "-" to "_" but it didn't work either.

    Is there any clever way to use local $0 variable names in [expr] object?
    Thanks in advance!

    posted in technical issues read more
  • cuinjune

    By doing as below, the variable can be updated as soon as the sample rate gets changed.
    Screen Shot 2017-08-28 at 11.28.16 AM.png
    Or you can change '$17' to 'bang' and connect its outlet to inlet of [samplerate~] which I think is safer.

    posted in technical issues read more
  • cuinjune

    Hi, I don't think there's any built-in variable in Pd. It has to be created just like you did. So I'm pretty certain that your method is the only way to use sample rate value in [expr].

    posted in technical issues read more
  • cuinjune

    @NoDSP Reinstalling pd after "make clean" fixed the problem #1 and reducing the screen resolution fixed the problem #2.
    Thank you so much for your help! :+1:

    posted in technical issues read more
  • cuinjune

    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.
    Screenshot from 2017-08-08 00-20-16.png

    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)
    Screenshot from 2017-08-08 00-15-28.png
    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!

    posted in technical issues read more
  • cuinjune

    Hi @seb-harmonik.ar Thanks for your confirmation. I agree it would be nice to have multiple steps of undos in vanilla pd.

    Hi @whale-av The same problem occurs even if I undo creating a number box.
    It creates an empty object box on top of the first object. so I guess it is simply a bug.
    Should I report this on https://sourceforge.net/p/pure-data/bugs/ ?

    posted in technical issues read more
  • cuinjune

    Hi, I'm using Pd-0.47-1-64bit on Max OSX 10.11.6.

    I found this weird behavior today which you can reproduce by the following steps.

    1. create an object box and type any object name (for example, type "spigot")

    2. As soon as you type the object name, create another object box. You will see an empty object box being created right below the object you just created.
      Screen Shot 2017-08-04 at 3.01.55 PM.png

    3. Undo creation using shortcut (Command + z on Mac OSX)

    4. You will see an empty object box is just created on top of the first object you created.

    Screen Shot 2017-08-04 at 3.02.31 PM.png

    Can anyone please confirm this?
    Thanks in advance!

    posted in technical issues read more
  • cuinjune

    @weightless That's good to know. Thank you!

    posted in technical issues read more
  • cuinjune

    I think what you need is [realtime].

    Screen Shot 2017-07-17 at 9.20.48 PM.png

    posted in technical issues read more
  • cuinjune

    @whale-av Thanks for sharing your findings. It was helpful!

    posted in technical issues read more
  • cuinjune

    Thanks guys! I tried the numbers myself and as @weightless wrote, it seems like 1e+38 is the highest float I can use in my computer.
    I tested this with both 32bit and 64bit vanilla pd on Mac OSX 10.11.6.

    posted in technical issues read more
  • cuinjune

    @whale-av Thanks for the up-vote!

    posted in abstract~ read more
  • cuinjune

    Hi, I wonder what is the maximum float value in Pd and how I can write it in a message box.

    Thank you in advance!

    posted in technical issues read more
  • cuinjune

    This one allows you to get $0 value of different levels of parent canvases by setting unique names.
    For example [getdollarzero root] can get the $0 value of parent patch where [setdollarzero $0 root] is at.

    Download : getdollarzero(multi-level).zip

    posted in abstract~ read more
  • cuinjune

    @whale-av Thanks for your testing and finding the bug!
    @ingox I tried your patch and it looks like a very creative solution!
    So I made a new version inspired by @ingox's approach.
    It is based on an idea that child patches always get assigned a higher $0 value than its parent canvases when patches are firstly loaded.

    I haven't fully tested this yet. but it seems to pass @whale-av's test at least.
    Download: getdollarzero.zip

    EDIT : I found out it only works properly when you first start the patch. It doesn't work correctly when you create a new [getdollarzero] and try to use it immediately. It requires a restart which is a bit inconvenient. But I think the original patch also has this issue.

    posted in abstract~ read more
  • cuinjune

    @ingox Yes, I just tested it by changing object creation order and it all seemed to be working fine.

    I too have been pretty confused today.
    It is always difficult to create something that works flawlessly.

    But it was fun and also a good practice.
    Thanks a lot for your help :relaxed:

    posted in abstract~ read more
  • cuinjune

    @ingox said:

    Better to use a message [0( will always close the spigot. ;)

    You are right, there was a mistake in getdollarzero.pd file so I fixed and re-uploaded it. Thanks! :+1:

    I try to avoid using message box when possible since processing through message boxes takes slightly longer than using object boxes such as [float], [symbol] and [list].

    posted in abstract~ read more
  • cuinjune

    @ingox Your simpler version can be problematic if the abstraction uses [getdollarzero] with [loadbang] and if the abstraction's [loadbang] triggers [getdollarzero] earlier than [setdollarzero]'s internal [loadbang], the [getdollarzero] will output 0.

    You can test this by opening the example file and try recreating the [setdollarzero $0] and save and restart the patch, you will see [getdollarzero] didn't work in the beginning.

    posted in abstract~ read more
Internal error.

Oops! Looks like something went wrong!