Signature
https://www.facebook.com/justin.yarbrough ~J Framboise
-
framboise
I have a very simple question.
I am attempting to write data into a
-
framboise
I'm using an expression object here to attempt a very simple task, to multiply a variable by a fractional ratio. In the process, I have run into this trouble:
I create a number object and feed it into [expr $f1*(25/24)], but I only receive my variable back to me as output (as if it was merely being multiplied by 1, rather than by the fraction). So I do some testing, and find what does and does not seem to work:
My question is: Why?
Why is it that { 25 -> [expr $f1/24] => 1.041 } works but [expr 25/24] does not and returns 1. It seems like the expression object is rounding to the nearest integer, but that does not make sense.
1 -> [expr (25*$f1)/24] => 1.041 Works.
1 -> [expr (25/24)*$f1] => 1 does Not.~
I know it's a dull question, so I appreciate you in helping me to understand. I want to understand, so that I can avoid the frustration later.PEACE
-
framboise
This is not about GEM, so it may be in the wrong section.
~
okay, so I don't really have any issues with audio. Everything sounds great, low latency. The issue that I am having is that the canvas screen is lagging behind as I try to manipulate objects about and do my thang.Now, I figure this has something more to do with the way that I have my OS set up to hang out with pd-extended. I doubt it's the software.
What puzzles me is (and I'm reaching out my love tendrils for some linux users, here) I just built this compo rig, and it is blazing fast. My OS runs lightening fast. It can multitask like a wizard. Do 3D junk. Dope Sound Card. Lightening Dope. Solid State. 8GB Dual-channel. AMD quad-Core w/ Radeon built-in graphics. I love it. ASUS Xonar Sound. I've built up a nice and easy Arch Linux system, with KDE-base Desktop Enviro.
It's all so solid. Except for PD.
I cannot find the right combonation of symbols and smileys to emote how frustrating this is . . well, its not. 'til just now, while I was trying to locate the right smiley--then, it got frustrating. But seriously, I would like to improve the speed of my PD instance.
What could be the deal?
I am using JACK Audio Connection Kit to orchestrate all my sound software and hardware, and it works quite well--as I said, it all sounds great!
It is initiated through ~/.xinitrc in Real-Time mode:
jackd -R -dalsa -dhw:0 -p256 &
It could be that I'm not using this -p modifier to my advantage.
Gosh, maybe I need to set the priority via the launcher with which I start pd-extended. Hmmm . . I attempt to chage the Priority setting through the System Monitor, but it does not seem to make any improvements. I am somewhat, stumped.
And, I want my PD experience to be more smooth, and fluid. Faster!
THANKS & [gratitude~]
-
framboise
Hello All You, out there in PD World.
This being my #1 Post, I want to say: Thanks for having me! Here, amidst the Pure Data community. I love open source software, and the principal of sharing knowledge generally.
I only recently discovered PD--last week! I am currently on vacation from obligation, and so I am taking my time to do some intellectual callibration, and I sure do appreciate all the help, guys. already! Specifically, Maelstorm & katjav have been super helpful and enlightening. katjav: I freaking love your website (I do not understand your website, yet). But I believe vortex-based mathematics is the key to free energy and harmonics (Though, I must say: I do not know why, exactly). And DSP is so very fascinating. But I have only the most rudimentary understanding of PD, thus far. Thanks to cheetomoskeeto and his youtube page, for the very helpful video tutorials.
As my first patch, merely an adolescent, I would like to share my Pythagorean tuning wheel.
Pythagoras' tuning system, generated by whole-number ratios of perfect fifths and octaves, is more ancient than our current international standard of tuning, the "equal temperament" of our pianos and MIDI keyboards. And if we examine the pitches and their relationships mathematically, we find that the ancient Pythagorean system is more elegant and beautiful (e.g., the standard tuning of Middle 'C' is 261.625565 hertz, Vs. the Pythagorean 'C' @ 256 | or, standard 'D' @ 293.67, Vs. Py's 'D' @ 288. This follows, because the Py scale is *generated by pure ratios: 3/2 (the Perfect Fifth) & 2/1 (the Octave, but of course). In contradistinction, my fellows, our MIDI standard is *Tempered--the ratios are not pure. This is not merely the unfolding of some conspiratory plot. It is for very good reason, I'm sure (I just . . not sure what the reason, here is. . what IS the hold up? Why the glitch? What is this infamous comma anywho?). It is a story, unfolding.
A digital signal is a stream of numbers. Pythagoras was the father of numerology. Give this a try if you want.
Feedback is greatly appreciated.
Peace~ -
framboise
I've been kind of an insomniac the past few days, and I am not in the proper state of mind to give your response full attention at this moment. But I will.
I just wanted to post a pair of patches that I am working on. The core of my 'just intonation' generator patch is all up and running--I might add some file option functionality. You input a midi key # and the frequency you desire it to be, and it uses the key as a fundamental to generate all notes based on the ratios (that I have found) of Just Intonation, storing them into a text file, which can be opened 'Tuned Synth.pd'
I will make it easier to switch between tunings with the synth controller open, using lists or perhaps a knob. But that is for another day . . tomorrow
. .
I am going to research scales and chords . . and music theory in general in the next few weeks.http://www.pdpatchrepo.info/hurleur/Just_Intonation_-_Pure_Data.zip
-
framboise
Awesome, I did not know of the [shell] object. I'm sure that will be very useful at some point.
-
framboise
Here's another instance of tuning functionality that am interested in creating in pd, much like the FlexTune system mentioned above: Unleash the beauty of pure harmony!
I'm definitely not interested in releasing any pay-to-play windows software.
-
framboise
Tell me what you think of Dan Winter's toolbox for biometric measurement of 'internal auto-Coherence':
-
framboise
For this next patch, I saved the note frequencies to a file that is transfered to an array when the patch loads. The array is queried as midi notes are received into pd, this in turn is handled, as according to Maelstorm's "Polyphonic voice management" tutorial, by the poly function to allow for multiple voices.
So basically, its a polyphonic synth controlled by midi input, tuned according to the text file. It's another method to experiment with alternate midi tunings.
http://www.pdpatchrepo.info/hurleur/Tuned_Polyphonic_Synth.zip