• djpersonalspace

    @toxonic hey thanks for the explanation. So am I right in saying that with pd a reference of 100 is setting the compressor to push the signal towards 0db rms? Also, how does compression factor relate to compression ratio that you might expect to see on commercial compressors?

    Thanks again

    posted in technical issues read more
  • djpersonalspace

    Hi guys, so ive made a compressor patch from Johannes Kreidler's Loadbang book, but there isnt loads of information about how to use it and how it works. Ive used compressors before, but this is the first time I've made one. The book progresses the patch from a limiter, which when I tested I found worked pretty much how I expected but I'm struggling to understand how I'm supposed to use the compressor. Say I have a signal coming in too quiet and I want to amplify it - what settings do I diall in ? I cant seem to get this behaviour. Have I missed something? Also, what are the threshold, reference and "compression factor" measured in in this case? Any help much appreciated.
    compressorJK.pd

    posted in technical issues read more
  • djpersonalspace

    wow thanks everyone, a lot of reading to do to understand what these do but theyre all definitely less expensive than my method considering the only way i could think to re-run again and again until I had no zeroes was by putting a small delay in the circuit so I didnt get a stack overflow. But yeah, loads of great solutions. Pd community never fails! Thanks again.

    posted in technical issues read more
  • djpersonalspace

    @djpersonalspace made some progress using this method: https://cs.stackexchange.com/questions/3227/uniform-sampling-from-a-simplex?fbclid=IwAR22GMB9TZc2Day8uXRp7cDPa3RDuvw2iwq5LUtq37C4E1tieFj1dzuUudI

    so i implemented that like so Screenshot 2020-02-07 at 15.33.34.png

    just wondering if anyone knows how i could prevent zeros coming up? is there a way I could just re-run this code over and over if a zero comes up, without causing a stack overflow?

    posted in technical issues read more
  • djpersonalspace

    Hey guys, how can I randomly generate a number of values which add up to a given value? So say I want 4 numbers that add up to 16: they could be (4, 4, 4, 4) or (10, 2, 2, 2) or (4, 3, 5, 4) etc etc. does anyone know a way of doing this efficiently? I would also like to be able to control how many of these numbers are allowed to be zero, if any.

    Thanks in advance

    posted in technical issues read more
  • djpersonalspace

    Hi guys

    Looking to try and make a basic FM module with operators characteristic of the FM8 VST. I have been trying to work out what the scaling on the modulation index is. On the FM8 GUI, the output parameter it is given as 0 to 100.. I found this post about it and have tried to follow the instructions but am getting no good results. https://www.native-instruments.com/forum/threads/modulation-index.6534/

    Am i missing something? With a test between waves getting modulated with the maximum index, and a ratio of 2, they do not sound the same. Although their spectrums are similar, they are not the same. What does the modulation index get multiplied by to scale it correctly?

    posted in technical issues read more
  • djpersonalspace

    @djpersonalspace said:

    Hi sorry to bring up an old topic, but just wanted to be clear. The offset is to allow you to basically key in the desired midi notes to the array before they are played. So that you can hear them as you play them as well as storing them for the next loop yes? Struggling to get my head round the best way to do this..

    Also, where do the linked lists come into it? I cant see any list objects in the patch?

    Sorry if Im being thick just learning pd

    Thanks in advance

    posted in technical issues read more
  • djpersonalspace

    Awesome thanks, works great. I do not understand your patch at all though so i I have some studying to do haha

    posted in technical issues read more
  • djpersonalspace

    Hi posted in here about this, but then deleted my post thinking ive found a solution. Now I've run into some problems with that. Basically i want to be able to play in and quantise notes to 16 step sequencer in real time. I thought if I used 1/32 clock running 0.5 ahead of the 1/16 clock this would do the trick. The only thing is that the way my patch works is that I sent the current step recording to a tabwrite object, as the index to write the note that is coming from notein to an array. The problem is if it is going from 1 to 32 then it is too many numbers for my array and if i half it then [i] to make integer it just runs at same time as the 1/16 clock. What am i missing here? Sorry i am a pd beginner. Thanks Screenshot 2019-10-14 at 13.07.57.png

    posted in technical issues read more
  • djpersonalspace

    @weightless wow!

    as im still quite new to pure data and programming in general this kind of stuff blows my mind a little bit lol

    posted in technical issues read more
  • djpersonalspace

    @cuinjune said:

    Adding the [vline~] at the end produced a clean square waveform sound. Thank you!

    thats mad

    posted in technical issues read more
  • djpersonalspace

    I am unsure how OSC works so im not sure. I'm basically looking for a vanilla way, so what you have described should work. I will look into this. Thanks for the advice guys

    posted in technical issues read more
  • djpersonalspace

    Hi

    I am working on a project in which I want to scrape data from a website and use it to manipulate parameters within pd. I am working on pd vanilla and python version 3.7.4

    So far I have worked out how I can scrape data from websites using python and the beautifulsoup and requests library. What I need to be able to do now is work out how to periodically run this script again and again (say every minute for example) to keep the data up to date. I realise this part may be a question for a python forum but any guidance on this would be appreciated,

    My main question, however, is how to then feed that information into pd. I have done a lot of reading and it seems like OSC is the best way to go, using python-osc. However, I am struggling to get my head round how I go about doing this as I am pretty new to coding and I can't find any tutorials or much information online about this. Has anyone had any experience doing this who can offer any advice?

    Thanks in advance

    posted in technical issues read more
  • djpersonalspace

    awesome thanks for the help, do you know much about python? I have installed the newest version and some libraries including beautifulsoup4 but i think i may have installed the libraries for the older version of python, as i keep getting this warning in my terminal :
    "DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support"
    which makes me think its the older version?

    posted in technical issues read more
  • djpersonalspace

    No worries !
    Cool thanks, so the script (made in python) would have to have a line in it where it specified to send the data which it scraped from the webpage specifically to a netrecieve object ? where does this script run? Is there like a python external for pd which it would run with?

    and sweet ill have a look at that teensy script, really keen to try and make some instruments that i can physically play with the knobs and switches!

    Cheers

    posted in technical issues read more
  • djpersonalspace

    Im working a project on pd at the moment and id like to have live data changing the parameters, from a motion sensor or whatever. Whats the best way of doing this? Also was wondering if it would be possible to use data from online or another source e.g the temperature or the weather in a certain place according to the internet?

    Cheers

    posted in technical issues read more
  • djpersonalspace

    Hey that's great thanks! I will try that out :) I have now edited it so that theres more room in the MIN-MAX bit for setting parameters so its less fiddly, so the numbers will be a bit different but I think I'm pretty much understanding how it works now...just need to have a mess around with it. Thanks again!

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!