Skip to content

Instantly share code, notes, and snippets.

Crashlog created at 2020-05-14 20:35:17 +0800
===== MESSAGE:
Encoding::CompatibilityError: Unicode Normalization not appropriate for ASCII-8BIT
===== STACK TRACE:
0. c:/Ruby27-x64/lib/ruby/2.7.0/unicode_normalize/normalize.rb:141:in `normalize'
1. c:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nanoc-cli-4.11.16/lib/nanoc/cli/stream_cleaners/utf8.rb:13:in `unicode_normalize'
Crashlog created at 2020-05-12 10:37:25 +0800
===== MESSAGE:
Encoding::CompatibilityError: Unicode Normalization not appropriate for ASCII-8BIT
===== STACK TRACE:
0. C:/Ruby27-x64/lib/ruby/2.7.0/unicode_normalize/normalize.rb:141:in `normalize'
1. C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/nanoc-cli-4.11.16/lib/nanoc/cli/stream_cleaners/utf8.rb:13:in `unicode_normalize'
;; This is a WIP attempt to create a wavetable synth in overtone.
;; No useful hints were found when searching for ways to read a
;; .wavetable file (such as those found in the Sonic Pi repo at
;; https://github.com/samaaron/sonic-pi/tree/master/etc/wavetables/AKWF
;; into memory and use this with the osc ugen.
;; An attempt was made here to pass the data of a buffer into the
;; (signal->wavetable ...) fn and pass the output of this into the
;; osc ugen, but this results in a buffer overflow error.
(ns sonic-pi.synths.basic
;; This is a WIP attempt to convert SuperCollider's PingPong class
;; https://github.com/supercollider/supercollider/blob/cca12ff02a774a9ea212e8883551d3565bb24a6f/SCClassLibrary/Common/Audio/DelayWr.sc#L1
;; into Overtone/clojure code so that it can be used as part of
;; a larger Overtone synthdef.
;; Underneath the ping-pong cgen below is a variation of the beep
;; synthdef used in Sonic Pi, which I am attempting to add ping pong
;; delay to.
;; I've been attempting to compile and test this according to
;; https://github.com/samaaron/sonic-pi/blob/master/SYNTH_DESIGN.md
;; So far, several errors have been temporarily worked around