User:Francg/expub/specialissue2/report: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "<div style="float: left; color:#00FF40; margin: 0 15px 0 0; width: 550px; font-size:120%; line-height: 1.3em; letter-spacing: 0.8px;"> <br>* * Pd procedure report * * <br>1...")
 
No edit summary
Line 1: Line 1:
<div style="float: left; color:#00FF40; margin: 0 15px 0 0; width: 550px; font-size:120%; line-height: 1.3em; letter-spacing: 0.8px;">
<div style="float: left; color:#00FF40; margin: 0 15px 0 0; width: 550px; font-size:120%; line-height: 1.3em; letter-spacing: 0.8px;">
<br>* * Pd procedure report * *
<br>* * Pd procedure report * *
</div>
<div style="float: left; color:black; margin: 0 15px 0 0; width: 550px; font-size:120%; line-height: 1.3em; letter-spacing: 0.8px;">


<br>1 - To use motion detection in Pd from our webcam, we need to use the "gem" library.  
<br>1 - To use motion detection in Pd from our webcam, we need to use the "gem" library.  
Line 30: Line 32:
<br>13- Another Issue; the audio file plays far too fast
<br>13- Another Issue; the audio file plays far too fast


<br>14- Check out audio settings:  
<br>14- Check out that the sample rate of the audio file corresponds to default Pd audio settings:  
<br>- in preview: (e.g. 16 bits per sample)
<br>- in preview: (e.g. 16 bits per sample)
<br>- in Audacity: Sample Rate e.g. Format (32-bit float)
<br>- in Audacity: Sample Rate e.g. Format (32-bit float)
<br>- Default setting in Pd: e.g. Sample Rate: 41000
<br>- Default setting in Pd: e.g. Sample Rate: 41000
<div>

Revision as of 20:47, 1 March 2017


* * Pd procedure report * *


1 - To use motion detection in Pd from our webcam, we need to use the "gem" library.


2- "Pd vainilla" doesn't install "Gem" by default. We need to download it and drag the folder in Users>Library>Pd (if there isn't, we create one)


3- Specify the "path" to this folder on Pd preferences.


4- Oops, the webcam is still not detected! :@


5- Apparently, Gem doesn't work with newer versions of Mac OS in "Pd Vainilla"


6- Let's try downloading "Pd - Extended", checking the path, etc.


7- Now it works! webcam is detected in Pd, success.


8- However, the log sends me errors of files that couldn't be loaded. Weird.


9- I keep on experimenting with the patch also using different tools from the gem library; pix_color/grey and other filters, rectangle shapes and positioning, pix_blob 4 using Osc to create sounds out of motion detection, etc.


10- I try to import audio to "Pd-extended" using different methods: "openpanel" by uploading everytime the audio file and "open" from path. ...but Pd cannot open the audio file! :@


11 - I need to Download XQuarz so my system's library will be automatically updated.


12- Now we can import and listen to audio files! :)


13- Another Issue; the audio file plays far too fast


14- Check out that the sample rate of the audio file corresponds to default Pd audio settings:
- in preview: (e.g. 16 bits per sample)
- in Audacity: Sample Rate e.g. Format (32-bit float)
- Default setting in Pd: e.g. Sample Rate: 41000