mirror of
https://github.com/airwindows/airwindows.git
synced 2026-05-15 14:16:00 -06:00
Clarifying Licensing in boilerplate code generation
This commit is contained in:
parent
dfb1b1f4fe
commit
f06250c082
7129 changed files with 133504 additions and 8856 deletions
|
|
@ -25,6 +25,7 @@ add_airwindows_plugin(BassAmp)
|
|||
add_airwindows_plugin(BassDrive)
|
||||
add_airwindows_plugin(BassKit)
|
||||
add_airwindows_plugin(Baxandall)
|
||||
add_airwindows_plugin(Baxandall2)
|
||||
add_airwindows_plugin(Beam)
|
||||
add_airwindows_plugin(BigAmp)
|
||||
add_airwindows_plugin(Biquad)
|
||||
|
|
@ -140,6 +141,7 @@ add_airwindows_plugin(FathomFive)
|
|||
add_airwindows_plugin(FireAmp)
|
||||
add_airwindows_plugin(Flipity)
|
||||
add_airwindows_plugin(Floor)
|
||||
add_airwindows_plugin(Flutter)
|
||||
add_airwindows_plugin(Focus)
|
||||
add_airwindows_plugin(Fracture)
|
||||
add_airwindows_plugin(FromTape)
|
||||
|
|
@ -159,6 +161,7 @@ add_airwindows_plugin(HighImpact)
|
|||
add_airwindows_plugin(Highpass)
|
||||
add_airwindows_plugin(Highpass2)
|
||||
add_airwindows_plugin(Holt)
|
||||
add_airwindows_plugin(Holt2)
|
||||
add_airwindows_plugin(Hombre)
|
||||
add_airwindows_plugin(Hull)
|
||||
add_airwindows_plugin(Hype)
|
||||
|
|
@ -213,6 +216,7 @@ add_airwindows_plugin(PDBuss)
|
|||
add_airwindows_plugin(PDChannel)
|
||||
add_airwindows_plugin(PhaseNudge)
|
||||
add_airwindows_plugin(PitchDelay)
|
||||
add_airwindows_plugin(PitchNasty)
|
||||
add_airwindows_plugin(PocketVerbs)
|
||||
add_airwindows_plugin(Pockey)
|
||||
add_airwindows_plugin(Pockey2)
|
||||
|
|
@ -220,6 +224,7 @@ add_airwindows_plugin(Podcast)
|
|||
add_airwindows_plugin(PodcastDeluxe)
|
||||
add_airwindows_plugin(Point)
|
||||
add_airwindows_plugin(Pop)
|
||||
add_airwindows_plugin(Pop2)
|
||||
add_airwindows_plugin(PowerSag)
|
||||
add_airwindows_plugin(PowerSag2)
|
||||
add_airwindows_plugin(Precious)
|
||||
|
|
@ -279,6 +284,8 @@ add_airwindows_plugin(TapeDelay2)
|
|||
add_airwindows_plugin(TapeDither)
|
||||
add_airwindows_plugin(TapeDust)
|
||||
add_airwindows_plugin(TapeFat)
|
||||
add_airwindows_plugin(Texturize)
|
||||
add_airwindows_plugin(TexturizeMS)
|
||||
add_airwindows_plugin(Thunder)
|
||||
add_airwindows_plugin(ToneSlant)
|
||||
add_airwindows_plugin(ToTape5)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* ADClip7 - ADClip7.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __ADClip7_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* ADClip7 - ADClip7.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __ADClip7_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* ADClip7 - ADClip7.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __ADClip7_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* ADT - ADT.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __ADT_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* ADT - ADT.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __ADT_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* ADT - ADT.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __ADT_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AQuickVoiceClip - AQuickVoiceClip.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AQuickVoiceClip_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* AQuickVoiceClip - AQuickVoiceClip.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AQuickVoiceClip_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AQuickVoiceClip - AQuickVoiceClip.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AQuickVoiceClip_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Acceleration - Acceleration.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Acceleration_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Acceleration - Acceleration.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Acceleration_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Acceleration - Acceleration.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Acceleration_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Acceleration2 - Acceleration2.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Acceleration2_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Acceleration2 - Acceleration2.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Acceleration2_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Acceleration2 - Acceleration2.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Acceleration2_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Air - Air.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Air_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Air - Air.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Air_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Air - Air.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Air_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Air2 - Air2.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Air2_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Air2 - Air2.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Air2_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Air2 - Air2.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Air2_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Apicolypse - Apicolypse.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Apicolypse_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Apicolypse - Apicolypse.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Apicolypse_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Apicolypse - Apicolypse.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Apicolypse_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AtmosphereBuss - AtmosphereBuss.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AtmosphereBuss_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* AtmosphereBuss - AtmosphereBuss.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AtmosphereBuss_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AtmosphereBuss - AtmosphereBuss.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AtmosphereBuss_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AtmosphereChannel - AtmosphereChannel.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AtmosphereChannel_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* AtmosphereChannel - AtmosphereChannel.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AtmosphereChannel_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AtmosphereChannel - AtmosphereChannel.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AtmosphereChannel_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Aura - Aura.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Aura_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Aura - Aura.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Aura_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Aura - Aura.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Aura_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AutoPan - AutoPan.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AutoPan_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* AutoPan - AutoPan.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AutoPan_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AutoPan - AutoPan.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AutoPan_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AverMatrix - AverMatrix.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AverMatrix_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* AverMatrix - AverMatrix.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AverMatrix_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* AverMatrix - AverMatrix.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __AverMatrix_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Average - Average.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Average_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Average - Average.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Average_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Average - Average.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Average_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Balanced - Balanced.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Balanced_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Balanced - Balanced.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Balanced_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Balanced - Balanced.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Balanced_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BassAmp - BassAmp.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassAmp_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BassAmp - BassAmp.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassAmp_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BassAmp - BassAmp.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassAmp_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BassDrive - BassDrive.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassDrive_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BassDrive - BassDrive.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassDrive_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BassDrive - BassDrive.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassDrive_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BassKit - BassKit.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassKit_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BassKit - BassKit.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassKit_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BassKit - BassKit.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BassKit_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Baxandall - Baxandall.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Baxandall_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Baxandall - Baxandall.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Baxandall_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Baxandall - Baxandall.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Baxandall_H
|
||||
|
|
|
|||
138
plugins/LinuxVST/src/Baxandall2/Baxandall2.cpp
Executable file
138
plugins/LinuxVST/src/Baxandall2/Baxandall2.cpp
Executable file
|
|
@ -0,0 +1,138 @@
|
|||
/* ========================================
|
||||
* Baxandall2 - Baxandall2.h
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Baxandall2_H
|
||||
#include "Baxandall2.h"
|
||||
#endif
|
||||
|
||||
AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new Baxandall2(audioMaster);}
|
||||
|
||||
Baxandall2::Baxandall2(audioMasterCallback audioMaster) :
|
||||
AudioEffectX(audioMaster, kNumPrograms, kNumParameters)
|
||||
{
|
||||
A = 0.5;
|
||||
B = 0.5;
|
||||
for (int x = 0; x < 9; x++) {
|
||||
trebleAL[x] = 0.0;
|
||||
trebleBL[x] = 0.0;
|
||||
bassAL[x] = 0.0;
|
||||
bassBL[x] = 0.0;
|
||||
trebleAR[x] = 0.0;
|
||||
trebleBR[x] = 0.0;
|
||||
bassAR[x] = 0.0;
|
||||
bassBR[x] = 0.0;
|
||||
}
|
||||
flip = false;
|
||||
fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX;
|
||||
fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX;
|
||||
//this is reset: values being initialized only once. Startup values, whatever they are.
|
||||
|
||||
_canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect.
|
||||
_canDo.insert("plugAsSend"); // plug-in can be used as a send effect.
|
||||
_canDo.insert("x2in2out");
|
||||
setNumInputs(kNumInputs);
|
||||
setNumOutputs(kNumOutputs);
|
||||
setUniqueID(kUniqueId);
|
||||
canProcessReplacing(); // supports output replacing
|
||||
canDoubleReplacing(); // supports double precision processing
|
||||
programsAreChunks(true);
|
||||
vst_strncpy (_programName, "Default", kVstMaxProgNameLen); // default program name
|
||||
}
|
||||
|
||||
Baxandall2::~Baxandall2() {}
|
||||
VstInt32 Baxandall2::getVendorVersion () {return 1000;}
|
||||
void Baxandall2::setProgramName(char *name) {vst_strncpy (_programName, name, kVstMaxProgNameLen);}
|
||||
void Baxandall2::getProgramName(char *name) {vst_strncpy (name, _programName, kVstMaxProgNameLen);}
|
||||
//airwindows likes to ignore this stuff. Make your own programs, and make a different plugin rather than
|
||||
//trying to do versioning and preventing people from using older versions. Maybe they like the old one!
|
||||
|
||||
static float pinParameter(float data)
|
||||
{
|
||||
if (data < 0.0f) return 0.0f;
|
||||
if (data > 1.0f) return 1.0f;
|
||||
return data;
|
||||
}
|
||||
|
||||
VstInt32 Baxandall2::getChunk (void** data, bool isPreset)
|
||||
{
|
||||
float *chunkData = (float *)calloc(kNumParameters, sizeof(float));
|
||||
chunkData[0] = A;
|
||||
chunkData[1] = B;
|
||||
/* Note: The way this is set up, it will break if you manage to save settings on an Intel
|
||||
machine and load them on a PPC Mac. However, it's fine if you stick to the machine you
|
||||
started with. */
|
||||
|
||||
*data = chunkData;
|
||||
return kNumParameters * sizeof(float);
|
||||
}
|
||||
|
||||
VstInt32 Baxandall2::setChunk (void* data, VstInt32 byteSize, bool isPreset)
|
||||
{
|
||||
float *chunkData = (float *)data;
|
||||
A = pinParameter(chunkData[0]);
|
||||
B = pinParameter(chunkData[1]);
|
||||
/* We're ignoring byteSize as we found it to be a filthy liar */
|
||||
|
||||
/* calculate any other fields you need here - you could copy in
|
||||
code from setParameter() here. */
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Baxandall2::setParameter(VstInt32 index, float value) {
|
||||
switch (index) {
|
||||
case kParamA: A = value; break;
|
||||
case kParamB: B = value; break;
|
||||
default: throw; // unknown parameter, shouldn't happen!
|
||||
}
|
||||
}
|
||||
|
||||
float Baxandall2::getParameter(VstInt32 index) {
|
||||
switch (index) {
|
||||
case kParamA: return A; break;
|
||||
case kParamB: return B; break;
|
||||
default: break; // unknown parameter, shouldn't happen!
|
||||
} return 0.0; //we only need to update the relevant name, this is simple to manage
|
||||
}
|
||||
|
||||
void Baxandall2::getParameterName(VstInt32 index, char *text) {
|
||||
switch (index) {
|
||||
case kParamA: vst_strncpy (text, "Treble", kVstMaxParamStrLen); break;
|
||||
case kParamB: vst_strncpy (text, "Bass", kVstMaxParamStrLen); break;
|
||||
default: break; // unknown parameter, shouldn't happen!
|
||||
} //this is our labels for displaying in the VST host
|
||||
}
|
||||
|
||||
void Baxandall2::getParameterDisplay(VstInt32 index, char *text) {
|
||||
switch (index) {
|
||||
case kParamA: float2string ((A*48.0)-24.0, text, kVstMaxParamStrLen); break;
|
||||
case kParamB: float2string ((B*48.0)-24.0, text, kVstMaxParamStrLen); break;
|
||||
default: break; // unknown parameter, shouldn't happen!
|
||||
} //this displays the values and handles 'popups' where it's discrete choices
|
||||
}
|
||||
|
||||
void Baxandall2::getParameterLabel(VstInt32 index, char *text) {
|
||||
switch (index) {
|
||||
case kParamA: vst_strncpy (text, "dB", kVstMaxParamStrLen); break;
|
||||
case kParamB: vst_strncpy (text, "dB", kVstMaxParamStrLen); break;
|
||||
default: break; // unknown parameter, shouldn't happen!
|
||||
}
|
||||
}
|
||||
|
||||
VstInt32 Baxandall2::canDo(char *text)
|
||||
{ return (_canDo.find(text) == _canDo.end()) ? -1: 1; } // 1 = yes, -1 = no, 0 = don't know
|
||||
|
||||
bool Baxandall2::getEffectName(char* name) {
|
||||
vst_strncpy(name, "Baxandall2", kVstMaxProductStrLen); return true;
|
||||
}
|
||||
|
||||
VstPlugCategory Baxandall2::getPlugCategory() {return kPlugCategEffect;}
|
||||
|
||||
bool Baxandall2::getProductString(char* text) {
|
||||
vst_strncpy (text, "airwindows Baxandall2", kVstMaxProductStrLen); return true;
|
||||
}
|
||||
|
||||
bool Baxandall2::getVendorString(char* text) {
|
||||
vst_strncpy (text, "airwindows", kVstMaxVendorStrLen); return true;
|
||||
}
|
||||
78
plugins/LinuxVST/src/Baxandall2/Baxandall2.h
Executable file
78
plugins/LinuxVST/src/Baxandall2/Baxandall2.h
Executable file
|
|
@ -0,0 +1,78 @@
|
|||
/* ========================================
|
||||
* Baxandall2 - Baxandall2.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Baxandall2_H
|
||||
#define __Baxandall2_H
|
||||
|
||||
#ifndef __audioeffect__
|
||||
#include "audioeffectx.h"
|
||||
#endif
|
||||
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <math.h>
|
||||
|
||||
enum {
|
||||
kParamA = 0,
|
||||
kParamB = 1,
|
||||
kNumParameters = 2
|
||||
}; //
|
||||
|
||||
const int kNumPrograms = 0;
|
||||
const int kNumInputs = 2;
|
||||
const int kNumOutputs = 2;
|
||||
const unsigned long kUniqueId = 'baxb'; //Change this to what the AU identity is!
|
||||
|
||||
class Baxandall2 :
|
||||
public AudioEffectX
|
||||
{
|
||||
public:
|
||||
Baxandall2(audioMasterCallback audioMaster);
|
||||
~Baxandall2();
|
||||
virtual bool getEffectName(char* name); // The plug-in name
|
||||
virtual VstPlugCategory getPlugCategory(); // The general category for the plug-in
|
||||
virtual bool getProductString(char* text); // This is a unique plug-in string provided by Steinberg
|
||||
virtual bool getVendorString(char* text); // Vendor info
|
||||
virtual VstInt32 getVendorVersion(); // Version number
|
||||
virtual void processReplacing (float** inputs, float** outputs, VstInt32 sampleFrames);
|
||||
virtual void processDoubleReplacing (double** inputs, double** outputs, VstInt32 sampleFrames);
|
||||
virtual void getProgramName(char *name); // read the name from the host
|
||||
virtual void setProgramName(char *name); // changes the name of the preset displayed in the host
|
||||
virtual VstInt32 getChunk (void** data, bool isPreset);
|
||||
virtual VstInt32 setChunk (void* data, VstInt32 byteSize, bool isPreset);
|
||||
virtual float getParameter(VstInt32 index); // get the parameter value at the specified index
|
||||
virtual void setParameter(VstInt32 index, float value); // set the parameter at index to value
|
||||
virtual void getParameterLabel(VstInt32 index, char *text); // label for the parameter (eg dB)
|
||||
virtual void getParameterName(VstInt32 index, char *text); // name of the parameter
|
||||
virtual void getParameterDisplay(VstInt32 index, char *text); // text description of the current value
|
||||
virtual VstInt32 canDo(char *text);
|
||||
private:
|
||||
char _programName[kVstMaxProgNameLen + 1];
|
||||
std::set< std::string > _canDo;
|
||||
|
||||
uint32_t fpdL;
|
||||
uint32_t fpdR;
|
||||
//default stuff
|
||||
double trebleAL[9];
|
||||
double trebleBL[9];
|
||||
double bassAL[9];
|
||||
double bassBL[9];
|
||||
|
||||
double trebleAR[9];
|
||||
double trebleBR[9];
|
||||
double bassAR[9];
|
||||
double bassBR[9];
|
||||
bool flip;
|
||||
|
||||
float A;
|
||||
float B;
|
||||
float C;
|
||||
float D;
|
||||
float E; //parameters. Always 0-1, and we scale/alter them elsewhere.
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
238
plugins/LinuxVST/src/Baxandall2/Baxandall2Proc.cpp
Executable file
238
plugins/LinuxVST/src/Baxandall2/Baxandall2Proc.cpp
Executable file
|
|
@ -0,0 +1,238 @@
|
|||
/* ========================================
|
||||
* Baxandall2 - Baxandall2.h
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Baxandall2_H
|
||||
#include "Baxandall2.h"
|
||||
#endif
|
||||
|
||||
void Baxandall2::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames)
|
||||
{
|
||||
float* in1 = inputs[0];
|
||||
float* in2 = inputs[1];
|
||||
float* out1 = outputs[0];
|
||||
float* out2 = outputs[1];
|
||||
|
||||
double trebleGain = pow(10.0,((A*48.0)-24.0)/20.0);
|
||||
double trebleFreq = (4410.0*trebleGain)/getSampleRate();
|
||||
if (trebleFreq > 0.45) trebleFreq = 0.45;
|
||||
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
|
||||
double bassGain = pow(10.0,((B*48.0)-24.0)/20.0);
|
||||
double bassFreq = pow(10.0,-((B*48.0)-24.0)/20.0);
|
||||
bassFreq = (8820.0*bassFreq)/getSampleRate();
|
||||
if (bassFreq > 0.45) bassFreq = 0.45;
|
||||
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
|
||||
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
|
||||
bassAL[1] = bassBL[1] = bassAR[1] = bassBR[1] = 0.2;
|
||||
|
||||
double K = tan(M_PI * trebleAL[0]);
|
||||
double norm = 1.0 / (1.0 + K / trebleAL[1] + K * K);
|
||||
trebleBL[2] = trebleAL[2] = trebleBR[2] = trebleAR[2] = K * K * norm;
|
||||
trebleBL[3] = trebleAL[3] = trebleBR[3] = trebleAR[3] = 2.0 * trebleAL[2];
|
||||
trebleBL[4] = trebleAL[4] = trebleBR[4] = trebleAR[4] = trebleAL[2];
|
||||
trebleBL[5] = trebleAL[5] = trebleBR[5] = trebleAR[5] = 2.0 * (K * K - 1.0) * norm;
|
||||
trebleBL[6] = trebleAL[6] = trebleBR[6] = trebleAR[6] = (1.0 - K / trebleAL[1] + K * K) * norm;
|
||||
|
||||
K = tan(M_PI * bassAL[0]);
|
||||
norm = 1.0 / (1.0 + K / bassAL[1] + K * K);
|
||||
bassBL[2] = bassAL[2] = bassBR[2] = bassAR[2] = K * K * norm;
|
||||
bassBL[3] = bassAL[3] = bassBR[3] = bassAR[3] = 2.0 * bassAL[2];
|
||||
bassBL[4] = bassAL[4] = bassBR[4] = bassAR[4] = bassAL[2];
|
||||
bassBL[5] = bassAL[5] = bassBR[5] = bassAR[5] = 2.0 * (K * K - 1.0) * norm;
|
||||
bassBL[6] = bassAL[6] = bassBR[6] = bassAR[6] = (1.0 - K / bassAL[1] + K * K) * norm;
|
||||
|
||||
while (--sampleFrames >= 0)
|
||||
{
|
||||
double inputSampleL = *in1;
|
||||
double inputSampleR = *in2;
|
||||
if (fabs(inputSampleL)<1.18e-23) inputSampleL = fpdL * 1.18e-17;
|
||||
if (fabs(inputSampleR)<1.18e-23) inputSampleR = fpdR * 1.18e-17;
|
||||
|
||||
double trebleSampleL;
|
||||
double bassSampleL;
|
||||
double trebleSampleR;
|
||||
double bassSampleR;
|
||||
|
||||
if (flip)
|
||||
{
|
||||
trebleSampleL = (inputSampleL * trebleAL[2]) + trebleAL[7];
|
||||
trebleAL[7] = (inputSampleL * trebleAL[3]) - (trebleSampleL * trebleAL[5]) + trebleAL[8];
|
||||
trebleAL[8] = (inputSampleL * trebleAL[4]) - (trebleSampleL * trebleAL[6]);
|
||||
trebleSampleL = inputSampleL - trebleSampleL;
|
||||
|
||||
bassSampleL = (inputSampleL * bassAL[2]) + bassAL[7];
|
||||
bassAL[7] = (inputSampleL * bassAL[3]) - (bassSampleL * bassAL[5]) + bassAL[8];
|
||||
bassAL[8] = (inputSampleL * bassAL[4]) - (bassSampleL * bassAL[6]);
|
||||
|
||||
trebleSampleR = (inputSampleR * trebleAR[2]) + trebleAR[7];
|
||||
trebleAR[7] = (inputSampleR * trebleAR[3]) - (trebleSampleR * trebleAR[5]) + trebleAR[8];
|
||||
trebleAR[8] = (inputSampleR * trebleAR[4]) - (trebleSampleR * trebleAR[6]);
|
||||
trebleSampleR = inputSampleR - trebleSampleR;
|
||||
|
||||
bassSampleR = (inputSampleR * bassAR[2]) + bassAR[7];
|
||||
bassAR[7] = (inputSampleR * bassAR[3]) - (bassSampleR * bassAR[5]) + bassAR[8];
|
||||
bassAR[8] = (inputSampleR * bassAR[4]) - (bassSampleR * bassAR[6]);
|
||||
}
|
||||
else
|
||||
{
|
||||
trebleSampleL = (inputSampleL * trebleBL[2]) + trebleBL[7];
|
||||
trebleBL[7] = (inputSampleL * trebleBL[3]) - (trebleSampleL * trebleBL[5]) + trebleBL[8];
|
||||
trebleBL[8] = (inputSampleL * trebleBL[4]) - (trebleSampleL * trebleBL[6]);
|
||||
trebleSampleL = inputSampleL - trebleSampleL;
|
||||
|
||||
bassSampleL = (inputSampleL * bassBL[2]) + bassBL[7];
|
||||
bassBL[7] = (inputSampleL * bassBL[3]) - (bassSampleL * bassBL[5]) + bassBL[8];
|
||||
bassBL[8] = (inputSampleL * bassBL[4]) - (bassSampleL * bassBL[6]);
|
||||
|
||||
trebleSampleR = (inputSampleR * trebleBR[2]) + trebleBR[7];
|
||||
trebleBR[7] = (inputSampleR * trebleBR[3]) - (trebleSampleR * trebleBR[5]) + trebleBR[8];
|
||||
trebleBR[8] = (inputSampleR * trebleBR[4]) - (trebleSampleR * trebleBR[6]);
|
||||
trebleSampleR = inputSampleR - trebleSampleR;
|
||||
|
||||
bassSampleR = (inputSampleR * bassBR[2]) + bassBR[7];
|
||||
bassBR[7] = (inputSampleR * bassBR[3]) - (bassSampleR * bassBR[5]) + bassBR[8];
|
||||
bassBR[8] = (inputSampleR * bassBR[4]) - (bassSampleR * bassBR[6]);
|
||||
}
|
||||
flip = !flip;
|
||||
|
||||
trebleSampleL *= trebleGain;
|
||||
bassSampleL *= bassGain;
|
||||
inputSampleL = bassSampleL + trebleSampleL; //interleaved biquad
|
||||
trebleSampleR *= trebleGain;
|
||||
bassSampleR *= bassGain;
|
||||
inputSampleR = bassSampleR + trebleSampleR; //interleaved biquad
|
||||
|
||||
//begin 32 bit stereo floating point dither
|
||||
int expon; frexpf((float)inputSampleL, &expon);
|
||||
fpdL ^= fpdL << 13; fpdL ^= fpdL >> 17; fpdL ^= fpdL << 5;
|
||||
inputSampleL += ((double(fpdL)-uint32_t(0x7fffffff)) * 5.5e-36l * pow(2,expon+62));
|
||||
frexpf((float)inputSampleR, &expon);
|
||||
fpdR ^= fpdR << 13; fpdR ^= fpdR >> 17; fpdR ^= fpdR << 5;
|
||||
inputSampleR += ((double(fpdR)-uint32_t(0x7fffffff)) * 5.5e-36l * pow(2,expon+62));
|
||||
//end 32 bit stereo floating point dither
|
||||
|
||||
*out1 = inputSampleL;
|
||||
*out2 = inputSampleR;
|
||||
|
||||
in1++;
|
||||
in2++;
|
||||
out1++;
|
||||
out2++;
|
||||
}
|
||||
}
|
||||
|
||||
void Baxandall2::processDoubleReplacing(double **inputs, double **outputs, VstInt32 sampleFrames)
|
||||
{
|
||||
double* in1 = inputs[0];
|
||||
double* in2 = inputs[1];
|
||||
double* out1 = outputs[0];
|
||||
double* out2 = outputs[1];
|
||||
|
||||
double trebleGain = pow(10.0,((A*48.0)-24.0)/20.0);
|
||||
double trebleFreq = (4410.0*trebleGain)/getSampleRate();
|
||||
if (trebleFreq > 0.45) trebleFreq = 0.45;
|
||||
trebleAL[0] = trebleBL[0] = trebleAR[0] = trebleBR[0] = trebleFreq;
|
||||
double bassGain = pow(10.0,((B*48.0)-24.0)/20.0);
|
||||
double bassFreq = pow(10.0,-((B*48.0)-24.0)/20.0);
|
||||
bassFreq = (8820.0*bassFreq)/getSampleRate();
|
||||
if (bassFreq > 0.45) bassFreq = 0.45;
|
||||
bassAL[0] = bassBL[0] = bassAR[0] = bassBR[0] = bassFreq;
|
||||
trebleAL[1] = trebleBL[1] = trebleAR[1] = trebleBR[1] = 0.4;
|
||||
bassAL[1] = bassBL[1] = bassAR[1] = bassBR[1] = 0.2;
|
||||
|
||||
double K = tan(M_PI * trebleAL[0]);
|
||||
double norm = 1.0 / (1.0 + K / trebleAL[1] + K * K);
|
||||
trebleBL[2] = trebleAL[2] = trebleBR[2] = trebleAR[2] = K * K * norm;
|
||||
trebleBL[3] = trebleAL[3] = trebleBR[3] = trebleAR[3] = 2.0 * trebleAL[2];
|
||||
trebleBL[4] = trebleAL[4] = trebleBR[4] = trebleAR[4] = trebleAL[2];
|
||||
trebleBL[5] = trebleAL[5] = trebleBR[5] = trebleAR[5] = 2.0 * (K * K - 1.0) * norm;
|
||||
trebleBL[6] = trebleAL[6] = trebleBR[6] = trebleAR[6] = (1.0 - K / trebleAL[1] + K * K) * norm;
|
||||
|
||||
K = tan(M_PI * bassAL[0]);
|
||||
norm = 1.0 / (1.0 + K / bassAL[1] + K * K);
|
||||
bassBL[2] = bassAL[2] = bassBR[2] = bassAR[2] = K * K * norm;
|
||||
bassBL[3] = bassAL[3] = bassBR[3] = bassAR[3] = 2.0 * bassAL[2];
|
||||
bassBL[4] = bassAL[4] = bassBR[4] = bassAR[4] = bassAL[2];
|
||||
bassBL[5] = bassAL[5] = bassBR[5] = bassAR[5] = 2.0 * (K * K - 1.0) * norm;
|
||||
bassBL[6] = bassAL[6] = bassBR[6] = bassAR[6] = (1.0 - K / bassAL[1] + K * K) * norm;
|
||||
|
||||
while (--sampleFrames >= 0)
|
||||
{
|
||||
double inputSampleL = *in1;
|
||||
double inputSampleR = *in2;
|
||||
if (fabs(inputSampleL)<1.18e-23) inputSampleL = fpdL * 1.18e-17;
|
||||
if (fabs(inputSampleR)<1.18e-23) inputSampleR = fpdR * 1.18e-17;
|
||||
|
||||
double trebleSampleL;
|
||||
double bassSampleL;
|
||||
double trebleSampleR;
|
||||
double bassSampleR;
|
||||
|
||||
if (flip)
|
||||
{
|
||||
trebleSampleL = (inputSampleL * trebleAL[2]) + trebleAL[7];
|
||||
trebleAL[7] = (inputSampleL * trebleAL[3]) - (trebleSampleL * trebleAL[5]) + trebleAL[8];
|
||||
trebleAL[8] = (inputSampleL * trebleAL[4]) - (trebleSampleL * trebleAL[6]);
|
||||
trebleSampleL = inputSampleL - trebleSampleL;
|
||||
|
||||
bassSampleL = (inputSampleL * bassAL[2]) + bassAL[7];
|
||||
bassAL[7] = (inputSampleL * bassAL[3]) - (bassSampleL * bassAL[5]) + bassAL[8];
|
||||
bassAL[8] = (inputSampleL * bassAL[4]) - (bassSampleL * bassAL[6]);
|
||||
|
||||
trebleSampleR = (inputSampleR * trebleAR[2]) + trebleAR[7];
|
||||
trebleAR[7] = (inputSampleR * trebleAR[3]) - (trebleSampleR * trebleAR[5]) + trebleAR[8];
|
||||
trebleAR[8] = (inputSampleR * trebleAR[4]) - (trebleSampleR * trebleAR[6]);
|
||||
trebleSampleR = inputSampleR - trebleSampleR;
|
||||
|
||||
bassSampleR = (inputSampleR * bassAR[2]) + bassAR[7];
|
||||
bassAR[7] = (inputSampleR * bassAR[3]) - (bassSampleR * bassAR[5]) + bassAR[8];
|
||||
bassAR[8] = (inputSampleR * bassAR[4]) - (bassSampleR * bassAR[6]);
|
||||
}
|
||||
else
|
||||
{
|
||||
trebleSampleL = (inputSampleL * trebleBL[2]) + trebleBL[7];
|
||||
trebleBL[7] = (inputSampleL * trebleBL[3]) - (trebleSampleL * trebleBL[5]) + trebleBL[8];
|
||||
trebleBL[8] = (inputSampleL * trebleBL[4]) - (trebleSampleL * trebleBL[6]);
|
||||
trebleSampleL = inputSampleL - trebleSampleL;
|
||||
|
||||
bassSampleL = (inputSampleL * bassBL[2]) + bassBL[7];
|
||||
bassBL[7] = (inputSampleL * bassBL[3]) - (bassSampleL * bassBL[5]) + bassBL[8];
|
||||
bassBL[8] = (inputSampleL * bassBL[4]) - (bassSampleL * bassBL[6]);
|
||||
|
||||
trebleSampleR = (inputSampleR * trebleBR[2]) + trebleBR[7];
|
||||
trebleBR[7] = (inputSampleR * trebleBR[3]) - (trebleSampleR * trebleBR[5]) + trebleBR[8];
|
||||
trebleBR[8] = (inputSampleR * trebleBR[4]) - (trebleSampleR * trebleBR[6]);
|
||||
trebleSampleR = inputSampleR - trebleSampleR;
|
||||
|
||||
bassSampleR = (inputSampleR * bassBR[2]) + bassBR[7];
|
||||
bassBR[7] = (inputSampleR * bassBR[3]) - (bassSampleR * bassBR[5]) + bassBR[8];
|
||||
bassBR[8] = (inputSampleR * bassBR[4]) - (bassSampleR * bassBR[6]);
|
||||
}
|
||||
flip = !flip;
|
||||
|
||||
trebleSampleL *= trebleGain;
|
||||
bassSampleL *= bassGain;
|
||||
inputSampleL = bassSampleL + trebleSampleL; //interleaved biquad
|
||||
trebleSampleR *= trebleGain;
|
||||
bassSampleR *= bassGain;
|
||||
inputSampleR = bassSampleR + trebleSampleR; //interleaved biquad
|
||||
|
||||
//begin 64 bit stereo floating point dither
|
||||
//int expon; frexp((double)inputSampleL, &expon);
|
||||
fpdL ^= fpdL << 13; fpdL ^= fpdL >> 17; fpdL ^= fpdL << 5;
|
||||
//inputSampleL += ((double(fpdL)-uint32_t(0x7fffffff)) * 1.1e-44l * pow(2,expon+62));
|
||||
//frexp((double)inputSampleR, &expon);
|
||||
fpdR ^= fpdR << 13; fpdR ^= fpdR >> 17; fpdR ^= fpdR << 5;
|
||||
//inputSampleR += ((double(fpdR)-uint32_t(0x7fffffff)) * 1.1e-44l * pow(2,expon+62));
|
||||
//end 64 bit stereo floating point dither
|
||||
|
||||
*out1 = inputSampleL;
|
||||
*out2 = inputSampleR;
|
||||
|
||||
in1++;
|
||||
in2++;
|
||||
out1++;
|
||||
out2++;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Beam - Beam.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Beam_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Beam - Beam.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Beam_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Beam - Beam.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Beam_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BigAmp - BigAmp.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Gain_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BigAmp - BigAmp.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Gain_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BigAmp - BigAmp.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Gain_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Biquad - Biquad.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Biquad_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Biquad - Biquad.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Biquad_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Biquad - Biquad.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Biquad_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Biquad2 - Biquad2.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Biquad2_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Biquad2 - Biquad2.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Biquad2_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Biquad2 - Biquad2.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Biquad2_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadDouble - BiquadDouble.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadDouble_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BiquadDouble - BiquadDouble.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadDouble_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadDouble - BiquadDouble.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadDouble_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadOneHalf - BiquadOneHalf.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadOneHalf_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BiquadOneHalf - BiquadOneHalf.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadOneHalf_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadOneHalf - BiquadOneHalf.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadOneHalf_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadPlus - BiquadPlus.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadPlus_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BiquadPlus - BiquadPlus.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadPlus_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadPlus - BiquadPlus.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadPlus_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadTriple - BiquadTriple.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadTriple_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BiquadTriple - BiquadTriple.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadTriple_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BiquadTriple - BiquadTriple.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BiquadTriple_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BitGlitter - BitGlitter.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BitGlitter_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BitGlitter - BitGlitter.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BitGlitter_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BitGlitter - BitGlitter.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BitGlitter_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BitShiftGain - BitShiftGain.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BitShiftGain_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BitShiftGain - BitShiftGain.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BitShiftGain_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BitShiftGain - BitShiftGain.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BitShiftGain_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Bite - Bite.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Bite_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* Bite - Bite.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Bite_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* Bite - Bite.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __Bite_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BlockParty - BlockParty.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BlockParty_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BlockParty - BlockParty.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BlockParty_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BlockParty - BlockParty.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BlockParty_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BrassRider - BrassRider.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BrassRider_H
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* ========================================
|
||||
* BrassRider - BrassRider.h
|
||||
* Created 8/12/11 by SPIAdmin
|
||||
* Copyright (c) 2011 __MyCompanyName__, All rights reserved
|
||||
* Copyright (c) 2011 __MyCompanyName__, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BrassRider_H
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* ========================================
|
||||
* BrassRider - BrassRider.h
|
||||
* Copyright (c) 2016 airwindows, All rights reserved
|
||||
* Copyright (c) 2016 airwindows, Airwindows uses the MIT license
|
||||
* ======================================== */
|
||||
|
||||
#ifndef __BrassRider_H
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue