Skip to content

Commit

Permalink
zikichombo.org -> gh
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-cotton committed Aug 23, 2021
1 parent 6f288ce commit 2541cbf
Show file tree
Hide file tree
Showing 31 changed files with 50 additions and 54 deletions.
2 changes: 1 addition & 1 deletion convol/cmplx/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

// Package cmplx provides convolution implementations for complex kernels and
// sequences.
package cmplx /* import "zikichombo.org/dsp/convol/cmplx" */
package cmplx
2 changes: 1 addition & 1 deletion convol/cmplx/t.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package cmplx
import (
"fmt"

"zikichombo.org/dsp/fft"
"github.com/zikichombo/dsp/fft"
)

// T holds state for performing n by m sized linear convolution.
Expand Down
3 changes: 1 addition & 2 deletions convol/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@

// Package convol provides convolution implementations.
//
// Package convol is part of http://zikichombo.org
package convol /* import "zikichombo.org/dsp/convol" */
package convol
2 changes: 1 addition & 1 deletion convol/k.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package convol
import (
"fmt"

"zikichombo.org/dsp/fft"
"github.com/zikichombo/dsp/fft"
)

// K describes a convolver object T which has a precomputed argument component
Expand Down
2 changes: 1 addition & 1 deletion convol/t.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package convol
import (
"fmt"

"zikichombo.org/dsp/fft"
"github.com/zikichombo/dsp/fft"
)

// T holds state for performing n by m sized linear convolution.
Expand Down
2 changes: 1 addition & 1 deletion czt/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
// Nov 21 1968, Bell System Technical Journal, May-June 1969
//
// Package czt is part of http://zikichombo.org
package czt /* import "zikichombo.org/dsp/czt" */
package czt
4 changes: 2 additions & 2 deletions czt/t.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"math"
"math/cmplx"

"zikichombo.org/dsp/fft"
"zikichombo.org/sound/freq"
"github.com/zikichombo/dsp/fft"
"github.com/zikichombo/sound/freq"
)

type T struct {
Expand Down
10 changes: 5 additions & 5 deletions czt/t_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"math/rand"
"testing"

"zikichombo.org/dsp/fft"
"zikichombo.org/sound"
"zikichombo.org/sound/freq"
"zikichombo.org/sound/gen"
"zikichombo.org/sound/ops"
"github.com/zikichombo/dsp/fft"
"github.com/zikichombo/sound"
"github.com/zikichombo/sound/freq"
"github.com/zikichombo/sound/gen"
"github.com/zikichombo/sound/ops"
)

func TestCztFftEq(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions dct/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
// see http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.118.3056&rep=rep1&type=pdf#page=34
// and https://www.nayuki.io/page/fast-discrete-cosine-transform-algorithms
//
// Package dct is part of http://zikichombo.org
package dct /* import "zikichombo.org/dsp/dct" */
package dct
6 changes: 3 additions & 3 deletions dct/plot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"testing"
"time"

"zikichombo.org/sound/freq"
"zikichombo.org/sound/gen"
"zikichombo.org/sound/ops"
"github.com/zikichombo/sound/freq"
"github.com/zikichombo/sound/gen"
"github.com/zikichombo/sound/ops"
)

func TestPlot(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@

// Package dsp is an umbrella for audio dsp.
//
// Package dsp is part of http://zikichombo.org
package dsp /* import "zikichombo.org/dsp" */
package dsp
2 changes: 1 addition & 1 deletion fft/bin.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package fft
import (
"math"

"zikichombo.org/sound/freq"
"github.com/zikichombo/sound/freq"
)

// FreqBin gives the DFT frequency bin of frequency a in
Expand Down
2 changes: 1 addition & 1 deletion fft/bin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"testing"

"zikichombo.org/sound/freq"
"github.com/zikichombo/sound/freq"
)

type tstCfg struct {
Expand Down
4 changes: 2 additions & 2 deletions fft/dilate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"math/cmplx"
"testing"

"zikichombo.org/sound/freq"
"zikichombo.org/sound/sndbuf"
"github.com/zikichombo/sound/freq"
"github.com/zikichombo/sound/sndbuf"
)

func TestDilate(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion fft/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
// only interface uses the complex interface for half-sized inputs together
// with some O(N) pre/post processing.
//
package fft /* import "zikichombo.org/dsp/fft" */
package fft
2 changes: 1 addition & 1 deletion fft/r2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math"
"testing"

"zikichombo.org/sound/freq"
"github.com/zikichombo/sound/freq"
)

