FatJak Now i'm trying, with command lines to place Else & Cyclone libraries in /root/Bela/pd-externals

that should be /root/Bela/projects/pd-externals

giuliomoro

Thanks again @giuliomoro

Since few hours, i feel free to make some experiences.
- I have selected only the .pd objects in my computer Else library and made from it a folder.zip file
- I have upload/install it in /root/Bela/pd-externals and i modified the main.pd path object to these externals
- I have discover that there his very few objects that could't be created.
Here is the list:
else/fold -1 1
else/args -
else/swap2
else/rand.f -1 1
else/rescale -1 1 0 127
s2f~

I have tryed to make .pd abstractions from these graphical objects.
It seems not working.
(kind of bruteforce experimentation)

giuliomoro

After cleanup, reinstall as you tell me, this is what I get with
ls /root/Bela/projects/pd-externals/else/above~.pd_linux

/root/Bela/projects/pd-externals/else/above~.pd_linux

and then
find /root/Bela/projects/pd-externals -type d

/root/Bela/projects/pd-externals
/root/Bela/projects/pd-externals/build
/root/Bela/projects/pd-externals/else
/root/Bela/projects/pd-externals/cd

and then
find /root/Bela/projects/pd-externals -type f | grep pd_linux

/root/Bela/projects/pd-externals/else/canvas.bounds.pd_linux
/root/Bela/projects/pd-externals/else/rint.pd_linux
/root/Bela/projects/pd-externals/else/zerocross~.pd_linux
/root/Bela/projects/pd-externals/else/xselect~.pd_linux
/root/Bela/projects/pd-externals/else/routetype.pd_linux
/root/Bela/projects/pd-externals/else/wt~.pd_linux
/root/Bela/projects/pd-externals/else/pluck~.pd_linux
/root/Bela/projects/pd-externals/else/sig2float~.pd_linux
/root/Bela/projects/pd-externals/else/lfnoise~.pd_linux
/root/Bela/projects/pd-externals/else/hot.pd_linux
/root/Bela/projects/pd-externals/else/suspedal.pd_linux
/root/Bela/projects/pd-externals/else/lag~.pd_linux
/root/Bela/projects/pd-externals/else/bl.saw2~.pd_linux
/root/Bela/projects/pd-externals/else/float2bits.pd_linux
/root/Bela/projects/pd-externals/else/datetime.pd_linux
/root/Bela/projects/pd-externals/else/loadbanger.pd_linux
/root/Bela/projects/pd-externals/else/router.pd_linux
/root/Bela/projects/pd-externals/else/args.pd_linux
/root/Bela/projects/pd-externals/else/decay2~.pd_linux
/root/Bela/projects/pd-externals/else/chance~.pd_linux
/root/Bela/projects/pd-externals/else/lorenz~.pd_linux
/root/Bela/projects/pd-externals/else/fbsine~.pd_linux
/root/Bela/projects/pd-externals/else/noteinfo.pd_linux
/root/Bela/projects/pd-externals/else/ctl.in.pd_linux
/root/Bela/projects/pd-externals/else/canvas.file.pd_linux
/root/Bela/projects/pd-externals/else/wrap2.pd_linux
/root/Bela/projects/pd-externals/else/gui.pd_linux
/root/Bela/projects/pd-externals/else/highpass~.pd_linux
/root/Bela/projects/pd-externals/else/quantizer.pd_linux
/root/Bela/projects/pd-externals/else/op~.pd_linux
/root/Bela/projects/pd-externals/else/keyboard.pd_linux
/root/Bela/projects/pd-externals/else/dir.pd_linux
/root/Bela/projects/pd-externals/else/separate.pd_linux
/root/Bela/projects/pd-externals/else/spread.pd_linux
/root/Bela/projects/pd-externals/else/symbol2any.pd_linux
/root/Bela/projects/pd-externals/else/tabreader.pd_linux
/root/Bela/projects/pd-externals/else/rescale~.pd_linux
/root/Bela/projects/pd-externals/else/sort.pd_linux
/root/Bela/projects/pd-externals/else/fold~.pd_linux
/root/Bela/projects/pd-externals/else/stepnoise~.pd_linux
/root/Bela/projects/pd-externals/else/bandstop~.pd_linux
/root/Bela/projects/pd-externals/else/glide~.pd_linux
/root/Bela/projects/pd-externals/else/retrieve.pd_linux
/root/Bela/projects/pd-externals/else/imp~.pd_linux
/root/Bela/projects/pd-externals/else/wrap2~.pd_linux
/root/Bela/projects/pd-externals/else/asr~.pd_linux
/root/Bela/projects/pd-externals/else/toggleff~.pd_linux
/root/Bela/projects/pd-externals/else/dollsym.pd_linux
/root/Bela/projects/pd-externals/else/spread~.pd_linux
/root/Bela/projects/pd-externals/else/fold.pd_linux
/root/Bela/projects/pd-externals/else/autofade2~.pd_linux
/root/Bela/projects/pd-externals/else/lag2~.pd_linux
/root/Bela/projects/pd-externals/else/fader~.pd_linux
/root/Bela/projects/pd-externals/else/ratio2cents.pd_linux
/root/Bela/projects/pd-externals/else/nyquist~.pd_linux
/root/Bela/projects/pd-externals/else/messbox.pd_linux
/root/Bela/projects/pd-externals/else/bend.out.pd_linux
/root/Bela/projects/pd-externals/else/cents2ratio.pd_linux
/root/Bela/projects/pd-externals/else/touch.out.pd_linux
/root/Bela/projects/pd-externals/else/timed.gate~.pd_linux
/root/Bela/projects/pd-externals/else/canvas.zoom.pd_linux
/root/Bela/projects/pd-externals/else/brown~.pd_linux
/root/Bela/projects/pd-externals/else/match~.pd_linux
/root/Bela/projects/pd-externals/else/slew2~.pd_linux
/root/Bela/projects/pd-externals/else/mov.avg~.pd_linux
/root/Bela/projects/pd-externals/else/pgm.in.pd_linux
/root/Bela/projects/pd-externals/else/pan4~.pd_linux
/root/Bela/projects/pd-externals/else/properties.pd_linux
/root/Bela/projects/pd-externals/else/bl.square~.pd_linux
/root/Bela/projects/pd-externals/else/trighold~.pd_linux
/root/Bela/projects/pd-externals/else/highshelf~.pd_linux
/root/Bela/projects/pd-externals/else/power~.pd_linux
/root/Bela/projects/pd-externals/else/ratio2cents~.pd_linux
/root/Bela/projects/pd-externals/else/xselect2~.pd_linux
/root/Bela/projects/pd-externals/else/gaussian~.pd_linux
/root/Bela/projects/pd-externals/else/adsr~.pd_linux
/root/Bela/projects/pd-externals/else/canvas.active.pd_linux
/root/Bela/projects/pd-externals/else/imp2~.pd_linux
/root/Bela/projects/pd-externals/else/crackle~.pd_linux
/root/Bela/projects/pd-externals/else/function.pd_linux
/root/Bela/projects/pd-externals/else/click.pd_linux
/root/Bela/projects/pd-externals/else/rint~.pd_linux
/root/Bela/projects/pd-externals/else/fontsize.pd_linux
/root/Bela/projects/pd-externals/else/oscope~.pd_linux
/root/Bela/projects/pd-externals/else/gendyn~.pd_linux
/root/Bela/projects/pd-externals/else/note.in.pd_linux
/root/Bela/projects/pd-externals/else/wavetable~.pd_linux
/root/Bela/projects/pd-externals/else/cosine~.pd_linux
/root/Bela/projects/pd-externals/else/freq.shift~.pd_linux
/root/Bela/projects/pd-externals/else/f2s~.pd_linux
/root/Bela/projects/pd-externals/else/median~.pd_linux
/root/Bela/projects/pd-externals/else/pulsecount~.pd_linux
/root/Bela/projects/pd-externals/else/sine~.pd_linux
/root/Bela/projects/pd-externals/else/blocksize~.pd_linux
/root/Bela/projects/pd-externals/else/biquads~.pd_linux
/root/Bela/projects/pd-externals/else/rad2hz.pd_linux
/root/Bela/projects/pd-externals/else/merge.pd_linux
/root/Bela/projects/pd-externals/else/note.pd_linux
/root/Bela/projects

