• atux

    Hi all,

    suppose we have a .wav file which contains a melody line created with a sine oscillator.
    So the timbre is purely sinusoidal, very poor.
    What ways are there, in Puredata, to transform that file so that the timbre becomes more interesting and complex?

    More difficult question: is it possible to transform that sinusoidal .wav file by requesting the software to take the waveform from an assigned audio sample (sound of organ, choir, violin, etc)?

    Thank you,
    a.

    posted in Off topic read more
  • atux

    @whale-av said:

    @atux Writing to a file is already implemented (but in mono as the source is mono) in [pd dsp]..... at the bottom right of the patch window.
    David.

    Was mono, I made it stereo:

    f5.png
    The exported .wav file is ok.
    Thank you,
    a.

    posted in technical issues read more
  • atux

    I ask for advice on the patch I'm talking about.

    How do I save in a .wav file the sounds that are played?
    This is the patch:

    f4.png
    This is what I would do, but I don't know where to connect it :satisfied: :
    f2.png
    Thank you,
    a.

    posted in technical issues read more
  • atux

    @whale-av said:

    If it has been updated for 64-bit then you will find it through "Deken".

    Yes, through Deken I found this version:

    unauthorized-v0.0.extended-(Linux-i386-32)(Linux-amd64-64)-externals
    

    Now the patch (in pd 0.52.1) works fine.
    Thank you,
    a.

    posted in technical issues read more
  • atux

    Hi all,

    in Pd [version 0.52.1 on Linux] I'm trying to run this patch (a Wind Generator):

    http://puredata.info/Members/thinkingsoundpd

    ...but in the console it says:

    opened alsa MIDI client 129 in:1 out:1
     grid grid1 100 1 1950 100 1 1750 0 1 1 10 10 125 133
    ... couldn't create
    ALSA input error (snd_pcm_open): No such file or directory
    ALSA output error (snd_pcm_open): No such file or directory
    ALSA input error (snd_pcm_open): No such file or directory
    ALSA output error (snd_pcm_open): No such file or directory
     grid grid1 100 1 1950 100 1 1750 0 1 1 10 10 125 133
    ... couldn't create
    ALSA input error (snd_pcm_open): No such file or directory
    ALSA output error (snd_pcm_open): No such file or directory
    

    Which external do I need?

    Are there any other wind generator or also blown sounds generator for pd on Linux?
    Thank you,
    a.

    posted in technical issues read more
  • atux

    Hi all,

    I would like to know if in Pure Data it is possible to do this:

    play MIDI note number 45 for 2 seconds during which there is a continuous (non-discrete) linear glissando until you reach MIDI note 68.

    Is there a concept of a continuous glissando between two MIDI notes placed any distance apart?
    Is it possible to save this information in a MIDI file?
    [Performance is intended for a continuous pitch MIDI instrument, such as an organ, cello, choir, etc.]

    P.S.: in pd I can already do the "discrete" glissando (chromatic scale, also microtonal scale), but here I am talking about a continuous glissando and not a succession of closely spaced notes.

    Thank you,
    a.

    posted in technical issues read more
  • atux

    @whale-av said:

    @atux If you send the message [dump( into [boids 2d] what value is printed to the Pd console for the "number" parameter?
    Sending [number 7( into [boids 2d 15] will make only 7 of them move. The others will be stationary.
    So maybe sending in the message [number 115( will get them all moving..?
    David.

    Hi,

    yes, sending the [dump( message into [boids 2d] object and printing the parameter values ​​in the Pd console, I found that the parameter values ​​completely change from those declared in the patch.
    The speed changes from 3 to 0.1, so obviously nothing moves.
    The maxspeed and inertia also become very small (about 0.2).

    However I have added some sliders to control the values ​​directly and more comfortably in realtime, something like this:
    Schermata del 2023-01-04 19-02-49.png
    ...and everything works fine. The behavior is what you wrote in your post.

    Thank you,
    a.

    EDIT
    Now I'm trying to figure out how to get the (x,y) coordinates of each boid during motion, in two distinct number boxes for each boid, with a certain time step (as small as possible).
    I think I succeeded by doing something like this:

    5boids.png

    This is the start of the output stream in the pd console:

    B0_x: 1.11714
    B0_y: -0.154289
    B1_x: 0.859991
    B1_y: -1.04122
    B2_x: 0.988587
    B2_y: -0.620997
    B3_x: 1.11418
    B3_y: -0.829169
    B4_x: 0.756241
    B4_y: -0.51217
    B0_x: 1.12641
    B0_y: -0.110254
    B1_x: 0.87085
    B1_y: -1.0069
    B2_x: 0.99647
    B2_y: -0.576692
    B3_x: 1.14712
    B3_y: -0.798511
    B4_x: 0.772748
    B4_y: -0.480177
    B0_x: 1.13585
    B0_y: -0.0662551
    B1_x: 0.881453
    B1_y: -0.972498
    B2_x: 1.01429
    B2_y: -0.545412
    B3_x: 1.17485
    B3_y: -0.763067
    B4_x: 0.780488
    B4_y: -0.445019
    B0_x: 1.14541
    B0_y: -0.0222838
    B1_x: 0.891889
    B1_y: -0.938044
    B2_x: 1.03125
    B2_y: -0.51366
    B3_x: 1.19768
    B3_y: -0.724288
    B4_x: 0.793631
    B4_y: -0.411504
    B0_x: 1.15512
    B0_y: 0.0216567
    B1_x: 0.902249
    B1_y: -0.903567
    B2_x: 1.04731
    B2_y: -0.481438
    B3_x: 1.21641
    B3_y: -0.683373
    B4_x: 0.808751
    B4_y: -0.378833
    B0_x: 1.16492
    B0_y: 0.0655764
    B1_x: 0.912567
    B1_y: -0.869077
    B2_x: 1.06238
    B2_y: -0.448745
    B3_x: 1.23193
    B3_y: -0.641134
    B4_x: 0.825433
    B4_y: -0.346931
    B0_x: 1.17478
    B0_y: 0.109484
    B1_x: 0.922866
    B1_y: -0.834582
    B2_x: 1.07642
    B2_y: -0.415597
    B3_x: 1.24506
    B3_y: -0.598092
    B4_x: 0.843365
    B4_y: -0.315715
    B0_x: 1.18466
    B0_y: 0.153385
    B1_x: 0.933166
    B1_y: -0.800087
    B2_x: 1.08182
    B2_y: -0.370922
    B3_x: 1.26792
    B3_y: -0.559326
    B4_x: 0.862311
    B4_y: -0.285104
    B0_x: 1.19456
    B0_y: 0.197283
    B1_x: 0.943492
    B1_y: -0.7656
    B2_x: 1.0977
    B2_y: -0.338616
    B3_x: 1.28719
    B3_y: -0.518661
    B4_x: 0.872322
    B4_y: -0.250524
    B0_x: 1.20446
    B0_y: 0.241179
    B1_x: 0.953858
    B1_y: -0.731124
    B2_x: 1.12197
    B2_y: -0.312019
    B3_x: 1.30357
    B3_y: -0.47675
    B4_x: 0.874392
    B4_y: -0.214584
    B0_x: 1.21436
    B0_y: 0.285078
    B1_x: 0.964273
    B1_y: -0.696664
    B2_x: 1.13781
    B2_y: -0.269901
    B3_x: 1.32971
    B3_y: -0.440118
    B4_x: 0.881343
    B4_y: -0.179261
    B0_x: 1.22636
    B0_y: 0.328448
    B1_x: 0.974756
    B1_y: -0.662224
    B2_x: 1.15208
    B2_y: -0.227224
    B3_x: 1.35207
    B3_y: -0.401068
    B4_x: 0.893584
    B4_y: -0.145406
    B0_x: 1.24059
    B0_y: 0.37114
    B1_x: 0.985347
    B1_y: -0.627817
    B2_x: 1.16511
    B2_y: -0.184151
    B3_x: 1.371
    B3_y: -0.360243
    B4_x: 0.90793
    B4_y: -0.112388
    B0_x: 1.25707
    B0_y: 0.413011
    B1_x: 0.996047
    B1_y: -0.593444
    B2_x: 1.17717
    B2_y: -0.140797
    B3_x: 1.38672
    B3_y: -0.318079
    B4_x: 0.923963
    B4_y: -0.0801551
    B0_x: 1.27583
    B0_y: 0.453915
    B1_x: 1.00686
    B1_y: -0.559105
    B2_x: 1.18852
    B2_y: -0.0972526
    B3_x: 1.39945
    B3_y: -0.274918
    B4_x: 0.941362
    B4_y: -0.048639
    B0_x: 1.29685
    B0_y: 0.493706
    B1_x: 1.01778
    B1_y: -0.524801
    B2_x: 1.19942
    B2_y: -0.0535927
    B3_x: 1.40947
    B3_y: -0.231048
    B4_x: 0.959882
    B4_y: -0.0177685
    B0_x: 1.32009
    B0_y: 0.53224
    B1_x: 1.02881
    B1_y: -0.490533
    B2_x: 1.218
    B2_y: -0.0227568
    B3_x: 1.41711
    B3_y: -0.186701
    B4_x: 0.969484
    B4_y: 0.0169276
    B0_x: 1.3455
    B0_y: 0.56938
    B1_x: 1.03996
    B1_y: -0.456305
    B2_x: 1.23509
    B2_y: 0.00892889
    B3_x: 1.42272
    B3_y: -0.142052
    B4_x: 0.981754
    B4_y: 0.050772
    B0_x: 1.37301
    B0_y: 0.604992
    B1_x: 1.05125
    B1_y: -0.42212
    B2_x: 1.242
    B2_y: 0.0533949
    B3_x: 1.43903
    B3_y: -0.100109
    B4_x: 0.996152
    B4_y: 0.0837672
    B0_x: 1.40251
    B0_y: 0.638968
    B1_x: 1.06267
    B1_y: -0.387978
    B2_x: 1.24934
    B2_y: 0.097793
    B3_x: 1.46458
    B3_y: -0.0630706
    B4_x: 1.00166
    B4_y: 0.119344
    B0_x: 1.43392
    B0_y: 0.671193
    B1_x: 1.07422
    B1_y: -0.353884
    B2_x: 1.2658
    B2_y: 0.12981
    B3_x: 1.48536
    B3_y: -0.0231537
    B4_x: 0.999281
    B4_y: 0.155266
    B0_x: 1.46712
    B0_y: 0.701569
    B1_x: 1.08593
    B1_y: -0.319839
    B2_x: 1.28128
    B2_y: 0.162308
    B3_x: 1.50148
    B3_y: 0.0188584
    B4_x: 1.00283
    B4_y: 0.200125
    B0_x: 1.50197
    B0_y: 0.730036
    B1_x: 1.09778
    B1_y: -0.285848
    B2_x: 1.29582
    B2_y: 0.195243
    B3_x: 1.51337
    B3_y: 0.0622596
    B4_x: 1.00982
    B4_y: 0.23544
    B0_x: 1.53833
    B0_y: 0.756552
    B1_x: 1.1098
    B1_y: -0.251912
    B2_x: 1.30943
    B2_y: 0.228571
    B3_x: 1.52159
    B3_y: 0.106503
    B4_x: 1.02009
    B4_y: 0.269945
    B0_x: 1.57606
    B0_y: 0.781086
    B1_x: 1.12197
    B1_y: -0.218032
    B2_x: 1.31182
    B2_y: 0.273508
    B3_x: 1.5398
    B3_y: 0.147654
    B4_x: 1.03295
    B4_y: 0.30357
    B0_x: 1.61501
    B0_y: 0.803617
    B1_x: 1.13429
    B1_y: -0.184207
    B2_x: 1.31677
    B2_y: 0.318234
    B3_x: 1.55335
    B3_y: 0.190565
    B4_x: 1.04787
    B4_y: 0.336332
    B0_x: 1.65505
    B0_y: 0.824147
    B1_x: 1.14678
    B1_y: -0.150443
    B2_x: 1.32516
    B2_y: 0.362446
    B3_x: 1.56279
    B3_y: 0.234564
    B4_x: 1.06447
    B4_y: 0.368278
    B0_x: 1.69606
    B0_y: 0.842677
    B1_x: 1.15945
    B1_y: -0.116746
    B2_x: 1.33747
    B2_y: 0.405729
    B3_x: 1.56875
    B3_y: 0.279167
    B4_x: 1.08245
    B4_y: 0.399466
    B0_x: 1.73792
    B0_y: 0.859207
    B1_x: 1.17233
    B1_y: -0.083128
    B2_x: 1.3539
    B2_y: 0.447624
    B3_x: 1.57254
    B3_y: 0.324008
    B4_x: 1.1016
    B4_y: 0.429949
    B0_x: 1.78051
    B0_y: 0.873732
    B1_x: 1.18545
    B1_y: -0.0496025
    B2_x: 1.37442
    B2_y: 0.48767
    B3_x: 1.57423
    B3_y: 0.368976
    B4_x: 1.12177
    B4_y: 0.459767
    B0_x: 1.82373
    B0_y: 0.886251
    B1_x: 1.19883
    B1_y: -0.0161833
    B2_x: 1.38296
    B2_y: 0.531852
    B3_x: 1.58941
    B3_y: 0.411338
    B4_x: 1.14284
    B4_y: 0.488957
    B0_x: 1.86747
    B0_y: 0.89682
    B1_x: 1.21257
    B1_y: 0.0170938
    B2_x: 1.39435
    B2_y: 0.575387
    B3_x: 1.6178
    B3_y: 0.446258
    B4_x: 1.15646
    B4_y: 0.522282
    B0_x: 1.91164
    B0_y: 0.905448
    B1_x: 1.22669
    B1_y: 0.0502072
    B2_x: 1.41523
    B2_y: 0.604713
    B3_x: 1.64484
    B3_y: 0.482221
    B4_x: 1.16306
    B4_y: 0.557672
    B0_x: 1.95613
    B0_y: 0.912153
    B1_x: 1.24123
    B1_y: 0.0831422
    B2_x: 1.4393
    B2_y: 0.631487
    B3_x: 1.6705
    B3_y: 0.519194
    B4_x: 1.17515
    B4_y: 0.59158
    B0_x: 2.00088
    B0_y: 0.916938
    B1_x: 1.25624
    B1_y: 0.115862
    B2_x: 1.46629
    B2_y: 0.655312
    B3_x: 1.69479
    B3_y: 0.55707
    B4_x: 1.1923
    B4_y: 0.623232
    B0_x: 2.04571
    B0_y: 0.920851
    B1_x: 1.27179
    B1_y: 0.148331
    B2_x: 1.4912
    B2_y: 0.692785
    B3_x: 1.72975
    B3_y: 0.585403
    B4_x: 1.2139
    B4_y: 0.652031
    B0_x: 2.09061
    B0_y: 0.923773
    B1_x: 1.28791
    B1_y: 0.180521
    B2_x: 1.52035
    B2_y: 0.727065
    B3_x: 1.76413
    B3_y: 0.614443
    B4_x: 1.23925
    B4_y: 0.677589
    

    posted in technical issues read more
  • atux

    @60hz said:

    @atux said:

    canvas.top
    ... couldn't create

    -> This is my fault, and it's not an important issue... I fixed it in zip.

    If you need more boids number like 115, you also need to change [clone myboid 15] to [clone myboid 115]

    Sure, I did that too. The boids increase in number, but do not move.

    a.

    posted in technical issues read more
  • atux

    @60hz said:

    It works for me, but you certainly need to refresh the [number 15( message AFTER create the [pd boid] subpatches creation.

    Also, here is a better version using [clone] object that has been part of puredata and makes the design more convienient.

    (Note that boids Gem examples need [poltocar] object fom cyclone to work well)

    boids2d_clone_Gem_example.zip

    Hi, your patch works fine, the boids move correctly, but when I increase their number for example from 15 to 115, also doing the "refresh after..." as you said, the boids increase but stay still, they don't move.
    Now, when I open your patch, I get these errors:

    
    --------------------------------------------------------------------
    :: Cyclone 0.6-1; Released june 8th 2022
    :: License: BSD-3-Clause (aka Revised BSD License)
    :: Copyright © 2003-2021 - Krzysztof Czaja, Hans-Christoph Steiner,
    :: Fred Jan Kraan, Alexandre Porres, Derek Kwan, Matt Barber
    :: and others.
    :: -----------------------------------------------------------------
    :: Cyclone 0.6-1 needs at least Pd 0.52-0
                 (you have 0.52-1, you're good!)
    :: Loading the cyclone library did the following:
    ::   - A) Loaded the non alphanumeric objects, which are:
    :: [!-], [!-~], [!/], [!/~], [!=~], [%~], [+=~], [<=~], [<~],
    :: [==~], [>=~] and [>~]
    ::   - B) Added /home/a/Pd/externals/cyclone
    :: to Pd's path so the other objects can be loaded too
    :: but use [declare -path cyclone] to guarantee search priority
    :: in the patch
    --------------------------------------------------------------------
    
    opened alsa MIDI client 130 in:1 out:1
    declare: Gem: unknown declaration
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
     canvas.top
    ... couldn't create
    boids2d 2005-2006 a.sier / jasch    1995-2003 eric l. singer   Jan  1 2023 13:49:25
    

    These are my startup paths:
    Schermata del 2023-01-03 18-38-20.png

    ** [poltocar]** object appears to be in place:

    a@a:~$ cd /home/a/Pd/externals/cyclone
    a@a:~/Pd/externals/cyclone$ ls
    [CUT]          
    
    poltocar.d_fat           
    poltocar~.d_fat          
    poltocar-help.pd        
    poltocar~-help.pd        
    poltocar.l_amd64        
    poltocar~.l_amd64        
    poltocar.l_arm           
    poltocar~.l_arm        
    poltocar.l_i386         
    poltocar~.l_i386         
    poltocar.m_amd64        
    poltocar~.m_amd64        
    poltocar.m_i386          
    poltocar~.m_i386        
               
    [CUT]
    
    
    

    Something is probably missing or i am doing something wrong.

    Bye,
    a.

    posted in technical issues read more
  • atux

    @60hz said:

    @atux You need to manually add number in [route] and connect them to duplicated [pd boid] subpatch in [gem_example]

    Thank you,

    I added 5 boids, but the animation doesn't start (even if [pd orbit] get continuously variable numbers).
    Schermata del 2023-01-02 20-35-08.png

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!