<div dir="ltr"><div><div><div>Hi,<br><span id="result_box" class="" lang="en"><span class="">I mainly work</span> <span class="">on the laws</span> <span class="">of sound,</span> <span class="">not much on</span> <span class="">how to code,<br>
</span></span></div><br><span id="result_box" class="" lang="en"><span class="">but</span> <span class="">tux</span> <span class="">know</span> <span class="">coding</span> <span class="">and look at here<br><a href="http://chezlefab.net/share/8e3b1648a0a683334186/lmmodeljo-fab.tar.gz">http://chezlefab.net/share/8e3b1648a0a683334186/lmmodeljo-fab.tar.gz</a> <br>
</span></span></div><span id="result_box" class="" lang="en"><span class="">it-is the future, </span></span><span id="result_box" class="" lang="en"><span class="">I just have to</span> <span class="">correct the</span> <span class="">wav</span> <span class="">converter<br>
</span></span><br><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">there are</span> <span class="">many</span> <span class="">drums<br></span></span></span></span><span id="result_box" class="" lang="en"><span class="">Try</span> <span class="">the</span> <span class="">code</span></span><br>
<span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">A drum</span> <span class="">is simply</span> <span class="">a strong</span> <span class="">decrease in amplitude</span> <span class="">accompanied by a</span> <span class="">change in</span> <span class="">length</span> <span class="">by</span> <span class="">5</span> <span class="">forehead</span> <span class="">(30</span> <span class="">fronts</span> <span class="">enough)</span></span><br>
</span></span></span></span><br><span id="result_box" class="" lang="en"><span class=""><span id="result_box" class="" lang="en"><span class="">"Segmentation faults , "</span></span></span></span><span id="result_box" class="" lang="en"><span class="">that is if you</span> <span class="">try</span> <span class="">out</span> <span class="">linux<br>
<br></span></span></div><span id="result_box" class="" lang="en"><span class="">Best regard<br></span></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-02 23:16 GMT+02:00 James Morris <span dir="ltr"><<a href="mailto:james@jwm-art.net" target="_blank">james@jwm-art.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Sat, 2 Aug 2014 14:13:58 +0200<br>
pierre jocelyn andre <<a href="mailto:temps.jo@gmail.com">temps.jo@gmail.com</a>> wrote:<br>
<br>
> Hello there,<br>
><br>
> again sorry for my poor English<br>
><br>
> my synthesizer creates sounds of drums<br>
> each sound weighs 16 bytes<br>
> we must forget audacity is too heavy, so much many bytes per sound<br>
> sounds produced by my synthesizer can not be encoded as encoding<br>
> deforms, as streaming deforms,<br>
><br>
> here you have some synthesizer sounds in wikimedia<br>
> <a href="http://commons.wikimedia.org/wiki/Special:Contributions/9temps" target="_blank">http://commons.wikimedia.org/wiki/Special:Contributions/9temps</a><br>
> here you have video<br>
> <a href="https://www.youtube.com/watch?v=XwCeR5S8kHI" target="_blank">https://www.youtube.com/watch?v=XwCeR5S8kHI</a><br>
<br>
</div>I hear no drums in that video. I watched one of the others and found<br>
the sounds interesting (as I commented there) but didn't hear any<br>
drums, and it's not obvious what's going on, how can you change the<br>
synthesis parameters for instance? Must the code be edited and<br>
recompiled?<br>
<div class=""><br>
<br>
> here you have some piano code<br>
> <a href="http://www.letime.net/vocale/lmmodel1jo.tar.gz" target="_blank">http://www.letime.net/vocale/lmmodel1jo.tar.gz</a><br>
<br>
</div>Segmentation faults as soon as I hit any button.<br>
<div class=""><br>
<br>
><br>
> piano with drum<br>
> must be<br>
><br>
><br>
> I am currently working with the debian facile community to improve<br>
> codes<br>
<br>
</div>I've just looked at MaFenetre.cpp and it's over 9000 lines!<br>
<br>
You need to stop the lazy coding habit of copying and pasting the same<br>
code over and over again with minor modifications. I see 1438 lines<br>
beginning at line 6580 with the same code copied and pasted over and<br>
over again, and then again another piece of code copied and pasted for<br>
the last 1116 lines of the file.<br>
<br>
You need to turn much of MaFenetre.cpp into functions to reduce the<br>
redundancy.<br>
<br>
Learn how to use structured programming.<br>
<br>
Start setting minimal standards for your code and adhere to them.<br>
<br>
But I'm only self taught too, and not a pro either, so what do I know.<br>
<span class="HOEnZb"><font color="#888888"><br>
james.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
><br>
><br>
> best regards<br>
><br>
><br>
> 2014-08-02 11:20 GMT+02:00 Fede <<a href="mailto:federicogalland@gmail.com">federicogalland@gmail.com</a>>:<br>
><br>
> > I was looking for the best way to synthesize drums a few months<br>
> > ago, and while I tried various samplers and synths, I decided that<br>
> > my ultimate drum machine would be a tracker. The tracker interface<br>
> > cannot be beaten for the rhythmic purposes. Plus it has perfect<br>
> > timing since you don't depend on MIDI.<br>
> ><br>
> > I'm currently using the hydrogen drumkit samples for that. Mainly<br>
> > the 909s which sound good enough.<br>
> ><br>
> > Also, for the arrangements of my band I'm starting to use rosegarden<br>
> > +linuxsampler, which I load GMaq's 4pc drumkit sf2.<br>
> ><br>
> > Since the drum timbres don't usually change a lot during<br>
> > performance, this options plus some effects should be good enough<br>
> > (chibitracker comes with reverb and cheesetracker has built in<br>
> > ladspa).<br>
> ><br>
> > If you want to make your own drum piece timbres, I'd recommend you<br>
> > to use audacity to draw your samples. You have access to all the<br>
> > LADSPA and nyquist plugins, and it's a really comfortable tool to<br>
> > work with short samples (I'm thinking of the envelope editor<br>
> > function which I love).<br>
> ><br>
> > Good luck, and tell us the option you've taken.<br>
> > _______________________________________________<br>
> > Linux-audio-user mailing list<br>
> > <a href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
> > <a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
> ><br>
<br>
</div></div></blockquote></div><br></div>