Skip to content

Instantly share code, notes, and snippets.

View necauqua's full-sized avatar
💜
Didn't know you were cringe like that

Anton Bulakh necauqua

💜
Didn't know you were cringe like that
View GitHub Profile

Madison TTS funky bits

Dunk said he uses "whatever the default streamelements tts voice is". That was not enough information, so with some trial and error, I've figured out that it's Madison (English, American) voice model from the Amazon Polly TTS service.

You can test it on something like this https://lazypy.ro/tts/?voice=en-US-Wavenet-F&service=StreamElements&text=&lang=English&g=A

Compared to a legend like Brian, Madison is very hard to find workarounds/breaks/funny sounds for (or I just suck at this).

use std::{borrow::Cow, ffi::CStr};
use iced_x86::{Code, Register};
use memchr::memmem;
use crate::exe_image::ExeImage;
/// It's actually almost same as the PE timestamp I've been using, but
/// they might have some more human-readable stuff here.
pub fn find_noita_build(image: &ExeImage) -> Option<Cow<str>> {
let JSON =
https://prelude.dhall-lang.org/JSON/package.dhall
sha256:5f98b7722fd13509ef448b075e02b9ff98312ae7a406cf53ed25012dbc9990ac
let Expr/Type
: Type
= ∀(Expr : Type) →
∀ ( expr
: { ref : Natural → Expr
, get : Expr → Natural → Expr

Keybase proof

I hereby claim:

  • I am necauqua on github.
  • I am necauqua (https://keybase.io/necauqua) on keybase.
  • I have a public key ASCA-0vC6HWgsko4PBWenkAcCz8v7dI3FS3yaZY3S-8h6Qo

To claim this, I am signing this object:

local layout = require 'awful.widget.keyboardlayout'
local menubar = require 'menubar'
local kbdlayout = {
globally_preferred = 'us',
menubar_preferred = 'us',
}
local function get_idx_by_name(name)
@necauqua
necauqua / lib.rs
Created April 9, 2020 23:38
Simple macro for nice looking JNI signatures
extern crate proc_macro;
use quote::quote;
use proc_macro::TokenStream;
// this macro is dumb in a lot of ways, this is just a prototype
#[proc_macro_attribute]
pub fn java(attr: TokenStream, item: TokenStream) -> TokenStream {
let mut name = String::new();
name += "Java_";