Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file chooseer for stereo fails on both dash and comma together #32

Open
rcrath opened this issue Nov 21, 2024 · 0 comments
Open

file chooseer for stereo fails on both dash and comma together #32

rcrath opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rcrath
Copy link
Owner

rcrath commented Nov 21, 2024

Available channels:
1. Mid (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Mid.wav)
2. Side (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Side.wav)
3. Left (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Left.wav)
4. Right (rreplay - 141025 04-short\tmp\cpy\rreplay - 141025 04-short_Right.wav)

Enter the numbers of the channels to proceed with (e.g., 1,2 or 1-4, default=1): 1-2,4
Traceback (most recent call last):
  File "E:\Dropbox\audio\wavetables\wavetabler\src\a_wvtbl.py", line 78, in <module>
    main()
  File "E:\Dropbox\audio\wavetables\wavetabler\src\a_wvtbl.py", line 74, in main
    process_single_file(file_name)
  File "E:\Dropbox\audio\wavetables\wavetabler\src\a_wvtbl.py", line 43, in process_single_file
    processed_channel_files = cc_channels.run()  # This will return the processed files
                              ^^^^^^^^^^^^^^^^^
  File "E:\Dropbox\audio\wavetables\wavetabler\src\cc_channels.py", line 117, in run
    selected_channels = choose_channels(channel_files)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "E:\Dropbox\audio\wavetables\wavetabler\src\cc_channels.py", line 88, in choose_channels
    start, end = map(int, selections.split('-'))
    ^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '2,4'

(wvtbl_win) E:\Dropbox\audio\wavetables\wavetabler
@rcrath rcrath self-assigned this Nov 21, 2024
@rcrath rcrath added the bug Something isn't working label Nov 21, 2024
@rcrath rcrath added this to the working alpha milestone Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant