This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
"github.com/gopherjs/gopherjs/js" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
synth "github.com/DylanMeeus/GoAudio/synthesizer" | |
"github.com/DylanMeeus/GoAudio/wave" | |
) | |
const ( | |
sr = 44100. |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.editorconfig b/.editorconfig | |
index bf9d722a..b9faf287 100644 | |
--- a/.editorconfig | |
+++ b/.editorconfig | |
@@ -1,2 +1,3 @@ | |
[*.{kt, kts}] | |
-disabled_rules = import-ordering | |
\ No newline at end of file | |
+disabled_rules = import-ordering | |
+insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
synth "github.com/DylanMeeus/GoAudio/synthesizer" | |
"github.com/DylanMeeus/GoAudio/wave" | |
"math" | |
"strconv" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
synth "github.com/DylanMeeus/GoAudio/synthesizer" | |
"github.com/DylanMeeus/GoAudio/wave" | |
"math" | |
) | |
const ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
synth "github.com/DylanMeeus/GoAudio/synthesizer" | |
wave "github.com/DylanMeeus/GoAudio/wave" | |
) | |
func main() { | |
fmt.Println("generating sound") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Plugins | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// template for altering sounfiles | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <portsf.h> | |
#include <math.h> | |
#define NFRAMES 1 | |
enum {ARG_PROGNAME, ARG_INFILE, ARG_OUTFILE, ARG_DESIREDPAN, ARG_NARGS}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
conky.config = { | |
background = true, | |
update_interval = 1.5, | |
cpu_avg_samples = 2, | |
net_avg_samples = 2, | |
out_to_console = false, | |
override_utf8_locale = true, | |
double_buffer = true, | |
no_buffers = true, | |
text_buffer_size = 32768, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package utilities | |
import ( | |
"database/sql" | |
"encoding/json" | |
log "github.com/sirupsen/logrus" | |
"net/http" | |
"reflect" | |
"time" | |
) |
NewerOlder