From: DoMi <dom...@fr...> - 2012-06-02 15:15:15
|
<html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> Manipulating the score imported from the .mid<br> you can affect a different instrument to each part<br> if the last parameter of Write.au is an array of Instrument objects<br> the number of the part corresponding to the index number of this array.<br> <big><i><tt>Instrument[] insts = { sineWave, FMBrass, FatBass };</tt></i></big><br> <i><tt><big>Write.au(myScore, "MIDIfileExport.au",insts);</big></tt></i><br> (sineWave, FMBrass, FatBass are instances of Instrument)<br> <br> If you want all parts to use the same instrument, set the instrument number (MIDI instrument : <tt>0</tt> to <tt>127</tt>) of each part to<tt> 0</tt>:<br> <big><tt>partOne.setInstrument(0);<br> partTwo.setInstrument(0);<br> partThree.setInstrument(0);<br> ...</tt></big><br> Have a look there :<br> <a class="moz-txt-link-freetext" href="http://explodingart.com/jmusic/jmtutorial/Audio101.html">http://explodingart.com/jmusic/jmtutorial/Audio101.html</a><br> <br> or simply :<br> <a class="moz-txt-link-freetext" href="http://explodingart.com/jmusic/jmtutorial/t1.html">http://explodingart.com/jmusic/jmtutorial/t1.html</a><br> I got the book too. It's sometimes more handy :)<br> <br> DoMi<br> <br> Le 01/06/2012 15:34, Frank Ni a écrit : <blockquote cite="mid:133...@we..." type="cite"> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="font: inherit;" valign="top">Thanks. How about for scores with 6 parts of different instruments, how to save it from *.mid to *.wav ?<br> <br> Frank<br> <br> --- On <b>Fri, 6/1/12, DoMi <i><a class="moz-txt-link-rfc2396E" href="mailto:dom...@fr..."><dom...@fr...></a></i></b> wrote:<br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br> From: DoMi <a class="moz-txt-link-rfc2396E" href="mailto:dom...@fr..."><dom...@fr...></a><br> Subject: Re: [jMusic-dev] export midi<br> To: "Frank Ni" <a class="moz-txt-link-rfc2396E" href="mailto:nm...@ya..."><nm...@ya...></a><br> Cc: <a class="moz-txt-link-abbreviated" href="mailto:jmu...@li...">jmu...@li...</a><br> Date: Friday, June 1, 2012, 8:50 AM<br> <br> <div id="yiv1885819142"> <div> first download all available instruments:<br> <big><tt><a moz-do-not-send="true" rel="nofollow" class="yiv1885819142moz-txt-link-freetext" target="_blank" href="http://sourceforge.net/projects/jmusic/files/jMusic_Instruments/1.6/">http://sourceforge.net/projects/jmusic/files/jMusic_Instruments/1.6/</a></tt></big><br> <br> and with SineInst.java in the application path :<br> <br> <big><tt>Score myScore = new Score(); <br> </tt><tt>Read.midi(myScore, "aMIDIfile.mid");<br> Instrument sinusoide = new SineInst(44100,2);// the simpliest one<br> Write.au(myScore, "</tt><tt>MIDIfile</tt><tt>Export.au",sinusoide);<br> <br> DoMi<br> </tt></big><br> Le 30/05/2012 22:52, Frank Ni a écrit : <blockquote type="cite"> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="font:inherit;" valign="top">I can't seem to find way to save a *.mid file into a *.wav file in jMusic. Can this be done with jMusic, any sample Java code ?<br> <br> Frank<br> <br> --- On <b>Tue, 5/8/12, Marcos Bernabé <i><a moz-do-not-send="true" rel="nofollow" class="yiv1885819142moz-txt-link-rfc2396E" ymailto="mailto:ma...@te..." target="_blank" href="/mc/compose?to=ma...@te..."><ma...@te...></a></i></b> wrote:<br> <blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br> From: Marcos Bernabé <a moz-do-not-send="true" rel="nofollow" class="yiv1885819142moz-txt-link-rfc2396E" ymailto="mailto:ma...@te..." target="_blank" href="/mc/compose?to=ma...@te..."><ma...@te...></a><br> Subject: Re: [jMusic-dev] export midi<br> To: <a moz-do-not-send="true" rel="nofollow" class="yiv1885819142moz-txt-link-abbreviated" ymailto="mailto:dom...@fr..." target="_blank" href="/mc/compose?to=dom...@fr...">dom...@fr...</a><br> Cc: <a moz-do-not-send="true" rel="nofollow" class="yiv1885819142moz-txt-link-abbreviated" ymailto="mailto:jmu...@li..." target="_blank" href="/mc/compose?to=jmu...@li...">jmu...@li...</a><br> Date: Tuesday, May 8, 2012, 3:48 PM<br> <br> <div id="yiv1885819142">Thank you very much!!!<br> <br> Setting the shorter note lenght in MuseScore it works fine.<br> <br> now I'm working in linux, but thanks for notePad recomendation, I will try it in OSX.<br> <br> thank you!! best wishes<br> marcos<br> <br> <div class="yiv1885819142gmail_quote">2012/5/8 DoMi <span dir="ltr"><<a moz-do-not-send="true" rel="nofollow">dom...@fr...</a>></span><br> <blockquote class="yiv1885819142gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div> Hello<br> MuseScore is a very good free piece of code (I'm testing nightbuilds of the next version 2 that I look very much out of the stable version)<br> <span lang="en"><span>I used</span> <span>Finale</span> <span>professionally</span> <span>for twenty</span> <span>years</span></span> but I often recommend MuseScore (<span lang="en"><span>more</span> <span>similar to</span> <span>Sibelius) </span></span>for it's more intuitive, ease use and it's good looking music printing<br> <span lang="en"><span>I organize</span> <span>training for</span> <span>music teachers and/or pupils</span></span>, beginners or advanced (many not referenced functions and tricks)<br> Did you select the shorter note length desired (select 8th or 16th for your example) in the input box while importing MIDI file?<br> The MuseScore current version is 1.2<br> <br> <span lang="en"><span>otherwise, w</span></span>hich OS do you got?<br> If it's MSWindows, you can get NotePad (Finale like) for free (just registering) :<br> <a moz-do-not-send="true" rel="nofollow" target="_blank" href="http://www.finalemusic.com/NotePad/Default.aspx">http://www.finalemusic.com/NotePad/Default.aspx</a><br> There, to select visual quantization while importing MIDI files (extracted from Help doc) :<br> <br> ___________ Once NotePad installed, launch it and setup Quantization parameters<br> <br> Choose "MIDI > Quantization Settings."<br> <br> What it does:<br> <br> The Quantization Settings dialog box allows you to specify the smallest note value NotePad will quantze <br> while importing MIDI files and the type of quantization it will perform such as allowing or ignoring tuplets.<br> <br> Keep in mind that in NotePad, the term Quantization refers to something slightly different than it does in sequencing software. <br> In sequencers, when you Quantize a note, you shorten or lengthen the start/stop times of the notes so that they are aligned more precisely with the pulse. <br> In short, you change how the notes sound. <br> If you quantize a measure of 16th notes to a 1/4 note quantization, you will subsequently only hear four quarter notes (probably chords) in this measure.<br> <br> In NotePad, on the other hand, the quantization affects how the notes appear rather than how they sound. <br> Quantizing the same measure of 16th notes in NotePad by a 1/4 note will cause four 1/4 note chords to appear BUT may still play back the 16th note run. <br> ________<br> <br> DoMi<br> <br> Le 07/05/2012 14:50, Marcos Bernabé a écrit : <div> <div class="yiv1885819142h5"> <blockquote type="cite"> <div>thank you DoMi!</div> <div> </div> <div>Your explanation is very clear.</div> <div> </div> <div>I import the midi file with an open software named MuseScore. Do you know other Musical notation Editor that with better visualization of MIDI files?</div> <div> </div> <div>than you!</div> <div>marcos<br> </div> <div class="yiv1885819142gmail_quote">2012/5/7 DoMi <span dir="ltr"><<a moz-do-not-send="true" rel="nofollow">dom...@fr...</a>></span><br> <blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;" class="yiv1885819142gmail_quote"> <div> Hello Marcos<br> <span lang="en"><span>In</span> <span>score editors</span> <span>based on the</span> <span>MIDI</span>, <span>notes</span> <span>have</span> <span>their full value</span> <br> <span>but their</span> <span>actual length</span> <span>is shorter</span> <span>because of</span> <span>the need to stop</span> <span>the current note</span> <span>before issuing the</span> <span>next one</span><span>.</span> <br> <span>Indeed</span><span>,</span> <span>the</span> <span>MIDI</span> <span>signal flow</span> <span>is not instantaneous</span> <span>and in case of</span> <span>repetition</span> <span>of the same note</span> <br> <span>if</span> <span>"note off"</span> <span>is</span> <span>instantly</span> <span>followed</span> <span>by</span> <span>"notes</span> <span>on"</span> <span>the</span> <span>second note</span> <span>may crash.</span> <span><br> The option</span> <span>to</span> <span>generate</span> <span>note length</span> <span>slightly shorter</span> <span>supplemented by</span> <span>a rest</span> <span>seems essential</span> <span>and consistent</span><span> creating a MIDI file.</span> <span><br> The</span> <span>resulting "note</span> </span><span lang="en"><span> figure" </span></span><span lang="en"><span>(</span><span>crotchet.png</span><span>)</span> <span>=</span> <span>8th</span> <span>+</span> <span>16th</span> <span></span><span></span> <span>+</span> <span>32nd </span></span><span lang="en"><span>+</span> <span>64th</span> <span>+</span> <span>64th</span></span><span lang="en"> <span>(rest</span><span>)</span> <span>=</span> <span>4th</span> <span>(</span><span>crotchet</span><span>)</span></span><br> <br> <span lang="en"><span>Quantizing</span> <span>Notes (</span><span>starting</span> <span>point and</span> <span>length</span><span>)</span> <span>of the file to</span> <span>a value</span> <span>greater than</span> <span>+</span> <span></span><span>64th</span> <span>would stick notes</span> <span>to each other</span> <span>at</span> <span>risk</span> <span>to get the result</span> <span>described above.</span><br> <span>M</span><span>usical notation</span> Editors <span>offer</span> <span>a</span> <span>default</span> <span>visual</span> <span>quantization</span> <span>(</span><span>non-destructive</span><span>)</span> of <span>MIDI files</span> <span>to prevent</span> <span>the display</span> <span>like your</span> <span>picture</span> <span>attached</span><span>.</span></span><br> <br> Hoping this will help you<br> <br> DoMi<br> <br> <br> Le 04/05/2012 18:58, Marcos Bernabé a écrit : <blockquote type="cite"> <div> <div>Hi!<br> <br> I have a score with a crotchet note as defined with this code:<br> <br> Note(C4, CROTCHET);<br> <br> When I export to a midi file I get the result attachment in this mail. It's not a crotchet. May be happening?<br> <br> thank you!<br> marcos<br> <br> <br> <fieldset></fieldset> <br> </div> </div> <pre>------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. <a moz-do-not-send="true" rel="nofollow" target="_blank" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre> <br> <fieldset></fieldset> <br> <pre>_______________________________________________ Jmusic-dev mailing list <a moz-do-not-send="true" rel="nofollow">Jmu...@li...</a> <a moz-do-not-send="true" rel="nofollow" target="_blank" href="https://lists.sourceforge.net/lists/listinfo/jmusic-dev">https://lists.sourceforge.net/lists/listinfo/jmusic-dev</a> </pre> </blockquote> </div> </blockquote> </div> <br> </blockquote> </div> </div> </div> </blockquote> </div> <br> </div> <br> -----Inline Attachment Follows-----<br> <br> <div class="yiv1885819142plainMail">------------------------------------------------------------------------------<br> Live Security Virtual Conference<br> Exclusive live event will cover all the ways today's security and <br> threat landscape has changed and how IT managers can respond. Discussions <br> will include endpoint security, mobile security and the latest in malware <br> threats. <a moz-do-not-send="true" rel="nofollow" target="_blank" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></div> <br> -----Inline Attachment Follows-----<br> <br> <div class="yiv1885819142plainMail">_______________________________________________<br> Jmusic-dev mailing list<br> <a moz-do-not-send="true" rel="nofollow">Jmu...@li...</a><br> <a moz-do-not-send="true" rel="nofollow" target="_blank" href="https://lists.sourceforge.net/lists/listinfo/jmusic-dev">https://lists.sourceforge.net/lists/listinfo/jmusic-dev</a><br> </div> </blockquote> </td> </tr> </tbody> </table> </blockquote> </div> </div> </blockquote> </td> </tr> </tbody> </table> </blockquote> </body> </html> |