Cheers guys, the penny dropped early this morning.
Conor
pd-list-request@iem.at wrote:
Hi Conor,
On Mon, 2005-10-17 at 09:07 -0700, Conor wrote:
Hi folks,
very new to this PD malarky... so please be a little patient. I have ruditmentary question on the output of the fiddle~ object. I simply do not know on what type the pitch (left most output) is ? Is it in terms of MIDI(0-127), some arbitrary scale?
It is on the MIDI note 'scale', but expressed as a floating point number, with 4 decimal places of precision. This gives you the ability to work out microtonal deviations from pitch.
You can verify this by doing something like:
float in (MIDI note number) | mtof | osc~ | fiddle~ 2048 | float out
mtof and ftom convert between frequency and MIDI.
Seems to be mapping 1 per semitone. The fiddle~ in my patch has npoints arguments = 2048 ( i noticed that any size smaller produces a very erratic response), 1 for the number of pitches to output and the last two arguments empty. I was using a guitar(semi-acoustic) as input. totally rookie question but has me stumped.
There is trade of with FFT (which fiddle uses), where a smaller window will give you better resoultion in time but worse frequency resolution and vice versa. Do a Google for 'fft bin', that should throw up some theory.
Jamie
Message: 3 Date: Mon, 17 Oct 2005 11:22:12 +0200 From: Frank Barknecht fbar@footils.org Subject: Re: [PD] beginners Fiddle~ questions To: pd-list@iem.at Message-ID: 20051017092212.GC10700@fliwatut.scifi Content-Type: text/plain; charset=us-ascii
Hallo, Conor hat gesagt: // Conor wrote:
very new to this PD malarky... so please be a little patient. I have ruditmentary question on the output of the fiddle~ object. I simply do not know on what type the pitch (left most output) is ? Is it in terms of MIDI(0-127), some arbitrary scale? Seems to be mapping 1 per semitone.
Yes, it's midi-ish. You can convert to frequency using [ftom] after the [unpack 0 0]
Ciao