Re: [music-dsp] Best way to do sine hard sync?

2014-03-28 Thread Emanuel Landeholm
Frank Sheeran, >From my reading of wikipedias page on phase distortion synthesis, my method is definitely related. The main differences are that I use two modulators (master oscillators), and a cos^2 window instead of a triangular wave form. I wouldn't be at all surprised if Casio CZ synthesis was

Re: [music-dsp] Best way to do sine hard sync?

2014-03-27 Thread Frank Sheeran
>From my perhaps less-than-perfect reading of this method, it sounds much like the Casio CZ synthesizer's "resonance" waveforms. If you're among the select few who's actually downloaded the alpha of my functional synthesis patching language, Moselle, you will find a module called Cazanova that doe

Re: [music-dsp] Best way to do sine hard sync?

2014-03-23 Thread Emanuel Landeholm
Re. my hard sync implementation. I have fixed two serious bugs and I also removed all external dependencies. The download link is: https://www.dropbox.com/s/f15usnkv6f19iq9/hardsync2014.tar.bz2 All the hard sync logic is contained in the main function. My hard sync uses two relatively independen

Re: [music-dsp] Best way to do sine hard sync?

2014-03-21 Thread David Lowenfels
On Mar 21, 2014, at 5:26 AM, Emanuel Landeholm wrote: > Also, David Lowenfels, would you like to share your pd implementation? Sure. I was able to dust it off and get it running, but there are some external dependencies which I need to remove in order to make it portable. It will take me a few

Re: [music-dsp] Best way to do sine hard sync?

2014-03-21 Thread Emanuel Landeholm
blogspot.it/2008/12/bloo_6897.html and look for additonal > > interpretations of in in the thread itself. > > > > Hope to have helped > > > > Marco > > > >> -Messaggio originale- > >> Da: music-dsp-boun...@music.columbia.edu [mailto:music-dsp-

Re: [music-dsp] Best way to do sine hard sync?

2014-03-20 Thread David Lowenfels
gt;> Inviato: martedì 25 febbraio 2014 15:54 >> A: music-dsp@music.columbia.edu >> Oggetto: [music-dsp] Best way to do sine hard sync? >> >> Hi, >> >> I would like to implement a hard-synced sine oscillator in my synth and I > am >> wondering which is the best w

Re: [music-dsp] Best way to do sine hard sync?

2014-02-27 Thread robert bristow-johnson
On 2/27/14 6:33 PM, Theo Verelst wrote: Frequency modulation, which is what happens when the "to be synced with" signal changes from one frequency to another is theoretically not limited in bandwidth, the issue is that, however you try to model it, the result of a hard-sync oscillator is stil

Re: [music-dsp] Best way to do sine hard sync?

2014-02-27 Thread Theo Verelst
Thinking a bit about the theoretical generalities involved in the problem, it might be a good idea to imagine a few of the main "rules" in the sampling domain, with the problem of limited bandwidth. To know the exact phase of a sine wave in the sample domain it is at least theoretically poss

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread gwenhwyfaer
On 26/02/2014, Risto Holopainen wrote: > Now, for my part, I find soft sync much more useful. I don't know what > attempts there have been to do soft sync in digital oscillators, if anyone > knows I'd be interested. Nobody agrees on whether soft sync is "knock the waveform into reverse" (the Ales

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread gwenhwyfaer
On 26/02/2014, robert bristow-johnson wrote: > the simplest thing, if you want the slave perfectly locked to the > master, is to derive both master and slave phase from the very same > phase accumulator. there might be scaling and wrap around, but that > should be easy. I think that's how most V

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread gwenhwyfaer
I thought about that, but it's still wrong for every case but the master and slave having a 1:1 frequency ratio. Hence the need to multiply by the m:s ratio as well. (And of course, the slave should be bandlimited according to its frequency; that pretty much goes without saying. Which makes it all

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread Tobias Münzer
robert bristow-johnson: for a slave doing a sine, i wonder what you would expect to hear as the master/slave frequency ratio changes. while i have heard sync saws and sync squares, i don't think i ever heard a sync sine and it would seem to me to go from no harmonics to lotsa harmonics prett

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread robert bristow-johnson
On 2/26/14 10:50 AM, Tobias Münzer wrote: an easy fix to avoid this kind of phase jitter is to add the fractional part of the master oscillator after the zero crossing to the slave. Basically: Do not reset the slave to zero, but to the fractional rest of the master. the simplest thing, if

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread Tobias Münzer
Yes, an easy fix to avoid this kind of phase jitter is to add the fractional part of the master oscillator after the zero crossing to the slave. Basically: Do not reset the slave to zero, but to the fractional rest of the master. There is still a lot of aliasing if you don't band limit the tr

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread gwenhwyfaer
"bandlimit the slave's phase" -> "bandlimit the slave's output". oops. and I do know how to spell interpolation, honest. -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread gwenhwyfaer
On 26/02/2014, Risto Holopainen wrote: > When it comes to programming hard sync, I would use oversampling. I'm not > saying that you should, I'm just lazy enough to do it the easy way. You need to oversample a *lot* to chase away aliasing, though. The Alesis Fusion - and its descendant, the M-Aud

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread Risto Holopainen
Here's some examples made with a eurorack modular. The master oscillator is the tiptop Z3000 and the slave is an intellijel rubicon. The sine output of the slave oscillator is always in the right channel and the modulating output of the master oscillator is in the left channel throughout. 1) a s

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread Richard Dobson
I have an almost embarrassing question on this subject. Having lead far too sheltered a life, I have never ~knowingly~ heard analog hard sync, only this or that digital emulation; partly as I have never owned an analog synth. So - is there an example file anywhere with the sampled (with suitabl

Re: [music-dsp] Best way to do sine hard sync?

2014-02-26 Thread Tobias Münzer
Hi thanks a lot for your answers, 25/02/2014 20:48, Ross Bencina wrote: The approach that I am familiar with is the "corrective grains" approach (AKA BLIT/BLEP/BLAMP etc) where you basically run a granulator that generates grains that cancel the aliasing caused by the phase discontinuity. The

Re: [music-dsp] Best way to do sine hard sync?

2014-02-25 Thread robert bristow-johnson
On 2/25/14 2:48 PM, Ross Bencina wrote: On 26/02/2014 2:25 AM, robert bristow-johnson wrote: are you trying to do multiple cycles of the sine and then have a discontinuity as it snaps back in sync with the side-chain waveform? if so, that doesn't sound very "bandlimited" to me. As I understan

Re: [music-dsp] Best way to do sine hard sync?

2014-02-25 Thread Ross Bencina
On 26/02/2014 2:25 AM, robert bristow-johnson wrote: are you trying to do multiple cycles of the sine and then have a discontinuity as it snaps back in sync with the side-chain waveform? if so, that doesn't sound very "bandlimited" to me. As I understand it, the question is now to make such sn

Re: [music-dsp] Best way to do sine hard sync?

2014-02-25 Thread robert bristow-johnson
On 2/25/14 9:53 AM, Tobias Münzer wrote: I would like to implement a hard-synced sine oscillator in my synth and I am wondering which is the best way to do so. I read the paper 'Generation of bandlimited sync transitions for sine waveforms' by Vadim Zavalishin which compares several approaches.

[music-dsp] Best way to do sine hard sync?

2014-02-25 Thread Tobias Münzer
Hi, I would like to implement a hard-synced sine oscillator in my synth and I am wondering which is the best way to do so. I read the paper 'Generation of bandlimited sync transitions for sine waveforms' by Vadim Zavalishin which compares several approaches. Are there any better ways then the '