<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
h1
        {mso-style-priority:9;
        mso-style-link:"Titolo 1 Carattere";
        margin-top:12.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;
        font-weight:normal;}
h2
        {mso-style-priority:9;
        mso-style-link:"Titolo 2 Carattere";
        margin-top:2.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:0cm;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;
        font-weight:normal;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.Titolo1Carattere
        {mso-style-name:"Titolo 1 Carattere";
        mso-style-priority:9;
        mso-style-link:"Titolo 1";
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;}
span.Titolo2Carattere
        {mso-style-name:"Titolo 2 Carattere";
        mso-style-priority:9;
        mso-style-link:"Titolo 2";
        font-family:"Calibri Light",sans-serif;
        color:#2F5496;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="IT" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I tried to make a patch that allowed me to acquire a MIDI note signal from AKAI LPD8 into my program, then execute a sound file according to the value of the note signal by using a ‘select’ object (that is: according to the pad pressed).
 The main idea of this program is to emulate the operation of mapping the controller MIDI – like you map any controller MIDI in Ableton, for example.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The value of the note signal is acquired by using a ‘notein’ object, then it passes through a ‘select’. In this case only the first pad of AKAI LPD8 should allow the execution of the subsequent ‘open’, ‘delay’ and ‘readsf’ objects.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I press the first pad in my LPD8, I expect that a sound should be executed. Instead, I get an error message in my console: “delay: no method for ‘open’”.<o:p></o:p></p>
<p class="MsoNormal">I’m sure that I can send MIDI signals from LPD8 to Pure Data because I tested it by using different ‘bangs’.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I made this project in Windows 10. In Media > MIDI Settings I selected LPD8 as input device, also I selected ASIO4ALL v2 as audio input and output driver. Finally with Realtek I made sure that any audio file should be executed at 24bit
 / 48000Hz.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What does the error mean?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Andrea<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In Files.rar You’ll find the .pd file with the Sounds folder.
<o:p></o:p></p>
</div>
</body>
</html>