<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[יצירת תווים&#x2F;צלילים בC#]]></title><description><![CDATA[<p dir="auto">שלום<br />
א. יש אפשרות ליצור צלילים בC#? (בJ2ME <a href="http://www.java2s.com/Code/Java/J2ME/PianoMIDlet.htm" target="_blank" rel="noopener noreferrer nofollow ugc">אפשר</a>, נראה לי שראיתי גם בC++)</p>
<p dir="auto">ב. איך הכי קל ליצור תווים?</p>
<p dir="auto">תודה רבה רבה</p>
]]></description><link>https://tchumim.com/topic/12198/יצירת-תווים-צלילים-בc</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 08:25:48 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/12198.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Nov 2021 13:13:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to יצירת תווים&#x2F;צלילים בC# on Tue, 02 Nov 2021 08:53:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%A0-%D7%A0%D7%97">@<bdi>נ-נח</bdi></a></p>
<ul>
<li><a href="https://github.com/melanchall/drywetmidi" target="_blank" rel="noopener noreferrer nofollow ugc">DryWetMIDI</a></li>
<li><a href="https://github.com/naudio/NAudio" target="_blank" rel="noopener noreferrer nofollow ugc">NAudio</a></li>
<li><a href="https://github.com/tebjan/Sanford.Multimedia.Midi" target="_blank" rel="noopener noreferrer nofollow ugc">MIDI Toolkiti</a></li>
</ul>
<p dir="auto">הספרייה  <strong>DryWetMIDI</strong> לדוגמא חושפת <strong>Fluent Api</strong> <a href="https://github.com/melanchall/drywetmidi/blob/develop/DryWetMidi/Composing/PatternBuilder.cs" target="_blank" rel="noopener noreferrer nofollow ugc">עם יכולות מדהימות</a>:</p>
<pre><code>var pattern = new PatternBuilder()
    .Note(MusicTheory.Octave.Get(3).ASharp, length: MusicalTimeSpan.Quarter)
    .Note(MusicTheory.Octave.Get(3).C, length: MusicalTimeSpan.Eighth)
    .Build();

using (var outputDevice = OutputDevice.GetByName("Microsoft GS Wavetable Synth"))
{
    pattern.Play(TempoMap.Default, (FourBitNumber)10, outputDevice);
}
</code></pre>
<p dir="auto">עוד על הספרייה <a href="https://www.codeproject.com/Articles/1275475/DryWetMIDI-Working-with-MIDI-Devices" target="_blank" rel="noopener noreferrer nofollow ugc">DryWetMIDI: Working with MIDI Devices</a></p>
]]></description><link>https://tchumim.com/post/131338</link><guid isPermaLink="true">https://tchumim.com/post/131338</guid><dc:creator><![CDATA[רפאל]]></dc:creator><pubDate>Tue, 02 Nov 2021 08:53:00 GMT</pubDate></item></channel></rss>