Bugs item #3440430, was opened at 2011-11-20 03:29 Message generated for change (Settings changed) made by veplaini You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3440430&group_id=81968 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Opcodes Group: csound5 >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Menno (menno0) Assigned to: John ffitch (jpff) Summary: voice issue (again) Initial Comment: i thought the voice opcode was repaired a year ago but now when i came back i get the same distorted signal. This is the example ; Select audio/midi flags here according to platform -odac ;;;RT audio out ;-iadc ;;;uncomment -iadc if RT audio input is needed too ; For Non-realtime ouput leave only the line below: ; -o voice.wav -W ;;; for file output any platform sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 instr 1 kamp = .01 kfreq = 0.8 kphoneme = 2 kform = 0.488 kvibf = 0.04 kvamp = 1 ifn = 1 ivfn = 2 a1 voice kamp, kfreq, kphoneme, kform, kvibf, kvamp, ifn, ivfn ; It tends to get loud, so clip voice's amplitude at 30,000. ; a1 clip av, 2, 1 outs a1, a1 endin ; Table #1, an audio file for the carrier waveform. f 1 0 256 1 "impuls20.aiff" 0 0 0 ; Table #2, a sine wave for the vibrato waveform. f 2 0 256 10 1 ; Play Instrument #1 for a half-second. i 1 0 5 e It does not matter which phoneme i choose, it all distorts and the amplitude of voice does not have any influence. This my output: 0dBFS level = 32768.0 Csound version 5.14 beta (double samples) Nov 14 2011 STARTING FILE Creating options Creating orchestra Creating score Loading command-line libraries: /usr/local/lib/libloris.so rtaudio: ALSA module enabled RAWWAVE_PATH: /usr/local/share/csound/rawwaves/ rtmidi: PortMIDI module enabled orch compiler: 23 (24) lines read instr 1 Elapsed time at end of orchestra compile: real: 0.001s, CPU: 0.000s sorting score ... ... done Elapsed time at end of score sort: real: 0.001s, CPU: 0.000s Csound version 5.14 beta (double samples) Nov 14 2011 0dBFS level = 1.0 orch now loaded audio buffered in 256 sample-frame blocks ALSA input: total buffer size: 1024, period size: 256 reading 1024-byte blks of shorts from adc:hw:0,0 (RAW) ALSA output: total buffer size: 1024, period size: 256 writing 512 sample blks of 64-bit floats to dac:hw:0,0 SECTION 1: ftable 1: WARNING: /home/menno/csound/Samples/impuls20.aiff sr = 22050, orch sr = 44100.0 audio sr = 22050, monaural opening AIFF infile /home/menno/csound/Samples/impuls20.aiff ftable 2: new alloc for instr 1: Found Formant: eee (number 0) WARNING: Setting Phoneme: 2 0.488000 Found Formant: ehh (number 2) inactive allocs returned to freespace end of score. overall amps: 89.91018 89.91018 overall samples out of range: 108420 108420 0 errors in performance Elapsed time at end of performance: real: 2.760s, CPU: 0.220s 471 512 sample blks of 64-bit floats written to dac:hw:0,0 Menno ---------------------------------------------------------------------- >Comment By: Victor Lazzarini (veplaini) Date: 2012-01-16 08:56 Message: The amp parameter was not being used by the opcode. Now it is. Fixed in GIT. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3440430&group_id=81968 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net