<commit_before>class Ooscili
{
	float si, phase, *array, dur;
	int length;

public:
	Ooscili(float, int);
	Ooscili(float, float*);
	Ooscili(float, float*, int);
	float next();
	float next(int);
	void setfreq(float);
	void setphase(float);
	int getlength();
	float getdur();
};

class Orand
{
	long rand_x;

public:
	Orand();
	Orand(int);
	void seed(int);
	void timeseed();
	float random();
	float rand();
	float range(float, float);
};

class Instrument;

class Ortgetin
{
	Instrument *theInst;
	int chns, rsamps, chptr;
	float *in;

public:
	Ortgetin(Instrument*);
	int next(float*);
};<commit_msg>New Ozdelay, Ocomb, Ozcomb objects.<commit_after>/* RTcmix - Copyright (C) 2004  The RTcmix Development Team
   See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for
   the license to this software and for a DISCLAIMER OF ALL WARRANTIES.
*/

class Ooscili
{
	float si, phase, *array, dur;
	int length;

public:
	Ooscili(float, int);
	Ooscili(float, float*);
	Ooscili(float, float*, int);
	float next();
	float next(int);
	void setfreq(float);
	void setphase(float);
	int getlength();
	float getdur();
};

class Orand
{
	long rand_x;

public:
	Orand();
	Orand(int);
	void seed(int);
	void timeseed();
	float random();
	float rand();
	float range(float, float);
};

class Ozdelay
{
public:
	Ozdelay(long maxLength);
	~Ozdelay();
	void clear();
	void putsamp(float samp);
	float getsamp(double lagsamps);
	void setdelay(double lagsamps);
	float next(float input);
	float last() { return _lastout; }
private:
	float *_dline;
	long _maxlen;
	long _inpoint;
	long _outpoint;
	double _frac;
	float _lastout;
};

class Ocomb
{
public:
	Ocomb(float loopTime, float reverbTime);
	Ocomb(float loopTime, float maxLoopTime, float reverbTime);
	~Ocomb();
	void clear();
	void setReverbTime(float reverbTime);
	float next(float input);
	float next(float input, int delaySamps);
private:
	void init(float loopTime, float maxLoopTime, float reverbTime);
	float *_dline;
	int _len;
	int _delsamps;
	float _gain;
	int _pointer;
};

class Ozcomb
{
public:
	Ozcomb(float loopTime, float maxLoopTime, float reverbTime);
	~Ozcomb();
	void clear();
	void setReverbTime(float reverbTime);
	float next(float input, float delaySamps);
private:
	Ozdelay *_delay;
	float _gain;
	float _lastout;
	float _delsamps;
};


class Instrument;

class Ortgetin
{
	Instrument *theInst;
	int chns, rsamps, chptr;
	float *in;

public:
	Ortgetin(Instrument*);
	int next(float*);
};
{'fraction_non_alphanumeric': 0.12908496732026145, 'fraction_numerical': 0.0016339869281045752, 'mean_word_length': 5.017199017199017, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1253729', 'n_tokens_mistral': 935, 'n_tokens_neox': 916, 'n_words': 272}