Skip to content

Instantly share code, notes, and snippets.

View mryssng's full-sized avatar

mryssng mryssng

View GitHub Profile
@kamiyaowl
kamiyaowl / compressor_on_pynq_z2.py
Last active January 29, 2020 16:59
PYNQ-Z2のPython上でコンプレッサーを実装してみた https://twitter.com/kamiya_owl/status/1221425698029498368
from pynq.overlays.base import BaseOverlay
base = BaseOverlay("base.bit", download=False)
# あとでグラフに書きたい場合はtrue
is_debug_capture = True
l_src_arr = []
r_src_arr = []
l_dst_arr = []
r_dst_arr = []
@retorillo
retorillo / 2016-01-07-getdevicecaps-returns-96.md
Last active April 21, 2024 08:03
GetDeviceCapsが常にDPI96を返す問題と解決方法について

GetDeviceCapsが常にDPI96を返す問題と解決方法について

このドキュメントについて

このドキュメントは次の環境で記述されていますが、 他の開発環境でもほぼ同様の考え方で問題なく使えます。

  • オペレーシングシステム:Windows 10 (Windows Vista以降が必要)
  • 対応言語: C / C++ / C#
  • 対応コンパイラ: gccまたはg++ (minGW) / csc
/// <summary>
/// Wrapper for GDI text rendering functions<br/>
/// This class is not thread-safe as GDI function should be called from the UI thread.
/// </summary>
/// <remarks>
/// http://theartofdev.com/2013/08/12/using-native-gdi-for-text-rendering-in-c/<br/>
/// The MIT License (MIT) Copyright (c) 2014 Arthur Teplitzki.
/// </remarks>
public sealed class NativeTextRenderer : IDisposable
{
@endolith
endolith / LICENSE.txt
Last active November 19, 2023 08:53
Python implementation of "Cookbook formulae for audio EQ biquad filter coefficients"
MIT License
Copyright (c) 2019 endolith
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: