<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>diário de bordo &#187; mathematics</title>
	<atom:link href="http://joaomartins.entropiadesign.org/tag/mathematics/feed/" rel="self" type="application/rss+xml" />
	<link>http://joaomartins.entropiadesign.org</link>
	<description>Há histórias de crianças que marcam, com migalhas de pão, o caminho que fazem pelos bosques, para poderem voltar a casa... são traídas pelos pássaros. Há histórias de marinheiros que registam as viagens de ida para se guiarem na volta e documentarem a sua glória... são engolidos pelo mar. À nossa volta, acumulam-se os registos do que foi, esperançosos de mudarem o que vai ser...</description>
	<lastBuildDate>Mon, 26 May 2014 13:57:34 +0000</lastBuildDate>
	<language>pt-PT</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.31</generator>
	<copyright>2006-2008 </copyright>
	<managingEditor>joaomartins@entropiadesign.org (Joao Martins)</managingEditor>
	<webMaster>joaomartins@entropiadesign.org (Joao Martins)</webMaster>
	<ttl>14400</ttl>
	<image>
		<url>http://joaomartins.entropiadesign.org/wp-content/uploads/podcast/silenciosuspeitosmall.jpg</url>
		<title>diário de bordo</title>
		<link>http://joaomartins.entropiadesign.org</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Há histórias de crianças que marcam, com migalhas de pão, o caminho que fazem pelos bosques, para poderem voltar a casa... são traídas pelos pássaros. Há histórias de marinheiros que registam as viagens de ida para se guiarem na volta e documentarem a sua glória... são engolidos pelo mar. À nossa volta, acumulam-se os registos do que foi, esperançosos de mudarem o que vai ser...</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Music" />
	<itunes:author>Joao Martins</itunes:author>
	<itunes:owner>
		<itunes:name>Joao Martins</itunes:name>
		<itunes:email>joaomartins@entropiadesign.org</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://joaomartins.entropiadesign.org/wp-content/uploads/podcast/silenciosuspeitosmall.jpg" />
	<item>
		<title>Pi Day: DIY celebration &#124; Dia do Pi: celebração Faça-Você-Mesmo</title>
		<link>http://joaomartins.entropiadesign.org/2008/03/07/pi-day-diy-celebration-dia-do-pi-celebracao-faca-voce-mesmo/</link>
		<comments>http://joaomartins.entropiadesign.org/2008/03/07/pi-day-diy-celebration-dia-do-pi-celebracao-faca-voce-mesmo/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 01:51:35 +0000</pubDate>
		<dc:creator><![CDATA[joaomartins]]></dc:creator>
				<category><![CDATA[arte]]></category>
		<category><![CDATA[ciência]]></category>
		<category><![CDATA[música]]></category>
		<category><![CDATA[dia-do-pi]]></category>
		<category><![CDATA[matemática]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[pi-day]]></category>
		<category><![CDATA[pure-data]]></category>

		<guid isPermaLink="false">http://joaomartins.entropiadesign.org/2008/03/07/pi-day-diy-celebration-dia-do-pi-celebracao-faca-voce-mesmo/</guid>
		<description><![CDATA[[english version below - please scroll] O Dia do Pi celebra-se em todo o mundo a 14 de Março (3.14 no formato amerciano de datas) e há imensas razões para celebrar esta entidade matemática extraordinária. E há também muitas formas &#8230; <a href="http://joaomartins.entropiadesign.org/2008/03/07/pi-day-diy-celebration-dia-do-pi-celebracao-faca-voce-mesmo/">Continuar a ler <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p align="right"><small>[english version below - please scroll]</small></p>
<p> <a href="http://www.piday.org/?ref=widget"><img src="http://www.piday.org/widgets/code/200x90Badge.gif.php" alt="Pi Day Countdown" align="left" border="0" height="90" width="200" /></a><strong><a href="http://www.piday.org/" target="_blank" title="Pi Day website">O Dia do Pi</a></strong> celebra-se em todo o mundo a 14 de Março (3.14 no formato amerciano de datas) e há imensas razões para celebrar esta entidade matemática extraordinária. E há também muitas formas de o fazer.</p>
<p>No <a href="http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/" target="_blank" title="Routine Check: Pi Day Variation 1">último episódio do podcast mostrei uma experiência musical feita a partir do <strong>Pi</strong></a>, recorrendo ao <strong><a href="http://www.puredata.info/" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong> e prometi explicações também em português e a disponibilização do patch. Cá está: <a href="http://joaomartins.entropiadesign.org/wp-content/uploads/2008/03/diadopi-final.zip" target="_blank" title="Dia do Pi: Pure Data patch"><strong>diadopi-final.zip</strong></a> simplificado e comentado em português.</p>
<p>Mas, primeiro, as explicações que tinha dado só em inglês.</p>
<p>2 professoras de Matemática (a minha mãe e uma colega) pediram-me para conceber alguma forma de representação musical de <strong>Pi</strong> para ser usada no <strong>Dia do Pi</strong> em escolas do básico. Usei, obviamente, o <strong><a href="http://www.puredata.info/" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong> para  fazer várias experiências.</p>
<p>Usei alguns princípios simples.<br />
Como <strong>Pi</strong> é uma dízima infinita não periódica, a sequência de casas decimais pode ser lida, algarismo a algarismos e mapeada para que cada algarismo corresponda a uma nota musical. Teríamos assim uma escala de 10 notas que o <strong><a href="http://www.puredata.info/" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong> pode &#8220;tocar&#8221; lendo os algarismos como uma partitura.</p>
<p>Se escolhermos uma sequência longa, como <a href="http://www.piday.org/million.php" target="_blank" title="One million digits of Pi">1 milhão de casas decimais de <strong>Pi</strong></a>, e a passarmos por qualquer sintetizador ou sampler teremos a representação musical ou sonora dessa sequência infinita e não periódica.</p>
<p>Para assegurar algum interesse musical e não &#8220;assustar&#8221; o público em geral, escolhi mapear os algarismos de acordo com a escala pentatónica maior (as teclas pretas do piano, que produzem uma espécie de escala chinesa), já que esta escala garante uma coesão harmónica grande e a possibilidade de sobrepôr mais do que uma série, sem criar dissonâncias. Como a escala tem 5 notas, usei-a estendida em 2 oitavas e estabeleci uma pulsação rítmica regular.</p>
<p>Assim, o <strong><strong><a href="http://www.puredata.info/" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong> lê o milhão de algarismos de <strong>Pi</strong> e toca-os, um de cada vez. O mapeamento faz corresponder a cada algarismo uma nota MIDI, que é convertida em frequência (para poder reorganizar a escala em qualquer altura) e torna-se audível através dum sintetizador básico, com modulação de amplitude e de frequência, com um ligeiro ar de percussão metálica. Adiciona-se a isso um envelope ASR e um gerador de ruído para dar alguma cor e a base está feita. Esta é a sequência mais rápida que se ouve na faixa do <a href="http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/" target="_blank" title="Routine Check: Pi Day Variation 1">podcast</a>. Mas houve-se igualmente uma segunda sequência, ou voz, mais lenta. Acrescentei isso para testar alguma variação, por isso uso a mesma sequência e mapeamento, mas a um ritmo 4 vezes mais lento e com uma forma de onda mais simples. A escolha da pentatónica torna tudo mais fácil e o resultado final tem um efeito de &#8220;escala/dimensão&#8221; que também tem interesse no contexto Matemático: usando diferentes abordagens podemos encontrar &#8220;escondidos&#8221; na sequência de algarismos, variadíssimos &#8220;significados&#8221; (nomes, números de telefone e BI) como se demonstra no <strong><a href="http://www.atractor.pt/fromPI/index.html" target="_blank" title="Uma viagem ao interior de Pi">Atractor</a></strong>.</p>
<p>O resultado em qualquer uma das fases tem o seu interesse e quem quiser experimentar tem todo o meu apoio.</p>
<p>No <a href="http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/" target="_blank" title="Routine Check: Pi Day Variation 1">podcast</a> há umas &#8220;suspensões&#8221; a cada minuto que resultam de variações introduzidas por outros factores, para mostrar algumas das possibilidades do patch.</p>
<p>E, <a href="http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/" title="Routine Check: Pi Day Variation 1">como tinha anunciado, o meu patch <strong>Pi Day Pure Data </strong>está disponível</a> para quem quiser usar. Podem descarregá-lo aqui: <a href="http://joaomartins.entropiadesign.org/wp-content/uploads/2008/03/diadopi-final.zip" target="_blank" title="Dia do Pi: Pure Data patch">Dia do Pi: Pure Data patch</a></p>
<p>É uma versão simplificada, só com a sequência principal e está comentado em Português. É relativamente fácil de usar (fiz o teste com a minha mãe) e permite a representação audível e visível do <strong>Pi</strong>.</p>
<p>Para usarem, precisam de:</p>
<ol>
<li><a href="http://puredata.info/downloads" target="_blank" title="Pure data downloads">Descarregar e instalar o <strong>Pure Data</strong></a><br />
É livre, gratuito e existe para todas as plataformas. Os instaladores são simples. Aconselho a última versão estável do <strong>pd-extended</strong> (0.39.3 por agora). É só descarregar, descomprimir, abrir o instalador e seguir as instruções.</li>
<li>Descarregar e descomprimir o meu ficheiro <strong><a href="http://joaomartins.entropiadesign.org/wp-content/uploads/2008/03/diadopi-final.zip" target="_blank" title="Dia do Pi: Pure data patch"><strong>diadopi-final.zip</strong></a></strong> para um sítio relevante no vosso computador<br />
Devem ficar com uma pasta chamada <strong>diadopi-final</strong> com 4 ficheiros lá dentro (<strong>diadopi.pd</strong>, <strong>pi.txt</strong>, <strong>fftscope.pd</strong> e <strong>oscscope.pd</strong>)</li>
<li>Abrir o patch <strong>diadopi.pd</strong> (um duplo click e está)<br />
Vão ficar com 2 janelas do PD abertas: o patch e a consola. Certifiquem-se de que a opção <strong>compute audio</strong> está seleccionada na consola.</li>
<li>Seguir os passos do patch (as instruções têm números):
<ol>
<li>Canto superior esquerdo &#8211; clicar em <strong>table pi</strong><br />
Cria uma tabela para receber os valores de Pi. A janela que aparece pode ser fechada ou minimizada.</li>
<li>Clicar em <strong>pi resize 1e+06…<br />
</strong>Redimensiona a tabela para albergar 1 milhão de entradas e carrega o ficheiro <strong>pi.txt</strong>. <strong>pi.txt</strong> é <a href="http://www.piday.org/million.php" target="_blank" title="One million digits of Pi">1 milhão de casas decimais de <strong>Pi</strong></a>, separadas por parágrafos.</li>
<li>Clicar no botão para reinicializar os valores base<br />
Pode usar este botão em qualquer altura para voltar ao primeiro algarismo da sequência, indpendentemente da sequência estar parada ou em andamento.</li>
<li>No canto inferior direito, uma barra vertical &#8211; Controlo do Volume<br />
Pode alterar o volume em qualquer altura. <strong>O = MUTE</strong>. <strong>1 = MAX</strong>.</li>
<li>Acima de 4 &#8211; clicar em <strong>pd montra</strong><br />
Vai abrir uma nova janela onde poderá ver uma representação do que irá acontecer. Cada algarismo &#8220;acende&#8221; uma luz diferente nos quadrados negros e tem um osciloscópio e o gráfico FFT. Mantenha esta janela visível.</li>
<li>No cimo, ao centro &#8211; clicar no quadrado acima de <strong>metro</strong><br />
Vai iniciar a sequência à velocidade base de 176.8 milisegundos para cada nota. A sequência de 1 milão de algarismos demora 48 horas. Pode parar e reiniciar a sequência em qualquer altura clicando neste botão.</li>
</ol>
</li>
</ol>
<p>Se alguma coisa (ou tudo) fallhar, pode entrar em contacto comigo, através dos comentários.</p>
<p>Se quiser editar alguma coisa, vá ao menu <strong>Edit</strong> &gt; <strong>Edit Mode</strong> (ctrl+e) e experimente à vontade. A alteração do tempo (metro), da escala base (notas MIDI), da configuração geomátrica da <strong>montra</strong>, assim como alguns parâmetros dos 3 osciladores usados deve ser relativamente simples. Se quiser usar este exemplo para se iniciar no <a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a>, fico muito contente. Vá experimentando e familiarize-se com o menu <strong>Help</strong>.</p>
<p>E, se quiser, pergunte coisas. Eu só responderei ao que souber e puder. <img src="http://joaomartins.entropiadesign.org/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
<p>Feliz <a href="http://www.piday.org" target="_blank" title="Pi Day website"><strong>Dia do P</strong></a>!</p>
<p>&#8211; english:</p>
<p><a href="http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/" title="Routine Check: Pi Day Variation 1">As announced, my <strong>Pi Day Pure Data patch</strong> is available</a> for anyone to use.<br />
You can download it here: <a href="http://joaomartins.entropiadesign.org/wp-content/uploads/2008/03/diadopi-final.zip" target="_blank" title="Dia do Pi: Pure Data patch">Dia do Pi: Pure Data patch</a></p>
<p>It&#8217;s a slightly simpler version (one sequence only) and it&#8217;s commented (Portuguese only, sorry). It&#8217;s fairly simple to use (as far as I can tell) and it allows a simultaneous audible and a visible representation of <strong>Pi</strong>.</p>
<p>To use it, you&#8217;ll need:</p>
<ol>
<li><a href="http://puredata.info/downloads" target="_blank" title="Pure data downloads">Download and install <strong>Pure Data</strong></a><br />
It&#8217;s freely available for every platform and the installers are straight-forward. I advise the latest stable release of <strong>pd-extended</strong> (0.39.3 as of this writing). It should be a matter of downloading, uncompressing, double-clicking an installer and following instructions.</li>
<li>Download and uncompress my zipped file <a href="http://joaomartins.entropiadesign.org/wp-content/uploads/2008/03/diadopi-final.zip" target="_blank" title="Dia do Pi: Pure data patch"><strong>diadopi-final.zip</strong></a> to a convenient location on your computer<br />
You should have a folder named <strong>diadopi-final</strong> with 4 files inside (<strong>diadopi.pd</strong>, <strong>pi.txt</strong>, <strong>fftscope.pd</strong> and <strong>oscscope.pd</strong>)</li>
<li>Open my <strong>diadopi.pd</strong> patch (double-clicking it should do)<br />
You&#8217;ll have 2 <strong>PD</strong> windows: the patch and the console. Make sure <strong>compute audio</strong> is enable in the console window.</li>
<li>Follow the patch steps (look for the numbered instructions):
<ol>
<li>Upper left corner &#8211; click <strong>table pi</strong><br />
Generates a table to receive Pi values and you can close the table window that opens at this time.</li>
<li>Below 1 &#8211; click <strong>pi resize 1e+06…<br />
</strong>Resizes the table to hold one million entries and loads <strong>pi.txt</strong> into it. <strong>pi.txt</strong> is <a href="http://www.piday.org/million.php" target="_blank" title="One million digits of Pi">one million digits of <strong>Pi</strong></a>, separated by paragraphs.</li>
<li>Below 2 (the square button) &#8211; Resets initial values<br />
You can use this button at any time to go back to the first digit of the sequence, either stopped or playing.</li>
<li>Lower right corner (vertical slider) &#8211; Sets volume<br />
You can change the volume at any time. <strong>O = MUTE</strong>. <strong>1 = MAX</strong>.</li>
<li>Above 4 &#8211; click <strong>pd montra</strong><br />
This will open a new window where you will be able to see a simple graphical representation of what&#8217;s happening. Digits of <strong>Pi</strong> light up different squares and you have an oscilloscope and an FFT graph. Keep this window visible.</li>
<li>Up center, click the square button above <strong>metro</strong><br />
This starts the sequence at a default speed of 176.8 milliseconds for each note. It will take 48 hours to complete the sequence of one million digits. You can stop and resume at any time pressing the same button.</li>
</ol>
</li>
</ol>
<p>If anything (or everything) fails, you can reach me through the comments at this post.</p>
<p>If you want to edit something, you&#8217;ll have to go to <strong>Edit</strong> &gt; <strong>Edit Mode</strong> (ctrl+e) and you&#8217;re free to experiment. Changing default time, musical scales (using MIDI values), the geometrical configuration of <strong>montra</strong> and some parameters of the 3 oscillators should be fairly simple. If you want to use this example to start to learn <a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a>, I&#8217;ll be thrilled. Just play around and get to know the <strong>Help</strong> section.</p>
<p>And feel free to ask questions. I&#8217;ll feel free to answer only when possible. <img src="http://joaomartins.entropiadesign.org/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
<p>Happy <a href="http://www.piday.org" target="_blank" title="Pi Day website"><strong>Pi Day</strong></a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://joaomartins.entropiadesign.org/2008/03/07/pi-day-diy-celebration-dia-do-pi-celebracao-faca-voce-mesmo/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>Routine Check: RC#20080305 &#8211; Pi Day Variation 1</title>
		<link>http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/</link>
		<comments>http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 03:39:51 +0000</pubDate>
		<dc:creator><![CDATA[joaomartins]]></dc:creator>
				<category><![CDATA[ciência]]></category>
		<category><![CDATA[música]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[Silêncio Suspeito]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[mathematics]]></category>
		<category><![CDATA[pi-day]]></category>
		<category><![CDATA[pure-data]]></category>
		<category><![CDATA[routine-check]]></category>

		<guid isPermaLink="false">http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/</guid>
		<description><![CDATA[Pi Day is celebrated worldwide every March, 14 (3.14 in American date format) and there are a lot of reasons to celebrate such an amazing mathematical entity. And there are also many ways to celebrate it. I&#8217;ve been asked to &#8230; <a href="http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/">Continuar a ler <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.piday.org/?ref=widget"><img src="http://www.piday.org/widgets/code/200x90Badge.gif.php" alt="Pi Day Countdown" align="left" border="0" height="90" width="200" /></a><strong><a href="http://www.piday.org/" target="_blank" title="Pi Day website">Pi Day</a></strong> is celebrated worldwide every March, 14 (3.14 in American date format) and there are a lot of reasons to celebrate such an amazing mathematical entity. And there are also many ways to celebrate it.</p>
<p>I&#8217;ve been asked to design some form of musical representation and/or celebration of <strong>Pi</strong> to be used at local schools by a couple of Math teachers (my mother and one of her colleagues) and I&#8217;ve been doing several experiments with <a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a> (the perfect tool for Math and Music relations).<br />
The basic principles I&#8217;m using are simple.<br />
<strong> Pi</strong> is an irrational number, meaning it will continue infinitely without repeating, so you can read it as a non repeating sequence of all 10 digits (0, 1, 2, 3 , 4, 5 ,6, 7, 8, 9). If you map every digit (0, 1, 2, 3 , 4, 5 ,6, 7, 8, 9) to a specific musical note or sound you can have <strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong> &#8220;playing&#8221; <strong>Pi</strong>, simply by reading each digit at a time.<br />
You can choose a long sequence, such as <a href="http://www.piday.org/million.php" target="_blank" title="One million digits of Pi">one million digits of <strong>Pi</strong></a> and feed it to any sort of synth or sample player and you&#8217;ll have a musical or sonic representation of that infinite non repeating sequence.</p>
<p>For the sake of musical interest and not to &#8220;scare&#8221; general public, I&#8217;ve chosen to map each digit to a note on the <a href="http://en.wikipedia.org/wiki/Pentatonic#Major_pentatonic_scale" target="_blank" title="Major pentatonic Scale">major pentatonic scale</a> (the &#8220;Chinese&#8221; effect of playing the black keys of the piano), since it guarantees a certain overall harmony and the possibility of overlapping several series without dissonance. I&#8217;ve used a 2 octave range to have all 10 digits matching a different pitch and then I&#8217;ve established a pulse to have rhythmic regularity. This way <strong><strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong> fetches the million digits of <strong>Pi</strong> and plays them, one at a a time. The mapping makes every digit send a MIDI note that gets converted to frequency (this way I can rearrange the scale at any time) and made audible through a simple modular synth, with amplitude and frequency modulation, that might resemble some metallic percussion. A discrete envelope filter and a noise generator to give it some color and the basis is done. That&#8217;s the faster sequence you hear on this track, but you&#8217;ll also notice a second, slower one. That&#8217;s because I wanted to add something, so I&#8217;ve added a second layer where <strong><strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong> is also reading and playing <strong>Pi</strong>, also with the same pitch mapping, but 4 times slower and with a simpler sine wave. The pentatonic comes in handy here, and the end result has a &#8220;scaling&#8221; effect also relevant in the Mathematical context: if you use different approaches to the &#8220;meaning&#8221; of the sequence, you can find pretty much anything embedded into it— your name, your phone number, your ID number (check this <a href="http://www.atractor.pt/fromPI/index.html" target="_blank" title="Journey inside Pi (in Portuguese)">Portuguese site</a>).</p>
<p>The result at any stage can be interesting, in my opinion, and I&#8217;ll be making different variations of the original <strong><strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong> patch available to anyone interested. For this <strong>Routine Check</strong> podcast episode I&#8217;ve decided to take a third period (a more structural thing) and add a small &#8220;suspension&#8221; every minute or so, and then end it with a slight twist (you&#8217;ll have to hear it).</p>
<p>If you want to use this sample in your own <strong><a href="http://www.piday.org/" target="_blank" title="Pi Day website">Pi Day</a></strong> celebration, feel free (feedback and credits are welcomed). But if you want a &#8220;broader&#8221; experience, I can send you the <strong><strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong> patch with instructions. You&#8217;ll be able to study and alter it, and you&#8217;ll have a working example, where the digits show up in sequence, and the apparent patterns are not only audible, but visible.</p>
<p><small>Special thanks to Miguel Cardoso, for his help with <strong><strong><strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong></strong> and my mother Rosa Amélia Martins, for the mathematical input.</small></p>
<p>Post-Scriptum: have you noticed that <strong><a href="http://www.piday.org/" target="_blank" title="Pi Day website">Pi Day</a></strong> and <strong><strong><a href="http://www.puredata.info" target="_blank" title="Pure Data"><strong>Pure Data</strong></a></strong></strong> share the same initials?</p>
]]></content:encoded>
			<wfw:commentRss>http://joaomartins.entropiadesign.org/2008/03/06/routine-check-rc20080305-pi-day-variation-1/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
			<enclosure url="http://joaomartins.entropiadesign.org/podpress_trac/feed/682/0/rc20080305-pidayvariation1.mp3" length="12552192" type="audio/mpeg" />
		<itunes:duration>0:06:32</itunes:duration>
		<itunes:subtitle>Pi Day is celebrated worldwide every March, 14 (3.14 in American date format) and there are a lot of reasons to celebrate such an amazing mathematical entity. And there are also many ways to celebrate it.
I&#8217;ve been asked to design some form of[...]</itunes:subtitle>
		<itunes:summary>Pi Day is celebrated worldwide every March, 14 (3.14 in American date format) and there are a lot of reasons to celebrate such an amazing mathematical entity. And there are also many ways to celebrate it.
I&#8217;ve been asked to design some form of musical representation and/or celebration of Pi to be used at local schools by a couple of Math teachers (my mother and one of her colleagues) and I&#8217;ve been doing several experiments with Pure Data (the perfect tool for Math and Music relations).
The basic principles I&#8217;m using are simple.
 Pi is an irrational number, meaning it will continue infinitely without repeating, so you can read it as a non repeating sequence of all 10 digits (0, 1, 2, 3 , 4, 5 ,6, 7, 8, 9). If you map every digit (0, 1, 2, 3 , 4, 5 ,6, 7, 8, 9) to a specific musical note or sound you can have Pure Data &#8220;playing&#8221; Pi, simply by reading each digit at a time.
You can choose a long sequence, such as one million digits of Pi and feed it to any sort of synth or sample player and you&#8217;ll have a musical or sonic representation of that infinite non repeating sequence.
For the sake of musical interest and not to &#8220;scare&#8221; general public, I&#8217;ve chosen to map each digit to a note on the major pentatonic scale (the &#8220;Chinese&#8221; effect of playing the black keys of the piano), since it guarantees a certain overall harmony and the possibility of overlapping several series without dissonance. I&#8217;ve used a 2 octave range to have all 10 digits matching a different pitch and then I&#8217;ve established a pulse to have rhythmic regularity. This way Pure Data fetches the million digits of Pi and plays them, one at a a time. The mapping makes every digit send a MIDI note that gets converted to frequency (this way I can rearrange the scale at any time) and made audible through a simple modular synth, with amplitude and frequency modulation, that might resemble some metallic percussion. A discrete envelope filter and a noise generator to give it some color and the basis is done. That&#8217;s the faster sequence you hear on this track, but you&#8217;ll also notice a second, slower one. That&#8217;s because I wanted to add something, so I&#8217;ve added a second layer where Pure Data is also reading and playing Pi, also with the same pitch mapping, but 4 times slower and with a simpler sine wave. The pentatonic comes in handy here, and the end result has a &#8220;scaling&#8221; effect also relevant in the Mathematical context: if you use different approaches to the &#8220;meaning&#8221; of the sequence, you can find pretty much anything embedded into it— your name, your phone number, your ID number (check this Portuguese site).
The result at any stage can be interesting, in my opinion, and I&#8217;ll be making different variations of the original Pure Data patch available to anyone interested. For this Routine Check podcast episode I&#8217;ve decided to take a third period (a more structural thing) and add a small &#8220;suspension&#8221; every minute or so, and then end it with a slight twist (you&#8217;ll have to hear it).
If you want to use this sample in your own Pi Day celebration, feel free (feedback and credits are welcomed). But if you want a &#8220;broader&#8221; experience, I can send you the Pure Data patch with instructions. You&#8217;ll be able to study and alter it, and you&#8217;ll have a working example, where the digits show up in sequence, and the apparent patterns are not only audible, but visible.
Special thanks to Miguel Cardoso, for his help with Pure Data and my mother Rosa Amélia Martins, for the mathematical input.
Post-Scriptum: have you noticed that Pi Day and Pure Data share the same initials?</itunes:summary>
		<itunes:keywords>ciência, música, podcast</itunes:keywords>
		<itunes:author>Joao Martins</itunes:author>
		<itunes:explicit>no</itunes:explicit>
		<itunes:block>no</itunes:block>
	</item>
	</channel>
</rss>
