Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
starscouts committed Oct 27, 2024
1 parent ae163bd commit b43ef58
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions base.sds
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
%Srdr-1.3

'
' Surrounder base scene file
' Spatial Creator base scene file
'
' This is the primary scene file tested during development
' of Surrounder. It produces 5.1 surround output from stereo
' of Spatial Creator. It produces 5.1 surround output from stereo
' input.
'

Expand Down
4 changes: 2 additions & 2 deletions base_71.sds
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
%Srdr-1.3

'
' Surrounder base scene file
' Spatial Creator base scene file
'
' This is the secondary scene file tested during development
' of Surrounder. It produces 7.1 surround output from stereo
' of Spatial Creator. It produces 7.1 surround output from stereo
' input.
'

Expand Down
4 changes: 2 additions & 2 deletions base_atmos.sds
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
%Srdr-1.3

'
' Surrounder Dolby Atmos scene file
' Spatial Creator Dolby Atmos scene file
'
' This is the scene file tested for Atmos during development
' of Surrounder. It produces Atmos 7.1.4 output from stereo
' of Spatial Creator. It produces Atmos 7.1.4 output from stereo
' input.
'

Expand Down
2 changes: 1 addition & 1 deletion constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def value_to_constant(value, filter_str=None):

return keys[0]

Version = "1.0.0"
Version = "1.0.1"

Versions = [
"1.0",
Expand Down
12 changes: 6 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import json

parser = argparse.ArgumentParser(
prog='surrounder',
prog='spatial-creator',
description='Turning stereo music into surround or Dolby Atmos',
epilog='Copyright (c) Equestria.dev Developers')
epilog='Copyright (c) Floofi Systems')

parser.add_argument('input')
parser.add_argument('scene')
Expand Down Expand Up @@ -51,13 +51,13 @@
version = lines[0].split("-")[1]

if version not in Versions:
print(f"This version of Surrounder does not support this Scene file. Supported versions: {', '.join(Versions)}")
print(f"This version of Spatial Creator does not support this Scene file. Supported versions: {', '.join(Versions)}")
exit(1)

if Versions.index(version) == len(Versions) - 1:
print(f"Surrounder {Version}, using Scene specification version {version} (native)")
print(f"Floofi Spatial Creator {Version}, using Scene specification version {version} (native)")
else:
print(f"Surrounder {Version}, using Scene specification version {version} (compatibility)")
print(f"Floofi Spatial Creator {Version}, using Scene specification version {version} (compatibility)")

operations = []

Expand Down Expand Up @@ -598,7 +598,7 @@
*extra_args,
f"./srdr_work/final{extension}"
], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
os.rename(f"./srdr_work/final{extension}", os.path.splitext(input_file)[0] + f"_surrounder{extension}")
os.rename(f"./srdr_work/final{extension}", os.path.splitext(input_file)[0] + f"_fsc{extension}")
case _:
print(f"Invalid or unsupported command in this version: {name}")
exit(2)

0 comments on commit b43ef58

Please sign in to comment.