r4141 - in trunk: . beast-gtk tests tests/latency tools
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: r4141 - in trunk: . beast-gtk tests tests/latency tools
- Date: Mon, 11 Dec 2006 19:27:01 -0500 (EST)
Author: timj
Date: 2006-12-11 19:26:58 -0500 (Mon, 11 Dec 2006)
New Revision: 4141
Modified:
trunk/ChangeLog
trunk/TODO
trunk/beast-gtk/bstpatterncolumns.c
trunk/tests/latency/bselatencytest.idl
trunk/tests/perftest.cc
trunk/tools/bsewavetool.cc
Log:
Mon Dec 11 00:51:36 2006 Tim Janik <timj gtk org>
* tests/perftest.cc:
* beast-gtk/bstpatterncolumns.c:
* tools/bsewavetool.cc: adapt to new tuning relative note API.
* tests/latency/bselatencytest.idl: minor fix.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-12-12 00:26:01 UTC (rev 4140)
+++ trunk/ChangeLog 2006-12-12 00:26:58 UTC (rev 4141)
@@ -1,3 +1,11 @@
+Mon Dec 11 00:51:36 2006 Tim Janik <timj gtk org>
+
+ * tests/perftest.cc:
+ * beast-gtk/bstpatterncolumns.c:
+ * tools/bsewavetool.cc: adapt to new tuning relative note API.
+
+ * tests/latency/bselatencytest.idl: minor fix.
+
Mon Dec 4 12:38:13 2006 Stefan Westerfeld <stefan space twc de>
* tools/bsewavetool.cc: Added lowpass command. Both commands: made
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2006-12-12 00:26:01 UTC (rev 4140)
+++ trunk/TODO 2006-12-12 00:26:58 UTC (rev 4141)
@@ -1,5 +1,7 @@
-- fix array list
-- remove _birnet_init_messaging
+- acbeast.m4 -> acbirnet.m4
+- bsemathsignal.c -> bsemathsignal.cc
+- change midi events to either list note + fine_tune instead of frequency, or at least preserve notes
+- reconsider musical tuning for midi devices and midi files
- adsr: + delay parameter
looping flag with threshold
max sustain time
Modified: trunk/beast-gtk/bstpatterncolumns.c
===================================================================
--- trunk/beast-gtk/bstpatterncolumns.c 2006-12-12 00:26:01 UTC (rev 4140)
+++ trunk/beast-gtk/bstpatterncolumns.c 2006-12-12 00:26:58 UTC (rev 4141)
@@ -120,7 +120,8 @@
else if (pseq->n_pnotes > 1)
return '*';
/* pseq->n_pnotes == 1 */
- ndesc = bse_server_describe_note (BSE_SERVER, pseq->pnotes[0]->note, pseq->pnotes[0]->fine_tune);
+ ndesc = bse_note_describe (BSE_MUSICAL_TUNING_12_TET, /* tuning is irrelevant if we ignore ->freq */
+ pseq->pnotes[0]->note, pseq->pnotes[0]->fine_tune);
switch (pos)
{
case 0: return ndesc->upshift ? '#' : ' ';
Modified: trunk/tests/latency/bselatencytest.idl
===================================================================
--- trunk/tests/latency/bselatencytest.idl 2006-12-12 00:26:01 UTC (rev 4140)
+++ trunk/tests/latency/bselatencytest.idl 2006-12-12 00:26:58 UTC (rev 4141)
@@ -43,7 +43,7 @@
"", STANDARD);
};
group _("MIDI setup") {
- Int midi_note = Note (_("Note"), NULL, bse_note_from_freq (BSE_KAMMER_FREQUENCY), STANDARD);
+ Int midi_note = Note (_("Note"), NULL, BSE_KAMMER_NOTE, STANDARD);
Int midi_channel = (_("Midi Output Channel"), _("The midi output device where the tester sends its events"),
1, 1, 16, 1, STANDARD);
String midi_output = (_("Midi Output Device"),
Modified: trunk/tests/perftest.cc
===================================================================
--- trunk/tests/perftest.cc 2006-12-12 00:26:01 UTC (rev 4140)
+++ trunk/tests/perftest.cc 2006-12-12 00:26:58 UTC (rev 4141)
@@ -51,7 +51,7 @@
double start = gettime ();
for(int i=0; i < max_calls; i++)
- note_to_freq (60, 0);
+ note_to_freq (MUSICAL_TUNING_EQUAL_TEMPERAMENT, 60, 0);
double t = gettime () - start;
printf ("%f seconds for %d invocations => %f invocations/second, %f milli seconds per invocation\n",
Modified: trunk/tools/bsewavetool.cc
===================================================================
--- trunk/tools/bsewavetool.cc 2006-12-12 00:26:01 UTC (rev 4140)
+++ trunk/tools/bsewavetool.cc 2006-12-12 00:26:58 UTC (rev 4141)
@@ -2134,8 +2134,8 @@
if (!note)
{
- note = bse_note_from_freq_bounded (gsl_data_handle_osc_freq (dhandle));
- cent = bse_note_fine_tune_from_note_freq (note, gsl_data_handle_osc_freq (dhandle));
+ note = bse_note_from_freq_bounded (BSE_MUSICAL_TUNING_12_TET, gsl_data_handle_osc_freq (dhandle));
+ cent = bse_note_fine_tune_from_note_freq (BSE_MUSICAL_TUNING_12_TET, note, gsl_data_handle_osc_freq (dhandle));
}
name_addon = g_strdup_printf ("%d", note);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]