[sdiy] *EXT* Re: Becoming better at understanding difficult analog schematics
Chris McDowell
declareupdate at gmail.com
Sat May 18 14:55:05 CEST 2024
> If you're going to generate the signals as WAV files, wouldn't it be better to just use Matlab or C++
if I'm exporting wavs from ltspice, it's to hear what ltspice thinks this exact circuit sounds like. in this case "exactly what you want" is the circuit's output.
Cheers,
Chris
> On May 18, 2024, at 6:02 AM, Mike Bryant <mbryant at futurehorizons.com> wrote:
>
>
> If you're going to generate the signals as WAV files, wouldn't it be better to just use Matlab or C++ and produce exactly what you want, rather than some simulation of a circuit that produced something that probably wasn't quite the same as a real percussion instrument in any case ?
>
>
> From: Synth-diy <synth-diy-bounces at synth-diy.org> on behalf of rburnett at richieburnett.co.uk <rburnett at richieburnett.co.uk>
> Sent: 18 May 2024 11:55
> To: Mattias Rickardsson <mr at analogue.org>
> Cc: ackolonges fds via Synth-diy <synth-diy at synth-diy.org>
> Subject: Re: [sdiy] *EXT* Re: Becoming better at understanding difficult analog schematics
>
> You can set the maximum time-step of the simulation to something like
> 2us and save the WAV file at a high sample rate like 192kHz. Then load
> that into an audio editor, band-limit to 20kHz and resample to 48kHz
> before saving. I find that gives better results for simulations that
> exhibit an inherently "high-pass" response like hi-hats, etc. (Another
> thing that helps is to follow the circuit being simulated with a basic
> 1st or 2nd-order 20kHz low-pass RC filter before writing the waveform
> out to a WAV file. This curtails some of the ultrasonic stuff so it
> aliases less in the WAV file.)
>
> Good VA has a lot in common with Spice simulations, but it has to be a
> bit cleverer to render in real-time and to handle things like
> non-linearities and discontinuities in a way that doesn't result in
> unacceptable levels of aliasing in the final audio output.
>
> Being able to export simulation results to WAV audio files is still a
> neat feature though, aliasing and all!
>
> -Richie,
>
>
>
> > Very useful for prototyping, but it's aliasing like crazy if you
> > produce rapidly changing signals like cymbals etc. The simulations are
> > neither band-limited nor having constant timesteps. Virtual analog
> > synthesis is something else. :-)
> >
> > /mr
> >
> >>
> ________________________________________________________
> This is the Synth-diy mailing list
> Submit email to: Synth-diy at synth-diy.org
> View archive at: https://synth-diy.org/pipermail/synth-diy/
> Check your settings at: https://synth-diy.org/mailman/listinfo/synth-diy
> Selling or trading? Use marketplace at synth-diy.org
>
> From: Synth-diy <synth-diy-bounces at synth-diy.org> on behalf of rburnett at richieburnett.co.uk <rburnett at richieburnett.co.uk>
> Sent: 18 May 2024 11:55
> To: Mattias Rickardsson <mr at analogue.org>
> Cc: ackolonges fds via Synth-diy <synth-diy at synth-diy.org>
> Subject: Re: [sdiy] *EXT* Re: Becoming better at understanding difficult analog schematics
>
> You can set the maximum time-step of the simulation to something like
> 2us and save the WAV file at a high sample rate like 192kHz. Then load
> that into an audio editor, band-limit to 20kHz and resample to 48kHz
> before saving. I find that gives better results for simulations that
> exhibit an inherently "high-pass" response like hi-hats, etc. (Another
> thing that helps is to follow the circuit being simulated with a basic
> 1st or 2nd-order 20kHz low-pass RC filter before writing the waveform
> out to a WAV file. This curtails some of the ultrasonic stuff so it
> aliases less in the WAV file.)
>
> Good VA has a lot in common with Spice simulations, but it has to be a
> bit cleverer to render in real-time and to handle things like
> non-linearities and discontinuities in a way that doesn't result in
> unacceptable levels of aliasing in the final audio output.
>
> Being able to export simulation results to WAV audio files is still a
> neat feature though, aliasing and all!
>
> -Richie,
>
>
>
> > Very useful for prototyping, but it's aliasing like crazy if you
> > produce rapidly changing signals like cymbals etc. The simulations are
> > neither band-limited nor having constant timesteps. Virtual analog
> > synthesis is something else. :-)
> >
> > /mr
> >
> >>
> ________________________________________________________
> This is the Synth-diy mailing list
> Submit email to: Synth-diy at synth-diy.org
> View archive at: https://synth-diy.org/pipermail/synth-diy/
> Check your settings at: https://synth-diy.org/mailman/listinfo/synth-diy
> Selling or trading? Use marketplace at synth-diy.org
> ________________________________________________________
> This is the Synth-diy mailing list
> Submit email to: Synth-diy at synth-diy.org
> View archive at: https://synth-diy.org/pipermail/synth-diy/
> Check your settings at: https://synth-diy.org/mailman/listinfo/synth-diy
> Selling or trading? Use marketplace at synth-diy.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20240518/f4920594/attachment.htm>
More information about the Synth-diy
mailing list