func gnr() []complex128 {
Expand Down
4 changes: 2 additions & 2 deletions fft/s.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"math/cmplx"
"os"

"zikichombo.org/dsp/mathutil/qitp"
"zikichombo.org/sound/sample"
"github.com/zikichombo/dsp/mathutil/qitp"
"github.com/zikichombo/sound/sample"
)

// S provides convenience wrappers around a ft spectrum.
Expand Down
2 changes: 1 addition & 1 deletion fft/s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"os"
"testing"

"zikichombo.org/sound/freq"
"github.com/zikichombo/sound/freq"
)

func TestPeaks(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion fft/t_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"math/rand"
"testing"

"zikichombo.org/sound/freq"
"github.com/zikichombo/sound/freq"
)

func TestR2(t *testing.T) {
Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module zikichombo.org/dsp
module github.com/zikichombo/dsp

require zikichombo.org/sound v0.2.0-alpha.3
go 1.17

require github.com/zikichombo/sound v0.2.1 // indirect
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/zikichombo/sound v0.2.1 h1:QkrADAG+59C/iyB2bu4FWrq3hhnep6geYVjWElelFHs=
github.com/zikichombo/sound v0.2.1/go.mod h1:5hxLHw/ZMixN32dsks+21p6WBAI81qKpSBSkLvYLmPU=
zikichombo.org/sound v0.2.0-alpha.3 h1:lYMD6gyZC30oYobYy7VNzExjQv+BQw/Y4+Cd+zgQNKQ=
zikichombo.org/sound v0.2.0-alpha.3/go.mod h1:akiZR7uLjsosCVBmP0t0hqsOgZ7iydYzjz92wFK2pLQ=
4 changes: 1 addition & 3 deletions lpc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@
//
// Package lpc does not yet support line spectral frequencies or
// conversion to other coefficient representations.
//
// Package lpc is part of http://zikichombo.org
package lpc /* import "zikichombo.org/dsp/lpc" */
package lpc
4 changes: 2 additions & 2 deletions lpc/t_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"math"
"testing"

"zikichombo.org/sound/freq"
"zikichombo.org/sound/gen"
"github.com/zikichombo/sound/freq"
"github.com/zikichombo/sound/gen"
)

func TestLpc(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion mathutil/qitp/abc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math/rand"
"testing"

"zikichombo.org/dsp/mathutil/qitp"
"github.com/zikichombo/dsp/mathutil/qitp"
)

func TestAbc(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions mathutil/qitp/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2018 The ZikiChombo Authors. All rights reserved. Use of this source
// code is governed by a license that can be found in the License file.

// Package qitp implements quadratic interpolation.
package qitp /* import "zikichombo.org/dsp/mathutil/qitp" */
package qitp
8 changes: 4 additions & 4 deletions resample/ct.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"io"
"math"

"zikichombo.org/dsp/wfn"
"zikichombo.org/sound"
"zikichombo.org/sound/cil"
"zikichombo.org/sound/freq"
"github.com/zikichombo/dsp/wfn"
"github.com/zikichombo/sound"
"github.com/zikichombo/sound/cil"
"github.com/zikichombo/sound/freq"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions resample/ct_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"math"
"testing"

"zikichombo.org/sound/freq"
"zikichombo.org/sound/gen"
"zikichombo.org/sound/ops"
"github.com/zikichombo/sound/freq"
"github.com/zikichombo/sound/gen"
"github.com/zikichombo/sound/ops"
)

func TestCDefaultMonoChan(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions resample/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
// a window size W = ceil(S/R) before decreasing the sample rate if you do not
// have access to or knowledge about low pass filtering design.
//
// Package resample is part of http://zikichombo.org
//
// BUG(wsc) the shift size, effecting interpolation order limits and
// latency of implementations is constant (64 frames).
package resample /* import "zikichombo.org/dsp/resample" */
package resample
2 changes: 1 addition & 1 deletion resample/itp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package resample
import (
"math"

"zikichombo.org/dsp/wfn"
"github.com/zikichombo/dsp/wfn"
)

// Itper provides an interface for an interpolator.
Expand Down
2 changes: 1 addition & 1 deletion resample/itp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"math/rand"
"testing"

"zikichombo.org/dsp/wfn"
"github.com/zikichombo/dsp/wfn"
)

var d = []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1, 0,
Expand Down
3 changes: 1 addition & 2 deletions wfn/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@

// Package wfn provides support for time windowing functions.
//
// Package wfn is part of http://zikichombo.org
package wfn /* import "zikichombo.org/dsp/wfn" */
package wfn

0 comments on commit 2541cbf

Please sign in to comment.