Skip to content

Commit 00f737e

Browse files
authored
Merge pull request #2684 from sonic-pi-net/v3.3.1-dev
V3.3.1 dev
2 parents b1c717f + 1c3777c commit 00f737e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+173
-5262
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# History
2+
* [v3.3.1 'Beamer'](#v3.3.1), 1st Feb, 2021
23
* [v3.3 'Beam'](#v3.3), 28th Jan, 2021
34
* [v3.2.2 'Tau3'](#v3.2.2), 5th April, 2020
45
* [v3.2.1 'Take Tau'](#v3.2.1), 3rd April, 2020
@@ -22,6 +23,22 @@
2223
* [v2.0.1](#v2.0.1), 9th Sept, 2014
2324
* [v2.0 'Phoenix'](#v2.0), 2nd Sept, 2014
2425

26+
<a name="v3.3.1"></a>
27+
28+
## Version 3.3.1 - 'Beamer'
29+
1st Feb, 2021
30+
[(view commits)](https://github.com/sonic-pi-net/sonic-pi/commits/v3.3.1):
31+
32+
This is a compatibility release addressing two issues with macOS Big Sur:
33+
34+
1. Correct language translations now used based on user's current locale
35+
2. The language server is no longer killed by macOS Gatekeeper when a
36+
sample's onset times are queried.
37+
38+
This release also includes minor translation updates.
39+
40+
41+
2542
<a name="v3.3"></a>
2643

2744
## Version 3.3.0 - 'Beam'

CONTRIBUTORS.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -224,19 +224,18 @@ In addition to the Sonic Pi Core Team, we would like to extend our
224224
thanks to the following developers who have donated their time and
225225
effort to help grow and improve the Sonic Pi code base:
226226

227-
228-
* [Sam Aaron](https://github.com/samaaron/sonic-pi/commits?author=samaaron) (5546)
229-
* [Ethan Crawford](https://github.com/samaaron/sonic-pi/commits?author=ethancrawford) (259)
227+
* [Sam Aaron](https://github.com/samaaron/sonic-pi/commits?author=samaaron) (5565)
228+
* [Ethan Crawford](https://github.com/samaaron/sonic-pi/commits?author=ethancrawford) (262)
230229
* [Joseph Wilk](https://github.com/samaaron/sonic-pi/commits?author=josephwilk) (160)
231230
* [Hanno Zulla](https://github.com/samaaron/sonic-pi/commits?author=hzulla) (127)
232231
* [Jeremy Weatherford](https://github.com/samaaron/sonic-pi/commits?author=jweather) (127)
233232
* [Xavier Riley](https://github.com/samaaron/sonic-pi/commits?author=xavriley) (106)
234233
* [Adrian Cheater](https://github.com/samaaron/sonic-pi/commits?author=factoid) (74)
235-
* [Robin Newman](https://github.com/samaaron/sonic-pi/commits?author=rbnpi) (64)
234+
* [Robin Newman](https://github.com/samaaron/sonic-pi/commits?author=rbnpi) (68)
236235
* [Emlyn Corrin](https://github.com/samaaron/sonic-pi/commits?author=emlyn) (62)
237236
* [SunderB](https://github.com/samaaron/sonic-pi/commits?author=SunderB) (56)
238237
* [Martin Keegan](https://github.com/samaaron/sonic-pi/commits?author=mk270) (48)
239-
* [Chris Maughan](https://github.com/samaaron/sonic-pi/commits?author=cmaughan) (44)
238+
* [Chris Maughan](https://github.com/samaaron/sonic-pi/commits?author=cmaughan) (46)
240239
* [Luis Lloret](https://github.com/samaaron/sonic-pi/commits?author=llloret) (39)
241240
* [Nicolas Dermine](https://github.com/samaaron/sonic-pi/commits?author=nicoder) (37)
242241
* [Nikolaus Gradwohl](https://github.com/samaaron/sonic-pi/commits?author=ngradwohl) (30)
@@ -379,8 +378,8 @@ The following volunteers have generously helped to translate Sonic Pi into addit
379378
* Hanno Zulla (119)
380379
* Sam Aaron (87)
381380
* Nico Staelens (83)
382-
* Nicolas Dermine (80)
383-
* Olivier Humbert (50)
381+
* Nicolas Dermine (81)
382+
* Olivier Humbert (51)
384383
* Cindy Dallaire (48)
385384
* Pau Monfort (39)
386385
* Olympia Brikis (37)
@@ -392,22 +391,22 @@ The following volunteers have generously helped to translate Sonic Pi into addit
392391
* Ricardo Pozo (23)
393392
* Yann Pavlenko (22)
394393
* Giovanni Mori (21)
394+
* Emlyn Corrin (18)
395395
* Ruben Tobalina (18)
396-
* Emlyn Corrin (16)
396+
* Nicolas Le Bellier (15)
397397
* Wolfgang Werner (14)
398398
* Allan Nordhøy (13)
399399
* G. Martin Butz (12)
400-
* Nicolas Le Bellier (12)
401400
* Álvaro Cáceres Muñoz (12)
402401
* Hong Lees (11)
403402
* Ole Friis Østergaard (11)
404403
* Nicolas Limage (10)
405404
* Elena Ogaderova (9)
405+
* Kristjan Räts (9)
406406
* Oto Popis (9)
407407
* Tiago Morais Morgado (9)
408408
* Yaron Shahrabani (9)
409409
* Daniele Paradiso (8)
410-
* Kristjan Räts (8)
411410
* Ole Erik Yrvin (8)
412411
* Rekc@h (8)
413412
* Yang Wanjun (8)
@@ -446,6 +445,7 @@ The following volunteers have generously helped to translate Sonic Pi into addit
446445
* Nur Sodik (5)
447446
* Sebastian Stahn (5)
448447
* Suleyman Poyraz (5)
448+
* Alex Esc (4)
449449
* André Klöpfel (4)
450450
* ArtyomIsFlash (4)
451451
* Dahlia Sager (4)
@@ -582,7 +582,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit
582582
* Ai Doan (1)
583583
* Alejandro Sánchez Medina (1)
584584
* Alessandro Kiefer (1)
585-
* Alex Esc (1)
586585
* Anderson Freitas B. da Silva (1)
587586
* Andras Nemeth (1)
588587
* Andrey Raspopov (1)
@@ -599,6 +598,7 @@ The following volunteers have generously helped to translate Sonic Pi into addit
599598
* Bruno Arakaki (1)
600599
* Burak Tufekci (1)
601600
* Carlos David Perales Cejudo (1)
601+
* Cattice (1)
602602
* Cedric Frossard (1)
603603
* Cem Kaan Kösali (1)
604604
* Cem Olcay (1)

app/external/aubio/CMakeLists.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.12)
22

33
project(aubio-5)
44
set(SOURCE_ROOT ${CMAKE_CURRENT_LIST_DIR}/src)
5+
set(EXAMPLES_ROOT ${CMAKE_CURRENT_LIST_DIR}/examples)
56

67
set(SOURCES
78
${SOURCE_ROOT}/exports.def
@@ -122,11 +123,23 @@ set(SOURCES
122123
${SOURCE_ROOT}/utils/windll.c
123124
)
124125

125-
add_library(${PROJECT_NAME} SHARED ${SOURCES} ${RESOURCES}) # Win32 ignored on non-windows
126+
add_library(${PROJECT_NAME} STATIC ${SOURCES} ${RESOURCES}) # Win32 ignored on non-windows
126127
target_include_directories(${PROJECT_NAME}
127128
PRIVATE
128129
src
129130
${LIBSNDFILE_INCLUDE_DIR}
131+
)
132+
133+
add_executable(aubio_onset
134+
${EXAMPLES_ROOT}/aubioonset.c
135+
${EXAMPLES_ROOT}/utils.c)
136+
137+
target_link_libraries(aubio_onset PRIVATE ${PROJECT_NAME})
138+
139+
target_include_directories(aubio_onset
140+
PRIVATE
141+
src
142+
${LIBSNDFILE_INCLUDE_DIR}
130143
)
131144

132145
# 'lib' is appended to the library name automatically on most non-Windows platforms
@@ -206,6 +219,7 @@ target_compile_definitions(${PROJECT_NAME}
206219
-DHAVE_SWRESAMPLE
207220
-DHAVE_MEMCPY_HACKS
208221
-DHAVE_SNDFILE
222+
-DHAVE_CONFIG
209223
#-DHAVE_ACCELERATE
210224
#-DHAVE_INTEL_IPP (needs intel lib)
211225
#-DHAVE_SAMPLERATE (needs extra lib in path)

app/external/aubio/examples/config.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#pragma once
2+
3+
#define HAVE_STDLIB_H 1
4+
#define HAVE_STDIO_H 1
5+
#define HAVE_STRING_H 1
6+
#define HAVE_MATH_H 1
7+
#define HAVE_ERRNO_H 1
8+
#define HAVE_LIMITS_H 1
9+
#define HAVE_STDARG_H 1
10+
#define HAVE_MEMCPY_HACKS 1
11+
#define HAVE_C99_VARARGS_MACROS 1
12+
13+
#ifdef WIN32
14+
#define HAVE_WIN_HACKS 1
15+
#else
16+
#define HAVE_UNISTD_H 1
17+
#endif

app/external/aubio/examples/utils.c

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,22 @@ int usejack = 0;
3838
char_t *sink_uri = NULL;
3939
char_t *source_uri = NULL;
4040
// general stuff
41+
42+
// Use defaults as found in the original aubio Ruby gem
43+
// to match existing behaviour:
44+
// [:window_size] 1024
45+
// [:hop_size] 512
46+
// [:onset_threshold] 0.3
47+
// [:minioi_ms] 12.0 (ms)
48+
49+
4150
uint_t samplerate = 0;
42-
uint_t buffer_size = 512;
43-
uint_t hop_size = 256;
51+
uint_t buffer_size = 1024;
52+
uint_t hop_size = 512;
4453
// onset stuff
4554
char_t * onset_method = "default";
46-
smpl_t onset_threshold = 0.0; // will be set if != 0.
47-
smpl_t onset_minioi = 0.0; // will be set if != 0.
55+
smpl_t onset_threshold = 0.3; // will be set if != 0.
56+
smpl_t onset_minioi = 0.012; // will be set if != 0.
4857
// pitch stuff
4958
char_t * pitch_unit = "default";
5059
char_t * pitch_method = "default";

app/external/linux_build_externals.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ cmake -DERLANG_INCLUDE_PATH=${ERLANG_INCLUDE_PATH} -G "Unix Makefiles" ..
1212

1313
echo "Building sp_midi..."
1414
cmake --build . --target sp_midi
15-
16-
if [ "$1" = "--build-aubio" ]; then
17-
echo "Building aubio..."
18-
cmake --build . --target aubio
19-
fi
15+
cmake --build . --target aubio
2016

2117
cd "${SCRIPT_DIR}"

app/external/mac_build_externals.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ cmake -G "Unix Makefiles" -D ERLANG_INCLUDE_PATH="${SCRIPT_DIR}/../../prebuilt/m
1111

1212
echo "Building sp_midi..."
1313
cmake --build . --target sp_midi
14-
15-
16-
if [ "$1" = "--build-aubio" ]; then
17-
echo "Building aubio..."
18-
cmake --build . --target aubio
19-
fi
14+
echo "Building aubio onset..."
15+
cmake --build . --target aubio
2016

2117
cd "${SCRIPT_DIR}"

app/gui/qt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ message(STATUS " CMakeLists: Sonic Pi")
55
project("Sonic Pi"
66
LANGUAGES CXX C
77
DESCRIPTION "A code-based music creation and performance tool"
8-
VERSION 3.3.0
8+
VERSION 3.3.1
99
HOMEPAGE_URL "https://sonic-pi.net"
1010
)
1111

app/gui/qt/html/doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
code_as <span class="highlight">:art</span></pre>
1616
</p>
1717

18-
<p class="version">v3.3.0</p>
18+
<p class="version">v3.3.1</p>
1919

2020
</center>
2121

app/gui/qt/html/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929

3030
<br/>
3131

32-
<p class="version">v3.3.0</p>
32+
<p class="version">v3.3.1</p>
3333
</center>
3434
</body>

0 commit comments

Comments
 (0)