And here is the list of the "... couldn't create" objects:
brown 0.2
rescale 10 10000
s2f~

Hmmm... what would I do without this three little seeds ? Nothing, with my "work in progress" patch.
Thanks @giuliomoro to let me dive deep into the surface of command lines.
Even if I only understand the reflect of it.

it seems like you are missing several externals there. This is the full list I get:

above~.pd_linux
add~.pd_linux
adsr~.pd_linux
allpass.2nd~.pd_linux
allpass.rev~.pd_linux
args.pd_linux
asr~.pd_linux
autofade2~.pd_linux
autofade~.pd_linux
balance~.pd_linux
bandpass~.pd_linux
bandstop~.pd_linux
bend.in.pd_linux
bend.out.pd_linux
bicoeff.pd_linux
bicoeff2.pd_linux
biquads~.pd_linux
bitnormal~.pd_linux
bl.imp2~.pd_linux
bl.imp~.pd_linux
bl.saw2~.pd_linux
bl.saw~.pd_linux
bl.square~.pd_linux
bl.tri~.pd_linux
bl.vsaw~.pd_linux
blocksize~.pd_linux
break.pd_linux
brown~.pd_linux
buffer.pd_linux
button.pd_linux
canvas.active.pd_linux
canvas.bounds.pd_linux
canvas.edit.pd_linux
canvas.file.pd_linux
canvas.gop.pd_linux
canvas.mouse.pd_linux
canvas.name.pd_linux
canvas.pos.pd_linux
canvas.setname.pd_linux
canvas.vis.pd_linux
canvas.zoom.pd_linux
ceil.pd_linux
ceil~.pd_linux
cents2ratio.pd_linux
cents2ratio~.pd_linux
chance.pd_linux
chance~.pd_linux
changed.pd_linux
changed2~.pd_linux
changed~.pd_linux
click.pd_linux
cmul~.pd_linux
colors.pd_linux
comb.filt~.pd_linux
comb.rev~.pd_linux
cosine~.pd_linux
crackle~.pd_linux
crossover~.pd_linux
ctl.in.pd_linux
ctl.out.pd_linux
cusp~.pd_linux
datetime.pd_linux
db2lin~.pd_linux
decay2~.pd_linux
decay~.pd_linux
default.pd_linux
del~.pd_linux
detect~.pd_linux
dir.pd_linux
dollsym.pd_linux
downsample~.pd_linux
drive~.pd_linux
dust2~.pd_linux
dust~.pd_linux
else.pd_linux
envgen~.pd_linux
eq~.pd_linux
f2s~.pd_linux
factor.pd_linux
fader~.pd_linux
fbdelay~.pd_linux
fbsine2~.pd_linux
fbsine~.pd_linux
fdn.rev~.pd_linux
ffdelay~.pd_linux
float2bits.pd_linux
float2sig~.pd_linux
floor.pd_linux
floor~.pd_linux
fold.pd_linux
fold~.pd_linux
fontsize.pd_linux
format.pd_linux
freq.shift~.pd_linux
function.pd_linux
function~.pd_linux
gate2imp~.pd_linux
gaussian~.pd_linux
gbman~.pd_linux
gcd.pd_linux
gendyn~.pd_linux
giga.rev~.pd_linux
glide2~.pd_linux
glide~.pd_linux
gray~.pd_linux
gui.pd_linux
henon~.pd_linux
highpass~.pd_linux
highshelf~.pd_linux
hot.pd_linux
hz2rad.pd_linux
ikeda~.pd_linux
imp2~.pd_linux
impseq~.pd_linux
impulse2~.pd_linux
impulse~.pd_linux
imp~.pd_linux
initmess.pd_linux
keyboard.pd_linux
lag2~.pd_linux
lag~.pd_linux
lastvalue~.pd_linux
latoocarfian~.pd_linux
lb.pd_linux
lfnoise~.pd_linux
limit.pd_linux
lincong~.pd_linux
loadbanger.pd_linux
logistic~.pd_linux
loop.pd_linux
lop2~.pd_linux
lorenz~.pd_linux
lowpass~.pd_linux
lowshelf~.pd_linux
match~.pd_linux
median~.pd_linux
merge.pd_linux
message.pd_linux
messbox.pd_linux
metronome.pd_linux
midi.pd_linux
mouse.pd_linux
mov.avg~.pd_linux
mov.rms~.pd_linux
mtx~.pd_linux
note.in.pd_linux
note.out.pd_linux
note.pd_linux
noteinfo.pd_linux
numbox~.pd_linux
nyquist~.pd_linux
openfile.pd_linux
op~.pd_linux
oscope~.pd_linux
pack2.pd_linux
pad.pd_linux
pan2~.pd_linux
pan4~.pd_linux
panic.pd_linux
parabolic~.pd_linux
peak~.pd_linux
pgm.in.pd_linux
pgm.out.pd_linux
pic.pd_linux
pimpmul~.pd_linux
pimp~.pd_linux
pink~.pd_linux
pluck~.pd_linux
pmosc~.pd_linux
power~.pd_linux
properties.pd_linux
pulsecount~.pd_linux
pulsediv~.pd_linux
pulse~.pd_linux
quad~.pd_linux
quantizer.pd_linux
quantizer~.pd_linux
rad2hz.pd_linux
rampnoise~.pd_linux
ramp~.pd_linux
rand.f.pd_linux
rand.f~.pd_linux
rand.hist.pd_linux
rand.i.pd_linux
rand.i~.pd_linux
rand.u.pd_linux
randpulse2~.pd_linux
randpulse~.pd_linux
range~.pd_linux
ratio2cents.pd_linux
ratio2cents~.pd_linux
rec.pd_linux
receiver.pd_linux
rescale.pd_linux
rescale~.pd_linux
resonant2~.pd_linux
resonant~.pd_linux
retrieve.pd_linux
rint.pd_linux
rint~.pd_linux
rms~.pd_linux
rotate~.pd_linux
route2.pd_linux
routeall.pd_linux
router.pd_linux
routetype.pd_linux
s2f~.pd_linux
saw2~.pd_linux
saw~.pd_linux
schmitt~.pd_linux
selector.pd_linux
separate.pd_linux
sequencer~.pd_linux
shaper~.pd_linux
sh~.pd_linux
sig2float~.pd_linux
sine~.pd_linux
sin~.pd_linux
slew2~.pd_linux
slew~.pd_linux
slice.pd_linux
sort.pd_linux
spread.pd_linux
spread~.pd_linux
square~.pd_linux
sr~.pd_linux
standard~.pd_linux
status~.pd_linux
stepnoise~.pd_linux
susloop~.pd_linux
suspedal.pd_linux
svfilter~.pd_linux
symbol2any.pd_linux
tabplayer~.pd_linux
tabreader.pd_linux
tabreader~.pd_linux
tabwriter~.pd_linux
tempo~.pd_linux
timed.gate~.pd_linux
toggleff~.pd_linux
touch.in.pd_linux
touch.out.pd_linux
trig.delay2~.pd_linux
trig.delay~.pd_linux
trighold~.pd_linux
tri~.pd_linux
trunc.pd_linux
trunc~.pd_linux
unmerge.pd_linux
voices.pd_linux
vsaw~.pd_linux
vu~.pd_linux
wavetable~.pd_linux
white~.pd_linux
wrap2.pd_linux
wrap2~.pd_linux
wt~.pd_linux
xfade~.pd_linux
xgate2~.pd_linux
xgate~.pd_linux
xmod2~.pd_linux
xmod~.pd_linux
xselect2~.pd_linux
xselect~.pd_linux
zerocross~.pd_linux

