<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body><div><div style="font-family: Calibri,sans-serif; font-size: 11pt;">password</div></div><div dir="ltr"><hr><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:pd-list-request@lists.iem.at">pd-list-request@lists.iem.at</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">‎2/‎13/‎2017 21:49</span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;"><a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a></span><br><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;">Pd-list Digest, Vol 143, Issue 77</span><br><br></div>Send Pd-list mailing list submissions to<br> pd-list@lists.iem.at<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>     https://lists.puredata.info/listinfo/pd-list<br>or, via email, send a message with subject or body 'help' to<br>    pd-list-request@lists.iem.at<br><br>You can reach the person managing the list at<br> pd-list-owner@lists.iem.at<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Pd-list digest..."<br><br><br>Today's Topics:<br><br>   1. DejaVu Font: Shipping & using on W32 (Lucas Cordiviola)<br>   2. [PD-announce] [OT] digital subtractive synthesis (cyrille henry)<br>   3. Re: DejaVu Font: Shipping & using on W32 (Dan Wilcox)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 13 Feb 2017 17:43:33 +0000<br>From: Lucas Cordiviola <lucarda27@hotmail.com><br>To: Dan Wilcox <danomatika@gmail.com>, Miller Puckette <msp@ucsd.edu><br>Cc: Pd-List <pd-list@lists.iem.at><br>Subject: [PD] DejaVu Font: Shipping & using on W32<br>Message-ID:<br>       <BL2PR01MB339BA41D49E95CBE07F7A66A6590@BL2PR01MB339.prod.exchangelabs.com><br>      <br>Content-Type: text/plain; charset="windows-1252"<br><br>More:<br><br>For this test i used  “twapi-bin-4.1.27.zip ” and extracted it to pd\lib.<br><br><br><br><br><br>Mensaje telepatico asistido por maquinas.<br><br><br>________________________________<br>From: Pd-list <pd-list-bounces@lists.iem.at> on behalf of Lucas Cordiviola <lucarda27@hotmail.com><br>Sent: Monday, February 13, 2017 4:40 PM<br>To: Dan Wilcox; Miller Puckette<br>Cc: Pd-List<br>Subject: Re: [PD] cross platforms issues with displaying fonts in vanilla but not in Purr Data<br><br><br>Ok,<br><br>Following Dan`s suggestion to ship & use a font without installing it, I came to a very straight-forward method for w32.<br><br>Tested & working.<br><br>It uses a Tcl Windows API extension. (600KB)<br><br>twapi web:<br>http://twapi.sourceforge.net/v4.1/installation.html<br><br><br>twapi package:<br>https://sourceforge.net/projects/twapi/files/Current%20Releases/Tcl%20Windows%20API/twapi-4.1.27/<br><br><br>added lines on "pd-gui.tcl" @line 24:<br><br># adding dejavu fonts on mswindows<br>package require twapi<br>twapi::AddFontResourceEx DejaVuSansMono.ttf<br>twapi::AddFontResourceEx DejaVuSansMono-Bold.ttf<br><br>0000000<br><br>Don't know how to exclude this "package require" for the other OSs.<br>The .ttf were placed on pd/bin for simplicity.<br><br><br><br>Mensaje telepatico asistido por maquinas.<br><br><br>________________________________<br>From: Dan Wilcox <danomatika@gmail.com><br>Sent: Monday, February 13, 2017 5:06 AM<br>To: Lucas Cordiviola<br>Cc: Jonathan Wilkes; Alexandre Torres Porres; Pd-List; Miller Puckette<br>Subject: Re: [PD] cross platforms issues with displaying fonts in vanilla but not in Purr Data<br><br><br>On Feb 12, 2017, at 6:49 PM, Lucas Cordiviola <lucarda27@hotmail.com<mailto:lucarda27@hotmail.com>> wrote:<br><br><br>>Another issue is that, for many, the rendering of a bolded DVSM will simply look *ulgy* to those used to a normal-weight Monaco, especially if they never used an earlier version of Pd or Pd on Linux.<br><br>IMO the default cross platform font should NOT be Bold. As Dan said OSX users will most likely find it ugly, and it was not bold in Pd-extended nor is in Purr-Data.<br><br>I tested with bold as that is the default font weight for vanilla on Linux AFAICT.<br><br><br>>>How difficult is to deploy DejaVu on Mac?<br><br><br>>Typically, add a key to the app bundle Info.plist and include the font in the app bundle's Resource folder. This means the font does not have to be installed system- or user- wide but only used by the app itself. This assumes Tk’s handling of app bundles picks up on registered fonts from the plist (it should).<br><br><br>>As for Windows, it looks like it’s possible to load a font that comes with the app (the Windows API alls this a:<br><br>https://msdn.microsoft.com/en-us/library/windows/desktop/ms533820(v=vs.85).aspx<br><br>http://code.activestate.com/lists/tcl-core/8158/#sthash.qJEhQALT.dpuf<br><br>@Dan:<br><br>The Tcl thing is just for Windows?<br><br>Yes as it’s using the Window’s API.<br><br>Or Cross-platform?<br><br>No. See above.<br><br>I know the Mac solution. Deja Vu is usually installed on Linux systems and, if not, can be an install requirement by whatever package manager is being used. There is no need to distribute and install a copy of the font on Linux.<br><br>--------<br>Dan Wilcox<br>@danomatika<http://twitter.com/danomatika><br>danomatika.com<http://danomatika.com><br>robotcowboy.com<http://robotcowboy.com><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170213/65b34378/attachment-0001.html><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 13 Feb 2017 20:11:48 +0100<br>From: cyrille henry <ch@chnry.net><br>To: pd-announce@lists.iem.at<br>Subject: [PD] [PD-announce] [OT] digital subtractive synthesis<br>Message-ID: <33a2e1f8-06a1-443e-30e9-cfcb40cf8dd3@chnry.net><br>Content-Type: text/plain; charset="utf-8"; Format="flowed"<br><br>hello,<br><br>OK, the aim of this mail is to announce my new hardware synthesizer :<br>http://nozoid.com/ocs-2<br>I already talked a bit about it on this list, but I did build a bunch of them and they are now for sale!<br><br><br>But since we are on the pd list, let me talk about pd, synthesis and things I learned while building an high quality, analogue style, digital synthesizer.<br><br>Here are 3 facts:<br><br>1) I often heard that pd sound badly<br>2) every user of the OCS-2 synth love its sound<br>3) I developed (and distribute) the equations use in this synth in pd before porting them to a hardware, so you can have the same sound in pd than in my synth.<br><br>So, according to fact 3, why do we have fact 1?<br><br><br>- Equations are not the only factor that "create" a sound. The way you control this equations is also very important. (see the "zipper" noise if you don't control the gain of an oscillator at audio rate).<br><br>In pd, the data clock is by default SR/64, I.E less than 1KHz. The "line" object usually output a value at 50Hz.<br><br>For my synth, data are computed at about 10HKz.<br>This make a difference :<br>   LFO shapes are closer to the desired shape, and contain less aliasing artifact<br>   fast fader movement are more accurate<br>   ...<br><br>Fortunately, this can be fixed in pd : [line] can output value at faster frequency, and data rate can be increase by reducing audio block size. Moreover, this can be done only where it's important, and you can keep default value where speed did not matter.<br><br><br>- The precision of the control is also very important :<br>in pd, fader precision are limited by screen resolution, and fader usually goes from 0 to 127. Shift clicking to increase resolution did not help if you want to move fast.<br>from 20Hz to 20KHz, there is about 127 note, so don't expect micro-tonal resolution...<br>A standard analogue system can easily have a S/N ration of 70dB, I.E a 12 bit resolution : more than 4K value from min to max<br>It is also what the OCS fader provide.<br><br>Unfortunately, it's not easy to have good/accurate control in pd. But that's not really a pd limitation...<br><br><br>- The SR of the audio synthesis can also be important : the higher the SR, the more audio aliasing you can remove.<br>And you don't need a 192K SR on your sound card, you can just oversample the part that need it in your patch, filter, and go back to a lower SR.<br>But, better than trying to remove aliasing, it's better not to create it...<br><br><br>- After few thread about band limited oscillator, I still see some people using the [phasor~] as an audio oscillator. No offenses, but let me be clear : [phasor~] is a very useful object, but it's not an audio oscillator. Use one of the BL oscillator abstraction if you are looking for a sawtooth signal. Using phasor~ as an audio oscillator only to hurt ears.<br><br><br><br>So, if you know what you are doing and take few precaution, you should be able to make your patch to sound nice...<br><br><br>Now that i tricked you to read this mail,<br>please, go to<br>http://nozoid.com<br>and buy hundreds of synths to make me rich, or just dozen so that i can pay my bill (it cost a lot to build hardware).<br><br>Well just sharing the website to your musician friend will help me.<br><br>thanks and cheers,<br>Cyrille<br><br>_______________________________________________<br>Pd-announce mailing list<br>Pd-announce@lists.iem.at<br>https://lists.puredata.info/listinfo/pd-announce<br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 13 Feb 2017 13:48:36 -0700<br>From: Dan Wilcox <danomatika@gmail.com><br>To: Lucas Cordiviola <lucarda27@hotmail.com><br>Cc: Miller Puckette <msp@ucsd.edu>, Pd-List <pd-list@lists.iem.at><br>Subject: Re: [PD] DejaVu Font: Shipping & using on W32<br>Message-ID: <162065CF-6CBC-4093-9E47-EA5B44344E97@gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Cool, good to know that in theory it works. I also found a related solution which uses a different extension do the same thing: http://wiki.tcl.tk/22262 <http://wiki.tcl.tk/22262><br><br>However, I’d say that requiring a tcl/tk extension may not be the best overall solution since historically Pd has avoided requiring anything beyond the base tcl/tk.<br><br>A possible best approach is take the example C code for the forum post and make a *tiny* custom extension that is built only on Windows and loaded by the tk gui in order to load the private font. I don’t think we can simply add the font loading code to the core itself since it’s a separate process from the gui.<br><br>In any case, this is something I can look into after I put together a triple boot machine to test some things on different platforms, including the vanilla autotools build on win.<br><br>> On Feb 13, 2017, at 10:43 AM, Lucas Cordiviola <lucarda27@hotmail.com> wrote:<br>> <br>> Following Dan`s suggestion to ship & use a font without installing it, I came to a very straight-forward method for w32.<br>> <br>> Tested & working.<br>> <br>> It uses a Tcl Windows API extension. (600KB)<br>> <br>> twapi web:<br>> http://twapi.sourceforge.net/v4.1/installation.html <http://twapi.sourceforge.net/v4.1/installation.html><br>> <br>> twapi package:<br>> https://sourceforge.net/projects/twapi/files/Current%20Releases/Tcl%20Windows%20API/twapi-4.1.27/ <https://sourceforge.net/projects/twapi/files/Current%20Releases/Tcl%20Windows%20API/twapi-4.1.27/><br>> <br>> added lines on "pd-gui.tcl" @line 24:<br>> <br>> # adding dejavu fonts on mswindows<br>> package require twapi<br>> twapi::AddFontResourceEx DejaVuSansMono.ttf<br>> twapi::AddFontResourceEx DejaVuSansMono-Bold.ttf<br>> <br>> 0000000<br>> <br>> Don't know how to exclude this "package require" for the other OSs.<br>> The .ttf were placed on pd/bin for simplicity.<br><br>--------<br>Dan Wilcox<br>@danomatika <http://twitter.com/danomatika><br>danomatika.com <http://danomatika.com/><br>robotcowboy.com <http://robotcowboy.com/><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170213/be212109/attachment.html><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Pd-list mailing list<br>Pd-list@lists.iem.at<br>to manage your subscription (including un-subscription) see<br>https://lists.puredata.info/listinfo/pd-list<br><br><br>------------------------------<br><br>End of Pd-list Digest, Vol 143, Issue 77<br>****************************************<br></body></html>