Disable a tuning library API which is unused and non-RT

This commit is contained in:
Jean Pierre Cimalando 2020-06-10 23:39:37 +02:00
parent d3a3dbd184
commit d434132fd7
2 changed files with 4 additions and 0 deletions

View file

@ -133,12 +133,14 @@ namespace Tunings
*/
Scale evenTemperament12NoteScale();
#if 0 // Note(jpc): not rewritten RT-safe, not used, disabled
/**
* evenDivisionOfSpanByM provides a scale referd to as "ED2-17" or
* "ED3-24" by dividing the Span into M points. eventDivisionOfSpanByM(2,12)
* should be the evenTemperament12NoteScale
*/
Scale evenDivisionOfSpanByM( int Span, int M );
#endif
/**
* readKBMStream returns a KeyboardMapping from a KBM input stream

View file

@ -159,6 +159,7 @@ namespace Tunings
return res;
}
#if 0
Scale evenDivisionOfSpanByM( int Span, int M )
{
if( Span <= 0 )
@ -182,6 +183,7 @@ namespace Tunings
return parseSCLData( oss.str() );
}
#endif
KeyboardMapping readKBMStream(std::istream &inf)
{