<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - How to write a plugin?]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/19520/"/>
	<updated>2017-03-18T17:54:22Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/19520/how-to-write-a-plugin/</id>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251711/#p251711"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>veclock wrote:</cite><blockquote><p>e.s.c.:<br />Yeah, not sure about what word to use. It depends, right? The software should handle the finger pushes and output MIDI-signals. Then the software should be plugged into FL studio or any other software which can take the MIDI signals and turn them into sound. Alternatively, my software could generate the sound itself and not output any signals to a second program.</p><p>I&#039;d prefer to output signals because generating my own sounds (building a synthesizer) will take a long time.<br />From what I understand, a VST is a software that plugs into another software, that you can connect to other controllers?</p><p>But yeah, what I&#039;m trying to create is a software instrument.</p></blockquote></div><p>The Sensel (which looks bad to the bone) outputs midi. From what I&#039;ve see it&#039;s a midi controller.</p><p>So if you just want to use it with a DAW, just add it as a midi controller. That&#039;s the intended way to use it. It will deliver midi signals to the daw, and yes, any VSTs, loaded therein. Try audio reaper , or OHM STUDIO.</p><p>If you want to do strange things with the midi signals once they get to the PC, that would require software to process the midi before it enters the DAW. These things are possible, but a pain in the ass. And not needed by most.</p>]]></content>
			<author>
				<name><![CDATA[breakphase]]></name>
				<uri>https://chipmusic.org/breakphase</uri>
			</author>
			<updated>2017-03-18T17:54:22Z</updated>
			<id>https://chipmusic.org/forums/post/251711/#p251711</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251704/#p251704"/>
			<content type="html"><![CDATA[<p>4mat: Thanks for the info! However, I want a free program!</p><p>e.s.c.: Sorry, I think I was confusing VST with VST plugin. I meant a VST plugin. If my software generates the sounds itself it wont have to be a plugin I guess. If it only outputs signals then it will have to be a plugin so that the main software (the VST I guess?) in turn can generate the sounds.</p><p>Did I get everything correct this time? <img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[veclock]]></name>
				<uri>https://chipmusic.org/veclock</uri>
			</author>
			<updated>2017-03-17T08:32:32Z</updated>
			<id>https://chipmusic.org/forums/post/251704/#p251704</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251693/#p251693"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>veclock wrote:</cite><blockquote><p>e.s.c.:<br />Yeah, not sure about what word to use. It depends, right? The software should handle the finger pushes and output MIDI-signals. Then the software should be plugged into FL studio or any other software which can take the MIDI signals and turn them into sound. Alternatively, my software could generate the sound itself and not output any signals to a second program.</p><p>I&#039;d prefer to output signals because generating my own sounds (building a synthesizer) will take a long time.<br />From what I understand, a VST is a software that plugs into another software, that you can connect to other controllers?</p><p>But yeah, what I&#039;m trying to create is a software instrument.</p></blockquote></div><p>from wikipedia: &quot;Virtual Studio Technology (VST) is a software interface that integrates software audio synthesizer and effect plugins with audio editors and recording systems.&quot;, so not all software that interacts with other audio software is a vst. i&#039;m only bringing this up because using the correct terminology while searching for help is incredibly important. for example, midi ox is software that allows you to help route and manage midi signals, but is not a VST. that&#039;s part of why people thought you were biting off more than you can chew, since coding a vst from scratch is pretty complex compared to what it turns out you actually want to do.. if you made it so it generated the sounds itself, but still was a plugin (not a standalone like your second example), then it would be a VST</p>]]></content>
			<author>
				<name><![CDATA[e.s.c.]]></name>
				<uri>https://chipmusic.org/e.s.c.</uri>
			</author>
			<updated>2017-03-16T17:20:31Z</updated>
			<id>https://chipmusic.org/forums/post/251693/#p251693</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251692/#p251692"/>
			<content type="html"><![CDATA[<p>You might want to look at the Reaper DAW too.&nbsp; It has a scripting language built-in specifically for making your own plug-ins, with midi, sample, timing and UI commands.&nbsp; &nbsp;Have a <a href="http://reaper.fm/sdk/js/js.php" target="_blank">look at the syntax.</a>&nbsp; &nbsp;I&#039;ve used it myself for writing a few work things and you can edit them real-time within the DAW, though obviously your plug-in is then tied to Reaper.&nbsp; Reaper can be <a href="http://www.reaper.fm/" target="_blank">downloaded</a> for free evaluation.</p>]]></content>
			<author>
				<name><![CDATA[4mat]]></name>
				<uri>https://chipmusic.org/4mat</uri>
			</author>
			<updated>2017-03-16T16:31:55Z</updated>
			<id>https://chipmusic.org/forums/post/251692/#p251692</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251691/#p251691"/>
			<content type="html"><![CDATA[<p>e.s.c.:<br />Yeah, not sure about what word to use. It depends, right? The software should handle the finger pushes and output MIDI-signals. Then the software should be plugged into FL studio or any other software which can take the MIDI signals and turn them into sound. Alternatively, my software could generate the sound itself and not output any signals to a second program.</p><p>I&#039;d prefer to output signals because generating my own sounds (building a synthesizer) will take a long time.<br />From what I understand, a VST is a software that plugs into another software, that you can connect to other controllers?</p><p>But yeah, what I&#039;m trying to create is a software instrument.</p>]]></content>
			<author>
				<name><![CDATA[veclock]]></name>
				<uri>https://chipmusic.org/veclock</uri>
			</author>
			<updated>2017-03-16T15:41:59Z</updated>
			<id>https://chipmusic.org/forums/post/251691/#p251691</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251689/#p251689"/>
			<content type="html"><![CDATA[<p>yeah, knife crimes is correct. midi cc is what&#039;s typically used for effects (and things like volume control, adjusting oscillator settings, etc), midi allows for up to 128 different midi cc&#039;s per channel<br />edit: it may be easier if you stop thinking of this as a VST, since what you&#039;re describing is a software based midi controller, not really a VST (vsts are pretty much only either a software instrument or effect unit)</p>]]></content>
			<author>
				<name><![CDATA[e.s.c.]]></name>
				<uri>https://chipmusic.org/e.s.c.</uri>
			</author>
			<updated>2017-03-16T14:45:35Z</updated>
			<id>https://chipmusic.org/forums/post/251689/#p251689</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251686/#p251686"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Knife Crimes wrote:</cite><blockquote><p>Yes. Look up continuous controller or &#039;MIDI CC&#039; messages. You can have many more than 2 per channel.</p></blockquote></div><p>Awesome! Thank you. <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Do you have any suggestions on softwares that I can plug the VST into? Perhaps FL Studio works, but it would be nice to know about other options. Options that are free and simple/user friendly.</p><p>BTW: I found a nice framework called JUCE, which I will use <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[veclock]]></name>
				<uri>https://chipmusic.org/veclock</uri>
			</author>
			<updated>2017-03-16T09:56:57Z</updated>
			<id>https://chipmusic.org/forums/post/251686/#p251686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251685/#p251685"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>veclock wrote:</cite><blockquote><p> Is it possible to have two signals of this sort in a MIDI signal?</p></blockquote></div><p>Yes. Look up continuous controller or &#039;MIDI CC&#039; messages. You can have many more than 2 per channel.</p>]]></content>
			<author>
				<name><![CDATA[Knife Crimes]]></name>
				<uri>https://chipmusic.org/Knife+Crimes</uri>
			</author>
			<updated>2017-03-16T08:43:31Z</updated>
			<id>https://chipmusic.org/forums/post/251685/#p251685</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251684/#p251684"/>
			<content type="html"><![CDATA[<p>sandneil: <br />Good info! I&#039;ve done alot of programming, for 15 years I think. But just getting started with audio programming. I think it will work out.<br />So then MIDI is the way to go! (That, or writing the program as a stand alone rather than a VST)</p><p>e.s.c: Two pitch bends would allow me to have one ordinary pitch bend for a tone, the other bend would allow me to have some other effect, perhaps mixing between instruments or something like that. Is it possible to have two signals of this sort in a MIDI signal?</p><br /><p>herr_prof: I see! Thanks for that info, I will keep that in mind. Good to find a place where I learn valuable stuff! <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>infradead: Thank you! <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[veclock]]></name>
				<uri>https://chipmusic.org/veclock</uri>
			</author>
			<updated>2017-03-16T08:27:54Z</updated>
			<id>https://chipmusic.org/forums/post/251684/#p251684</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251682/#p251682"/>
			<content type="html"><![CDATA[<p>this is a pretty ambitious project.&nbsp; good luck</p>]]></content>
			<author>
				<name><![CDATA[infradead]]></name>
				<uri>https://chipmusic.org/infradead</uri>
			</author>
			<updated>2017-03-16T02:38:09Z</updated>
			<id>https://chipmusic.org/forums/post/251682/#p251682</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251680/#p251680"/>
			<content type="html"><![CDATA[<p>right pitch bend is global for all notes per channel. a way around this is having each finger send on a different channel (midi guitars work this way) and then your synth will have to respond to omni or those channels, and maybe ignore the older bends?</p>]]></content>
			<author>
				<name><![CDATA[herr_prof]]></name>
				<uri>https://chipmusic.org/herr_prof</uri>
			</author>
			<updated>2017-03-15T20:48:45Z</updated>
			<id>https://chipmusic.org/forums/post/251680/#p251680</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251679/#p251679"/>
			<content type="html"><![CDATA[<p>wait, why would you be sending two simultaneous pitch bends? if they&#039;re on the same midi channel, i don&#039;t think that&#039;s even possible, not sure what/how you&#039;re expecting to do with that.. a chord where youre bending the pitch up for one of the notes and down for another at the same time?</p>]]></content>
			<author>
				<name><![CDATA[e.s.c.]]></name>
				<uri>https://chipmusic.org/e.s.c.</uri>
			</author>
			<updated>2017-03-15T19:45:57Z</updated>
			<id>https://chipmusic.org/forums/post/251679/#p251679</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251678/#p251678"/>
			<content type="html"><![CDATA[<p>VSTs talk to each other with MIDI, so MIDI &quot;has&quot; to be good enough for you if you want to make a VST</p><p>creating a vst plugin is honestly a very very complicated thing to do if you haven&#039;t done programming before</p><p>but it looks like the sensel has MIDI functionality built right into it <a href="http://www.sensel.com/music" target="_blank">http://www.sensel.com/music</a></p><p><img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[sandneil]]></name>
				<uri>https://chipmusic.org/sandneil</uri>
			</author>
			<updated>2017-03-15T19:07:23Z</updated>
			<id>https://chipmusic.org/forums/post/251678/#p251678</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251664/#p251664"/>
			<content type="html"><![CDATA[<p>Hi Toasterpastries and yoyz2k, thanks for your answers!</p><p>The tablet that I have is not an Android one (sorry for the confusion), it&#039;s a freestanding touch tablet for the PC, it&#039;s called a Sensel Morph.<br />TouchOSC would&#039;ve been a good choice if I used Android! But I don&#039;t think it will work in my case.</p><p>Hmm yeah perhaps I should read more about the Midi protocol. It could work. At least initially, because I&#039;d like to send at least 2 different pitch bends for each note (along with velocity). I know that Midi can send velocity, but I&#039;m not sure if the protocol can handle two more values.</p><p>Seems like what I&#039;m trying to do is a VST plugin. (Yeah, I&#039;m very noob)<br />Apart from figuring out how to make the actual VST plugin, I also need to figure out which software to plug it into. It should be a software that can receive signals with notes, velocity and pitch bends, and then convert it to sound.</p><p>Do you have any suggestions?</p><p>Thanks again!</p>]]></content>
			<author>
				<name><![CDATA[veclock]]></name>
				<uri>https://chipmusic.org/veclock</uri>
			</author>
			<updated>2017-03-15T09:21:27Z</updated>
			<id>https://chipmusic.org/forums/post/251664/#p251664</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to write a plugin?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251652/#p251652"/>
			<content type="html"><![CDATA[<p>Hi veclock,</p><p>If you want to use your tablet as a midi controller, so it will allow you to send &#039;note on&#039;, &#039;note off&#039; and &#039;cc&#039; message, you should read a bit about midi protocol and then try to send midi message from your tablet.</p><p>Unfortunately I don&#039;t know a free one, maybe touchdaw free on android do the tricks, you just need to send basic note on note off to start. Then receive the midi message with for example midiox on windows.</p><p>It will help you to understand the midi protocol better.<br />And the average latency you can expect from your tablet.</p><p>Then you can write native code or java code, it depend on your way to work software.</p>]]></content>
			<author>
				<name><![CDATA[yoyz2k]]></name>
				<uri>https://chipmusic.org/yoyz2k</uri>
			</author>
			<updated>2017-03-14T23:11:00Z</updated>
			<id>https://chipmusic.org/forums/post/251652/#p251652</id>
		</entry>
</feed>
