• JMC64

    Hello,
    I developped a while ago what I understood of the Eurorack Turing machine. Here is the patch.
    Hope this helps in your research. Improvements are welcome of course. Turing_JMC.pd

    posted in technical issues read more
  • JMC64

    Hi all,

    SImple question : What is the fastest and the most cpu efficient between [tabread] and [text get] for accessing data ?
    For a little sequencer, I am trying to save some CPU and go as fast as possible.
    Thank you

    posted in technical issues read more
  • JMC64

    Thank you for your great help !
    @ingox : I am totally amazed by your little patch... Hidding bangs behind the canvas is really nice. As I avoid space in file names (old command line habit :-) ) I am really grateful to your solution : elegant and simple. I just needed to edit it a little to change the size. However, for long lines... Text goes out of the canvas. Enclosed a modified version which on keep the file name and gets rid of the path... but outputs the full path of the file: abstraction2.pd
    It might help someone.
    It uses [splitfilemane] and [mergefilename] from iem.[abstraction2.pd]

    posted in technical issues read more
  • JMC64

    FlatGui does not want to compile anymore and Messbox does not accept X- paste and CTRL-V sends you into Pd edit mode....

    Just to make it clear: I need to paste into whatever is compatible with Ctr-V and/or X-paste the path of samples ( so I cannot afford making typo mistakes somewhere in long strings) and which is visible in a subpatch or in an abstraction.

    posted in technical issues read more
  • JMC64

    Hello,

    I recently installed/build Pd Vanila from source code on RPI: it compiles flawlessly.
    Just read the linux instruction for building it.
    I personaly do not bother with making a .deb package. I simply do a "sudo make install"

    Source can be found there.

    https://github.com/pure-data/pure-data
    

    Most of the externals are also easily built if you take care with providing the right path to the PDINCLUDEDIR variable for the make file.
    Hope this helps

    posted in I/O hardware diyread more
  • JMC64

    @Whale-av : Thank you for extr doc.
    Indeed the doc in Pd is wrong :

    With zero or one argument, route sprouts an inlet to set the argument (which may be float or symbol).
    

    In fact for a symbol, you need to specify the type or a dummy argument. I hope maintainers of Pd may correct it.

    posted in technical issues read more
  • JMC64

    Found solution :
    In fact [route] does not accept symbol to its right input if zero argument is given in the block.
    But [route foo] accepts a symbol.
    Seems that there is a mistake in the documentation;

    posted in technical issues read more
  • JMC64

    Thank you all for your help..
    @oid : Maybe a developper could create one as an little external ?

    posted in technical issues read more
  • JMC64

    Hello,
    I stumble upon a limit of route. I wish to create a [route ] with no parameter to be able to init the control with a symbol containing the [f $1] value].
    Exemple : [route Interface0] or [route Interface1] , created at start , depending on the instance number of the patch

    The piece is the following :
    [r data]

    [t a b]
    | |
    | [f $1]
    | [symbol Interface$1(
    [route]

    Does anyone have a solution to this?

    Thank you

    posted in technical issues read more
  • JMC64

    Thank you guys for your answers. This is really unfortunate. Is there any plan to implement a "textentry" in Vanilla?

    posted in technical issues read more
  • JMC64

    Hi all,
    I am struggling with the equivalent of a simple text entry in Pd ( i.e. a single entry text line like every GUI is providing, including Tk).
    I wish to paste the text content of the clipboard (copied from somewhere else but Pd) into a the equivalent of a "text entry" box which would be held in an abstraction.
    In Pd : The symbol box does not accept paste from clipboard ( barely X-paste) => So I can't use it
    The message box... does not show on parent window whe belonging to an abstraction => So can't use it, neither.

    What could be a solution?

    Thank you for help

    posted in technical issues read more
  • JMC64

    @jameslo Hello,

    Thank you guys for answering my question. I would be glad if you could share your patch.. I still do not get something sounding the sound examples...
    I will also upload what I came to.. but still very far to my ears.test_birth_planet.pd

    posted in patch~ read more
  • JMC64

    Helle,
    Did you have a look at what is done for Terminal Tedium (RPi based eurorack module) which does communicate between GPIO and Pure data?
    If you would like to use Python to talk to Pd, I would suggest to communicate using OSC message : fast and reliable. Thereis a nice library called PyOSC and dealing with OSC messages in PD is quite straight forward.
    Maybe the code thereafter could be adapted to your needs :
    https://github.com/JMC64/Terminal-Tedium-/tree/master/OSC_receiver

    Hope this helps

    posted in technical issues read more
  • JMC64

    Hello,
    I am trying to reproduced the sound made with the eurorack patch on this page
    http://www.modular-planet.de/synthpad/birth-of-planet/birth-of-planet.html
    Despite that every thing is explained, it seems to me that the parameters values are very important (especially fof lFO rate and ampliture) and I do not manage to get anything close enough ( what is 0.5 on a knob in Cut off Frequency ?) .

    Would someone help ?
    Thank you a lot

    posted in patch~ read more
  • JMC64

    @lacuna : I have trouble understanding. Could you please make a short patch explaining what you mean with the triangle? Thank you a lot .. I hope it might help others too.

    posted in technical issues read more
  • JMC64

    Resetting the phasor~ is not really an option, as the phasor is used to read a cos~ or to be further processed ( for making a triangle or inverted saw tooth). therefore, reset creates discontinuities in the calculated LFO..

    The patch is to be run on a Bela platform or Rpi in a Eurorack modular synth. The main clock is provided by a dedicated module called Ornament and Crime.

    posted in technical issues read more
  • JMC64

    Thank you a lot.. It works very well. My mistake was also to use realtime instead of timer.

    posted in technical issues read more
  • JMC64

    Hello all,
    ATM, in Pd, I am struggling with creating a externally synched LFO receiving a clock from an external source. For instance a sawtooth (phasor~) .
    For this LFO to complete its cycle, I need to calculate its frequency, therefore I think I need to know the time interval between 2 received ticks. The LFO also needs to start its cycle when receiving a tick( bang) from the emitter.
    It also need to be quite steady : its frequency should not change at every tick.
    But the emitter of the clock is of course is not perfect and the clock not completely steady. The time interval between 2 received ticks can change of a few ms.,
    I tried averaging the value of the time interval with a running average but this is not satisfactory. The system does not respond well if too many points are taking into account.. leading to a desynch with the incoming clock and a slow respond to real change of the external clock (i.e. 120 -> 130 BPM).
    I also wish not to change the average value of the frequency of the LFO every time a tick is received is received, but only when a significant change occurs.

    Does any one have a solution for this ?

    Thank you for your help.

    posted in technical issues read more
  • JMC64

    Hello all,

    I asking for advice on the best way to read single cycle waveforms from a bank :

    Every single cycle wavform is made of 2048 points (samples). The aim is to morph from waveform_1 to waveform_2.
    In order to save computing time (this is made to run on a RPi), the morphing is saved into a "bank" where the transitions from Waveform_1 to Waveform_2 are stored one after the other one and the speed of this wavform change can be modulated.
    The bank is a wavfile.

    At this stage I use a phasor~ to read the wavform and move the offset (0, 2048, 4096, ...) in the bank for reading but the result sounds bad (kind of a buzzing sound like the phasor was being part of the sound).

    Here is the elementary patch and a screenshot of what a bank look like.

    Is there an efficient way for doing this please? (/uploads/files/1577112224693-capture-du-2019-08-24-21-49-55.png)
    Capture du 2019-12-23 15-38-33.png

    Capture du 2019-12-23 15-55-45.png

    posted in technical issues read more
  • JMC64

    Hello,
    Could someone explain how to achieve Phase modulation on a wavtable?

    Reading a wavtable is :
    Phasor~
    |
    *~ SampleSize
    |
    tabread4~ Wavtable

    and Phase modulation is :

    Phasor~
    |
    +~ ---- PhaseModulation~
    |
    cos~

    I tried several solution like :
    Phasor~
    |
    +~ ---- PhaseModulation~
    |
    wrap~
    |
    *~ sampleSIze
    |
    tabread~ WaveTable

    But I am no sure if this is the right way to achieve it (what is the respective order between *~ SampleSize and +~ --PhaseModulation

    Thank you for your help

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!