(which includes compiled externals s2f~.pd_linux and rescale.pd_linux)
and furthermore all the .pd abstraction files, which should include at least /root/Bela/projects/pd-externals/else/brown.pd.

I am wondering what has happened there. Try the following instruction step-by-step, please:

  • from the Bela IDE, delete the project pd-externals
  • download this archive on your computer https://github.com/BelaPlatform/Bela/files/10212285/else-v1.0-rc4-93-g0c64c285.zip
  • drop it in your on top of the Bela IDE. When asked the name of the new project you want to create, type pd-externals and click "create project"
  • now create a new project and copy on it a _main.pd file with only these objects in it:
    [brown] [s2f~] [rescale]
  • run the project and verify that you get no couldn't create errors when you start it

Note that the procedure above will put all the files in /root/Bela/projects/pd-externals and not in /root/Bela/projects/pd-externals/else. This is good enough for testing. If this works, you can move them with:

mv /root/Bela/projects/pd-externals /tmp/else
mkdir -p /root/Bela/projects/pd-externals
mv /tmp/else /root/Bela/projects/pd-externals/

then modify your _main.pd so that it contains only these objects:

[brown]
[s2f~]
[rescale]
[declare -path /root/Bela/projects/pd-externals/else]

and verify it still runs without couldn't create errors.

    giuliomoro Thanks. There is hope !

    I don't understand where to upload the else-v1.0-rc4-93-g0c64c285.zip
    with the information "drop it in your on top of the Bela IDE".
    If it's on the top of Bela IDE, I don't know how to do it.

    In the "create new project" section, clearly, I have to select the "Pure data" type ?

    "Note that the procedure above will put all the files in /root/Bela/projects/pd-externals and not in /root/Bela/projects/pd-externals/else"
    I don't understand with which procedure I can avoid to create a else folder unzipping the else-v1.0-rc4-93-g0c64c285.zip

      FatJak I don't understand where to upload the else-v1.0-rc4-93-g0c64c285.zip
      with the information "drop it in your on top of the Bela IDE".

      If you drop the zip archive on the IDE you should be prompted with a dialog to create a new project from the contents of the zip archive itself.

      "drop the zip archive on the IDE"
      Crazy. I hadn't thought I had to take it literally.

      giuliomoro

      So.
      Unzipping the file gave me
      Error opening file render.cpp: file does not exist.
      But I could see objects in
      /root/Bela/projects/pd-externals

      Running the _main.pd with [brown] [s2f~] [rescale]
      gave me errors:
      Building project ...
      Linking...
      ...done
      Build finished
      Running project ...
      Running Pd 0.51-4
      Audio channels in use: 2
      Analog channels in use: 8
      Digital channels in use: 16
      No MIDI device enabled
      pd 0.51.4
      bonk version 1.5
      fiddle version 1.1 TEST4
      pique 0.1 for PD version 23
      sigmund~ version 0.07
      else/args -
      error: ... couldn't create
      verbose(4): ... you might be able to track this down from the Find menu.
      else/swap2
      error: ... couldn't create
      else/rand.f -1 1
      error: ... couldn't create
      else/rescale -1 1 0 127
      error: ... couldn't create
      else/fold -1 1
      error: ... couldn't create
      error: ../pd-externals/rescale.pd_linux: /lib/arm-linux-gnueabihf/libm.so.6: version GLIBC_2.29 not found (required by ../pd-externals/rescale.pd_linux)
      rescale
      error: ... couldn't create

        uff right. It seems that else abstractions

        FatJak else/args -
        error: ... couldn't create
        verbose(4): ... you might be able to track this down from the Find menu.
        else/swap2
        error: ... couldn't create
        else/rand.f -1 1
        error: ... couldn't create

        rely on having the stuff in the else/ folder.

        and this

        FatJak error: ../pd-externals/rescale.pd_linux: /lib/arm-linux-gnueabihf/libm.so.6: version GLIBC_2.29 not found (required by ../pd-externals/rescale.pd_linux)

        is because I built else with a too-new version of the board. I am going to redo it on the same version you have.

        ok I rebuilt it and it is now available . Please follow the instructions below:

        Try the following instruction step-by-step, please:

        • download this archive on your computer
          https://github.com/BelaPlatform/Bela/files/10228145/else-v1.0-rc4-93-g0c64c285.zip
        • drop it in your on top of the Bela IDE. When asked the name of the new project you want to create, type pd-else and click "create project". Wait for a few seconds while it is done.
        • when done, you will get an error "couldn't open render.cpp". That's fine, press "Cancel"
        • run the following in the console at the bottom of the Bela IDE so that the externals go in the right place:
          rm -rf projects/pd-externals;
          mkdir -p projects/pd-externals;
          mv projects/pd-else projects/pd-externals/else;
        • now create a new project and copy on it a _main.pd file with only the following objects in it:
          [brown]
          [s2f~]
          [rescale]
          [declare -path /root/Bela/projects/pd-externals/else]
        • run the project and verify that you get no "couldn't create" errors when you start it

          giuliomoro
          Oh!
          No "couldn't create" errors to declare in this test !

          AND

          No "couldn't create" errors to declare in MY PATCH !!!!!!!!! !

          THANKS YOU SO MUCH @giuliomoro
          I would like to offer you a beer !