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

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
<div style="float: left; color:black; margin: 0 15px 0 0; width: 550px; font-size:120%; line-height: 1.3em; letter-spacing: 0.8px;">
<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 - In order to use motion detection in Pd by connecting a webcam, we need to use the "gem" library.  
<br>1 - In order to be able to detect motion in Pd by using a video input, we need to use "gem" library.  


<br>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)
<br>2- "Pd vainilla" doesn't install "Gem" by default. We need to download it and drag the folder in Users>Library>Pd (if there is none, we create one)


<br>3- Specify the "path" to this folder on Pd preferences.
<br>3- Specify the "path" to this folder on Pd preferences.
Line 36: Line 36:
<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
<br>15- Audio sounds correct.


<div>
<div>

Latest revision as of 01:02, 2 March 2017


* * Pd procedure report * *


1 - In order to be able to detect motion in Pd by using a video input, we need to use "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 is none, 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


15- Audio sounds correct.