TheSoundOfAIOSR / project_common

Common environment for all groups to connect to other groups with a relative path
MIT License
9 stars 5 forks source link

rg_production - can't play - failed to open file #52

Open wassfila opened 2 years ago

wassfila commented 2 years ago

after recording and generating, pressing play has no effect and the following error is logged on the rg_production window

The directory D:\Dev\SoundHacking\project_common\rg_production\generated_sample contains files from 40.wav till 88.wav and e2.wav but no audition_sample.wav

[←[1;32mINFO←[0m   ] [Logger      ] Record log in C:\Users\User\.kivy\logs\kivy_21-11-20_0.txt
[←[1;32mINFO←[0m   ] [deps        ] Successfully imported "kivy_deps.angle" 0.3.0
[←[1;32mINFO←[0m   ] [deps        ] Successfully imported "kivy_deps.glew" 0.3.0
[←[1;32mINFO←[0m   ] [deps        ] Successfully imported "kivy_deps.sdl2" 0.3.1
[←[1;32mINFO←[0m   ] [Kivy        ] v2.0.0
[←[1;32mINFO←[0m   ] [Kivy        ] Installed at "D:\Dev\SoundHacking\project_common\rg_production\venv\lib\site-packages\kivy\__init__.py"
[←[1;32mINFO←[0m   ] [Python      ] v3.8.10 (tags/v3.8.10:3d8993a, May  3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
[←[1;32mINFO←[0m   ] [Python      ] Interpreter at "D:\Dev\SoundHacking\project_common\rg_production\venv\Scripts\python.exe"
[←[1;32mINFO←[0m   ] [Factory     ] 186 symbols loaded
[←[1;32mINFO←[0m   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[←[1;32mINFO←[0m   ] [Window      ] Provider: sdl2
[←[1;32mINFO←[0m   ] [GL          ] Using the "OpenGL" graphics system
[←[1;32mINFO←[0m   ] [GL          ] GLEW initialization succeeded
[←[1;32mINFO←[0m   ] [GL          ] Backend used <glew>
[←[1;32mINFO←[0m   ] [GL          ] OpenGL version <b'4.6.13596 Compatibility Profile Context 20.10.35.02 27.20.1034.6'>
[←[1;32mINFO←[0m   ] [GL          ] OpenGL vendor <b'ATI Technologies Inc.'>
[←[1;32mINFO←[0m   ] [GL          ] OpenGL renderer <b'Radeon RX 580 Series'>
[←[1;32mINFO←[0m   ] [GL          ] OpenGL parsed version: 4, 6
[←[1;32mINFO←[0m   ] [GL          ] Shading version <b'4.60'>
[←[1;32mINFO←[0m   ] [GL          ] Texture max size <16384>
[←[1;32mINFO←[0m   ] [GL          ] Texture max units <32>
[←[1;32mINFO←[0m   ] [Window      ] auto add sdl2 input provider
[←[1;32mINFO←[0m   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[←[1;32mINFO←[0m   ] [Text        ] Provider: sdl2
init Csound
0dBFS level = 32768.0
--Csound version 6.15 (double samples) Aug 13 2020
[commit: 18c2c7897425f462b9a7743cee157cb410c88198]
libsndfile-1.0.29pre1
****************
D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav
****************
STARTING FILE
Creating options
Creating orchestra
closing tag
Creating score
rtaudio: PortAudio module enabled ...
using callback interface
graphics suppressed, ascii substituted
0dBFS level = 1.0
chnl 1 using instr 1
chnl 2 using instr 1
chnl 3 using instr 1
chnl 4 using instr 1
chnl 5 using instr 1
chnl 6 using instr 1
chnl 7 using instr 1
chnl 8 using instr 1
chnl 9 using instr 1
chnl 10 using instr 1
chnl 11 using instr 1
chnl 12 using instr 1
chnl 13 using instr 1
chnl 14 using instr 1
chnl 15 using instr 1
chnl 16 using instr 1
orch now loaded
audio buffered in 1024 sample-frame blocks
PortAudio V19.6.0-devel, revision unknown
   0: dac0 (Microsoft Sound Mapper - Output [MME])
   1: dac1 (Kopfh├Ârer (Plantronics C325-M) [MME])
   2: dac2 (1 - Acer T272HL (AMD High Defin [MME])
   3: dac3 (3 - U28D590 (AMD High Definitio [MME])
   4: dac4 (Primary Sound Driver [Windows DirectSound])
   5: dac5 (Kopfh├Ârer (Plantronics C325-M) [Windows DirectSound])
   6: dac6 (1 - Acer T272HL (AMD High Definition Audio Device) [Windows Di)
   7: dac7 (3 - U28D590 (AMD High Definition Audio Device) [Windows Direct)
   8: dac8 (1 - Acer T272HL (AMD High Definition Audio Device) [Windows WA)
   9: dac9 (Kopfh├Ârer (Plantronics C325-M) [Windows WASAPI])
  10: dac10 (3 - U28D590 (AMD High Definition Audio Device) [Windows WASAPI)
  11: dac11 (Output (AMD HD Audio HDMI out #0) [Windows WDM-KS])
  12: dac12 (Output (AMD HD Audio DP out #2) [Windows WDM-KS])
  13: dac13 (Kopfh├Ârer () [Windows WDM-KS])
  14: dac14 (Kopfh├Ârer (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free A)
  15: dac15 (Kopfh├Ârer (Plantronics C325-M) [Windows WDM-KS])
  16: dac16 (Lautsprecher () [Windows WDM-KS])
  17: dac17 (Kopfh├Ârer (@System32\drivers\bthhfenum.sys,#2;%1 Hands-Free A)
PortAudio: selected output device 'Microsoft Sound Mapper - Output'
writing 2048 sample blks of 64-bit floats to dac0
SECTION 1:
Setting up stt...
Setting up tts...
Setting up sg...
[←[1;32mINFO←[0m   ] [GL          ] NPOT texture support is available
[←[1;32mINFO←[0m   ] [Base        ] Start application main loop
  rtevent:         T147.806 TT147.806 M:  0.00000  0.00000
new alloc for instr 1:
INIT ERROR in instr 1 (opcode filenchnls) line 179: diskinfo cannot open D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav
 from file *string* (1)
inchs   filenchnls      Sname   1
INIT ERROR in instr 1 (opcode diskin2) line 189: diskin2: D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav: failed to open file (No Error.)
 from file *string* (1)
aLeft   aRight  diskin2 Sname   ipb     0       0       0       0       0       0       0
                   T147.806 - note deleted.  i1 had 2 init errors
  rtevent:         T162.307 TT162.307 M:  0.00000  0.00000
INIT ERROR in instr 1 (opcode filenchnls) line 179: diskinfo cannot open D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav
 from file *string* (1)
inchs   filenchnls      Sname   1
INIT ERROR in instr 1 (opcode diskin2) line 189: diskin2: D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav: failed to open file (No Error.)
 from file *string* (1)
aLeft   aRight  diskin2 Sname   ipb     0       0       0       0       0       0       0
                   T162.307 - note deleted.  i1 had 2 init errors
  rtevent:         T176.319 TT176.319 M:  0.00000  0.00000
INIT ERROR in instr 1 (opcode filenchnls) line 179: diskinfo cannot open D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav
 from file *string* (1)
inchs   filenchnls      Sname   1
INIT ERROR in instr 1 (opcode diskin2) line 189: diskin2: D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav: failed to open file (No Error.)
 from file *string* (1)
aLeft   aRight  diskin2 Sname   ipb     0       0       0       0       0       0       0
                   T176.319 - note deleted.  i1 had 2 init errors
  rtevent:         T433.933 TT433.933 M:  0.00000  0.00000
INIT ERROR in instr 1 (opcode filenchnls) line 179: diskinfo cannot open D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav
 from file *string* (1)
inchs   filenchnls      Sname   1
INIT ERROR in instr 1 (opcode diskin2) line 189: diskin2: D:/Dev/SoundHacking/project_common/rg_production/generated_sample/audition_sample.wav: failed to open file (No Error.)
 from file *string* (1)
aLeft   aRight  diskin2 Sname   ipb     0       0       0       0       0       0       0
                   T433.933 - note deleted.  i1 had 2 init errors
Leofltt commented 2 years ago

It looks like you did generate and not audition, there's no audition sample when you generate so you're supposed to used the virtual keyboard not play

Leofltt commented 2 years ago

If that's annoying would be easy to generate an audition sample also on generate since it's the same as 40.wav

wassfila commented 2 years ago

I see, that is not an issue then, it can be part of the documentation or in the future we can gray out the buttons that are not supposed to be used. So I would say this is not a bug, it is doc and can be an enhancement.