<div dir="ltr">Of course you can only really use the mono versions -- or at least, when it comes to getting sound out, send it to &#39;out&#39; rather than &#39;outs&#39; and let chucK deal with it from there. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 7:13 AM, Forrest Curo <span dir="ltr">&lt;<a href="mailto:treegestalt@gmail.com" target="_blank">treegestalt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Csound has the opcodes -- <br><br>If you&#39;ve got the examples working, you should be able to put together a .csd file that&#39;ll let you use them <br>[At least, I have tested those example and they work. I haven&#39;t tested the .csd and instrument codes I&#39;m putting into my own usage, because that&#39;s going to be complex, takes time I don&#39;t have to write -- &amp; isn&#39;t ready to run yet.]<br></div><br></div>Those opcodes include:<br><dl><dt>
                    <span>
                      fluidAllOut
                    </span>
                    <span> — 
      Collects all audio from all Fluidsynth engines in a performance
           </span>
                  </dt><dt>
                    <span>
                      fluidCCi
                    </span>
                    <span> — 
      Sends a MIDI controller data message to fluid.
           </span>
                  </dt><dt>
                    <span>
                      fluidCCk
                    </span>
                    <span> — 
      Sends a MIDI controller data message to fluid.
    </span>
                  </dt><dt>
                    <span>
                      fluidControl
                    </span>
                    <span> — 
      Sends MIDI note on, note off, and other messages to a SoundFont preset.
           </span>
                  </dt><dt>
                    <span>
                      fluidEngine
                    </span>
                    <span> — 
      Instantiates a fluidsynth engine.
    </span>
                  </dt><dt>
                    <span>
                      fluidLoad
                    </span>
                    <span> — 
       Loads a SoundFont into a fluidEngine, optionally listing SoundFont contents.
    </span>
                  </dt><dt>
                    <span>
                      fluidNote
                    </span>
                    <span> — 
      Plays a note on a channel in a fluidSynth engine.
           </span>
                  </dt><dt>
                    <span>
                      fluidOut
                    </span>
                    <span> — 
      Outputs sound from a given fluidEngine
           </span>
                  </dt><dt>
                    <span>
                      fluidProgramSelect
                    </span>
                    <span> — 
      Assigns a preset from a SoundFont to a channel on a fluidEngine.
           </span>
                  </dt><dt>
                    <span>
                      fluidSetInterpMethod
                    </span>
                    <span> — 
      Set interpolation method for channel in Fluid Engine
           </span>
                  </dt></dl><dl><dt>
                    <span>
                      [&amp; this more low-level stuff  that gives you more specific control over subsequent processing]:<br></span></dt><dd><br></dd><dt><span>sfilist
                    </span>
                    <span> — 
      Prints a list of all instruments of a previously loaded SoundFont2 (SF2) file.
          </span>
                  </dt><dt>
                    <span>
                      sfinstr3
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound with cubic interpolation.
          </span>
                  </dt><dt>
                    <span>
                      sfinstr3m
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample instrument, generating a mono sound with cubic interpolation.
          </span>
                  </dt><dt>
                    <span>
                      sfinstr
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample instrument, generating a stereo sound.
          </span>
                  </dt><dt>
                    <span>
                      sfinstrm
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample instrument, generating a mono sound.
    </span>
                  </dt><dt>
                    <span>
                      sfload
                    </span>
                    <span> — 
      Loads an entire SoundFont2 (SF2) sample file into memory.
    </span>
                  </dt><dt>
                    <span>
                      sflooper
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample preset, generating a stereo sound, with user-defined
      time-varying crossfade looping.
    </span>
                  </dt><dt>
                    <span>
                      sfpassign
                    </span>
                    <span> — 
      Assigns all presets of a SoundFont2 (SF2) sample file to a sequence of progressive index numbers.
          </span>
                  </dt><dt>
                    <span>
                      sfplay3
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample preset, generating a stereo sound with cubic interpolation.
    </span>
                  </dt><dt>
                    <span>
                      sfplay3m
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample preset, generating a mono sound with cubic interpolation.
    </span>
                  </dt><dt>
                    <span>
                      sfplay
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample preset, generating a stereo sound.
    </span>
                  </dt><dt>
                    <span>
                      sfplaym
                    </span>
                    <span> — 
      Plays a SoundFont2 (SF2) sample preset, generating a mono sound.
    </span>
                  </dt><dt>
                    <span>
                      sfplist
                    </span>
                    <span> — 
      Prints a list of all presets of a SoundFont2 (SF2) sample file.
          </span>
                  </dt><dt>
                    <span>
                      sfpreset
                    </span>
                    <span> — 
      Assigns an existing preset of a SoundFont2 (SF2) sample file to an index number.
          </span>
                  </dt></dl><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 6:54 AM, Pietari Seppänen <span dir="ltr">&lt;<a href="mailto:pietari.seppanen@pohjoinen.net" target="_blank">pietari.seppanen@pohjoinen.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>


