Hello.
I use Audacity 2.1.1 under Windows 8.
I try to use the plug-in “Sample Data Import”. It does not work.
I think that it is necessary to note very exactly the address of the file where is stored the file “sample-data.txt”.
My question is the following one: can he have spaces in the name of a file there?
For example: C:/Users/…(my name)… /Documents/Mes travaux personnels/Audacity/sample-data.txt
And not /Mestravauxpersonnels/
Hello.
Thank you for your answer.
I verified:
_ i try to import in a mono track.
_ When I exported a .txt file in “Sample Data Export” I selected “to linear” at the level of the option “Measurement scale”. I have selected “Sample list (txt)” also.
_ I edited this file to delete the header.
_ When I try to import this file in a track mono I write:(C:\Users\… (my name)…\… \sample-data.txt") or (s-read “C:\Users\… (my name)…\ … \sample-data.txt”)Nothing takes place in Audacity.
If I click "deboger ", the message is:
error: bad argument type - NIL
Function: #<Subr-CLOSE: #d7fc720>
Arguments:
NIL
Function: #<FSubr-LET: #d7f99e0>
Arguments:
(RESULT)
(SETQ FP (OPEN FILE :DIRECTION :INPUT))
(DO ((VAL (READ-LINE FP) (READ-LINE FP))) ((NOT VAL)) (SETQ VAL (READ (MAKE-STRING-INPUT-STREAM VAL))) (SETF RESULT (PUSH VAL RESULT)))
(CLOSE FP)
(REVERSE RESULT)
Function: #<Closure-GET-DATA: #d7f8fb0>
Function: #<FSubr-SETQ: #d7ff170>
Arguments:
MYLIST
(GET-DATA)
1> error: unbound variable - MYLIST
if continued: try evaluating symbol again
Function: #<FSubr-SETQ: #d7ff170>
Arguments:
LEN
(LENGTH MYLIST)
Function: #<Subr-CLOSE: #d7fc720>
Arguments:
NIL
Function: #<FSubr-LET: #d7f99e0>
Arguments:
(RESULT)
(SETQ FP (OPEN FILE :DIRECTION :INPUT))
(DO ((VAL (READ-LINE FP) (READ-LINE FP))) ((NOT VAL)) (SETQ VAL (READ (MAKE-STRING-INPUT-STREAM VAL))) (SETF RESULT (PUSH VAL RESULT)))
(CLOSE FP)
(REVERSE RESULT)
Function: #<Closure-GET-DATA: #d7f8fb0>
Function: #<FSubr-SETQ: #d7ff170>
Arguments:
MYLIST
(GET-DATA)
2> #<Object: #d7f8d20>
2> #<Object: #d7f8d20>
2> SOUND-FROM-TEXT
2> #<Sound: #52e9b48>
2> 1>
Thank you for your help.
It does not still work.
My question is the following one: is it necessary to place at the beginning, and at the end of the path of the file “sample-data.txt” , quotation marks (")?
For exemple: “C: Users… (my name)…DocumentsMes travaux personnelsAudacitysample-data.txt”
Hello.
Under Windows 8, it is necessary to write the path with slashes.
For exemple:
C:/Users/… (my name)… /Documents/Mes travaux personnels/Audacity/sample-data1.txt
The problem is solved.
Thank you.