subatomic Posted August 6, 2009 Report Share Posted August 6, 2009 hi, I was wondering if there was any scheme already devised which could provide CV/Gate inputs to the mbSID.I'm not familiar with the input pins on the 6582 itself, so perhaps it's as simple as connecting up to some of them... ?I searched around the forums for cv/gate/midibox and saw something about output, but not input...thanks in advance for your ideas, Quote Link to comment Share on other sites More sharing options...
nebula Posted August 6, 2009 Report Share Posted August 6, 2009 No scheme already devised.The SID is a digitally controlled device, so there would be little advantage to controlling it with CV. You would need a microcontroller to intervene and convert the analog voltages into messages the SID can understand.It might be possible to code something that uses MBHP's analog inputs, and it might even respond a bit faster than MIDI, but I don't think there's room in the MB-SID app to do this. Might be different on the new 32-bit platform, however. Quote Link to comment Share on other sites More sharing options...
nILS Posted August 6, 2009 Report Share Posted August 6, 2009 Easiest thing I can think of would be using a second core (+ some surrounding circuitry) to make a CV->MIDI converter and fire that at an mbSID. I do not really see the advantage of doing that though ;) Quote Link to comment Share on other sites More sharing options...
nebula Posted August 6, 2009 Report Share Posted August 6, 2009 Yes, but then you limit yourself to the speed and resolution of MIDI. Quote Link to comment Share on other sites More sharing options...
nILS Posted August 6, 2009 Report Share Posted August 6, 2009 Yes, but then you limit yourself to the speed and resolution of MIDI.Resultion: not an issue as the SID itself is an 8bit device.Speed: CAN bus. Again, this is doable, but I personally don't see the huge benefit in having a digitally controlled sound generator being controlled by something digital being controlled by something analog. Quote Link to comment Share on other sites More sharing options...
Imp Posted August 7, 2009 Report Share Posted August 7, 2009 If you want to use it in a modular environment, cv/gate is the only way to go...In http://www.ucapps.de/midibox_sid_manual_fp.html it sais:All 8 analog inputs are sampled with a frequency of 125 Hz. Multiplexing (-> MBHP_AIN module) is *not* supported! So, 8 inputs are maximum.The firmware currently only uses the first 5 inputs of J5, the remaining 3 are reserved for future features.The converted values are forwarded to the knob handler. This generic approach gives you all advantages of the knob concept: value changes can be forwarded to two sound parameters, a Min/Max range can be specified, and the converted values are also available as modulation source!So it could be possible to connect CV to J5, maybe through a little op-amp circuit to adapt the scale, and map it to osc pitch via the MOD-menu. I think 125hz won't make FM possible, but should be enough for normal playing. The Gate could be connected to the PLAY-button somehow, or to an external VCA... Quote Link to comment Share on other sites More sharing options...
nILS Posted August 7, 2009 Report Share Posted August 7, 2009 If you want to use it in a modular environment, cv/gate is the only way to go...I am aware of that I just don't really really see the benefit of using a SID in a modular synth, but maybe that's just me ;) Quote Link to comment Share on other sites More sharing options...
Imp Posted August 7, 2009 Report Share Posted August 7, 2009 Modular Synth don't have to make sense ;)Most of them are built or bought as a toy, i guess...So "because you can" might be enough of a reason to try it;) Quote Link to comment Share on other sites More sharing options...
skrasms Posted August 9, 2009 Report Share Posted August 9, 2009 The SID is a digitally controlled device, so there would be little advantage to controlling it with CV. For those of us who use modular synths, there are many big advantages:Simpler interaction with the rest of our gearAbility to go hundreds of times faster than MIDI in real-timeExternal oscillator sync inputsAbility to do low-jitter frequency/amplitude/pulse-width modulation from other synthsI've been designing an analog-controlled SID synth. It's not a simple project, but it's also not unreasonable. Some of us have plenty of uses for something like that ;) Quote Link to comment Share on other sites More sharing options...
skrasms Posted August 9, 2009 Report Share Posted August 9, 2009 Resultion: not an issue as the SID itself is an 8bit device.Speed: CAN bus. I think for speed he means that MIDI is the bottleneck. Such a system will be prone to low sample rates, high jitter, and relatively high latency. The data bus to the SID is 8 bits, but there are 16-bit frequency registers. This isn't really a limiting factor, though, since MIDI can always be kludged to send larger blocks of data. Quote Link to comment Share on other sites More sharing options...
TK. Posted August 9, 2009 Report Share Posted August 9, 2009 I've been designing an analog-controlled SID synth. It's not a simple project, but it's also not unreasonable. Some of us have plenty of uses for something like that ;)Interesting!Could you please share some MP3s to give us an impression?How did you solve the problem of an accurate 1V/oct conversion, are you using an external 16bit ADC?And what is the sample rate, how many CV inputs are available?Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
skrasms Posted August 9, 2009 Report Share Posted August 9, 2009 Interesting!Could you please share some MP3s to give us an impression?How did you solve the problem of an accurate 1V/oct conversion, are you using an external 16bit ADC?And what is the sample rate, how many CV inputs are available?Best Regards, Thorsten.It'll be a while before I have any representative mp3s of the actual synth. The approach I take to a big design generally involves coming up with an overall system, then designing and testing each part of it individually... by the time I have mp3s, most of the design will be finished. I'm not using any MIDIbox parts in the design; it's all from scratch. There are dedicated ADCs at different bit depths, and the sample rate is about 37 kHz for each aspect of the sound. That is, the frequency of channel one updates 37 thousand times per second, as does the pulse width of channel two, etc. The actual register update rate is much higher. The current CV input plan is one for every value that is four or more bits. The most accurate digital 1V/oct conversion I've seen is a lookup table, but I also had decent results from a fixed point algorithm I wrote for my Pokey synth module. I was using a dsPIC with a 40-bit accumulator in that case, though. Each extra bit helps a lot. Quote Link to comment Share on other sites More sharing options...
DrBunsen Posted August 10, 2009 Report Share Posted August 10, 2009 Have you seen the modular Frac-SID on MB Of The Week?You'll find a few other relevant threads by hitting "Search" and entering "modular SID" Quote Link to comment Share on other sites More sharing options...
TK. Posted August 10, 2009 Report Share Posted August 10, 2009 It'll be a while before I have any representative mp3s of the actual synth. The approach I take to a big design generally involves coming up with an overall system, then designing and testing each part of it individually... by the time I have mp3s, most of the design will be finished. I'm definitely interested on the results.I'm not using any MIDIbox parts in the design; it's all from scratch. There are dedicated ADCs at different bit depths, and the sample rate is about 37 kHz for each aspect of the sound. That is, the frequency of channel one updates 37 thousand times per second, as does the pulse width of channel two, etc. The actual register update rate is much higher. I already did some plannings for MBSID V3 where similar update rates will be possible. What I found as a limiting factor is the bus interface of the SID, as the write/chip select input has to be strobed synchronous to the SID clock (= 1 MHz) to avoid sporadical effects like multiple gate triggers (especially bad if the ADSR workaround is applied) or crackling sounds on frequency/pulse width/filter sweeps. Such a requirement means, that it won't be possible to update more than 8..10 SID registers per scan cycle - did you already consider this and/or found a better solution (e.g. additional hardware) to ensure synchronous timings?The most accurate digital 1V/oct conversion I've seen is a lookup table, but I also had decent results from a fixed point algorithm I wrote for my Pokey synth module. I was using a dsPIC with a 40-bit accumulator in that case, though. Each extra bit helps a lot. dsPICs are a good choice for this kind of usecase. :)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
skrasms Posted August 11, 2009 Report Share Posted August 11, 2009 I'm definitely interested on the results.I already did some plannings for MBSID V3 where similar update rates will be possible. What I found as a limiting factor is the bus interface of the SID, as the write/chip select input has to be strobed synchronous to the SID clock (= 1 MHz) to avoid sporadical effects like multiple gate triggers (especially bad if the ADSR workaround is applied) or crackling sounds on frequency/pulse width/filter sweeps. Such a requirement means, that it won't be possible to update more than 8..10 SID registers per scan cycle - did you already consider this and/or found a better solution (e.g. additional hardware) to ensure synchronous timings?To get complete control over the timing and write as quickly as possible, I'm doing it with an FPGA. I couldn't figure out any reasonable microcontroller-based solution with the flexibility and speed I wanted.When I first ran a SID with a microcontroller, I remember using edges from the SID clock as hardware interrupts to re-synchronize the process on each write. It seemed to work, but I didn't do enough test cases to say for sure. Once I learned the benefits of an FPGA system I stopped messing with the microcontroller setup. Quote Link to comment Share on other sites More sharing options...
TK. Posted August 11, 2009 Report Share Posted August 11, 2009 To get complete control over the timing and write as quickly as possible, I'm doing it with an FPGA. I couldn't figure out any reasonable microcontroller-based solution with the flexibility and speed I wanted.Alright ;) (although I'm experienced with HDL design, the usage of FPGAs wouldn't be an option for my hobby project)Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.