<div><div>Hi Spencer,</div><div><br></div><div>Previously I only got the chuck_dl error 126. I don&#39;t know what&#39;s happened, but Chuck does load the chugin now. However, it doesn&#39;t work: it doesn&#39;t have any of the functions related to FluidSynth (at least &#39;open&#39; or &#39;noteOn&#39;). That said, I&#39;m unqualified to even compile these things properly, so I wouldn&#39;t go looking for bugs based on my strange process of getting the chug file to appear.</div><span><font color="#888888"><div><br></div><div>Pietari</div></font></span><div><div><div><br></div><div>On Wed, 07 Oct 2015 12:28:02 +0300, Spencer Salazar &lt;<a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a>&gt; wrote:<br></div><br><blockquote style="margin:0 0 0.80ex;border-left:#0000ff 2px solid;padding-left:1ex"><div dir="ltr">Hi <span style="font-size:12.8px">Pietari,</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Glad to hear of your interest in working with FluidSynth and ChucK. The main FluidSynth chugin works fairly well on Mac OS X and Linux (last I checked) but I have not yet tried to port it to Windows. Heavyweight chugins like FluidSynth tend to be harder to develop and maintain for multiple platforms, as each system has its own eccentricities with build systems and linking to external libraries. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If you can post the log output from the console when that error occurs, that would be helpful, as maybe it is a straightforward error to fix. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">spencer</span></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 5, 2015 at 9:30 AM, Pietari Seppänen <span dir="ltr">&lt;<a href="mailto:pietari.seppanen@pohjoinen.net" target="_blank">pietari.seppanen@pohjoinen.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi! The Extend section of the Chuck site describes a FluidSynth chugin for<br>
using soundfonts. CCRMA does have code for this chugin (<a href="https://github.com/ccrma/chugins/tree/master/FluidSynth" rel="noreferrer" target="_blank">https://github.com/ccrma/chugins/tree/master/FluidSynth</a>), which I managed to<br>
compile for Windows after many, many hours of effort. Unfortunately, I get<br>
a chuck_dl error 126 when Chuck tries to load the file (I had to change<br>
the message level), so either my frankly ridiculous compiling process<br>
broke it or the code doesn&#39;t work right now.<br>
<br>
Does anyone have this chugin in working form?<br>
<br>
Regards,<br>
<br>
Pietari Seppänen<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><div>Spencer Salazar<br></div><div>Doctoral Candidate</div><div>Center for Computer Research in Music and Acoustics</div><div>Stanford University</div><div><br></div><div><a href="mailto:spencer@ccrma.stanford.edu" target="_blank">spencer@ccrma.stanford.edu</a></div><div><a href="tel:%2B1%20831.277.4654" value="+18312774654" target="_blank">+1 831.277.4654</a><br></div><div><a href="https://ccrma.stanford.edu/~spencer/" style="color:rgb(17,85,204)" target="_blank">https://ccrma.stanford.edu/~spencer/</a><br></div><div><br></div></div></div></div></div></div></div></div></div></div>
</div>
</blockquote><br><br><br></div></div></div><br>_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>