|
From: <m.w...@gm...> - 2009-07-14 16:02:50
|
Am Mon, 13 Jul 2009 21:44:33 -0600 schrieb Jason Schaefer <js...@ja...>: > On Mon, Jul 13, 2009 at 9:08 PM, Gabriel M. > Beddingfield<ga...@te...> wrote: > > On Mon, 13 Jul 2009, Jason Schaefer wrote: > >> <layer> > >> <filename>julien lociuro - walk along with my soul - > >> rhodes loop MONO.wav</filename> > >> <min>0</min> > >> <max>1</max> > >> <gain>1</gain> > >> <pitch>1.2</pitch> > >> </layer> > > > > What is the sample rate on your .wav file? And what is the sample > > rate of your sound card? Hydrogen 0.9.4 resamples if they don't match. > > 0.9.3 did not. > > $hydrogen |grep rate > apparent rate = 44100 > > $file julien lociuro - walk along with my soul - rhodes > loop MONO.wav > RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 48000 Hz > > $lspci |grep Audio > 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio > Controller (rev 03) > > > > > That's not the whole story... just part of it. So, it would help to know > > what your setup is. > > > > Thanks, > > Gabriel hiho, as you already know, the real problem is not the read or write song function. the values will set correct into the instrumentlayer class. the problem is only that the fine rotary knob and the fine lcd will display wrong values after loading a song! this also happens with songs created with 0.9.4. i get no problems that the pitch rate is incorrect. i test this today with a sine 440 hz and a sine 426,918 hz wav sample. the 426,916 is 50 cents lower. my setup. 1. i create and save the testsong with 0.9.3. song settings: pitch settingsfor the 440 hz sample = pitch 0 and fine -50. pitch settings for the 426,916 hz sample = pitch 0 and fine 0. so the 440 hz sample will resample a quarter note-step down. because -50 means 50 cent down. that is ~426 hz. in the test song you can hear a long harmonic beat because i can not create so exact sine wavs. but also the long harmonic beat show us that we are really closed in tone high. 2.now reopen the song with 0.9.4. the sampler resample the correct value -50 cent or a quarter note-step down. only the fine rotary display not -50 as expected but -0.5. so. imo the problem is is in istrumenteditor gui. if the song will read the instrumenteditor don't handle the values correct to set the right rotary position. i add a 0.9.4 testsong and the needed samples. store them into your-home/sample directory. than the song will works fine. if you load the song the pitch will dosplay -0.5. but it means -50. if you start the song. you can hear the long harmonic beat what say it is correct -0 cent. rotate the fine rotary one time to minimum and maximum. no te rotary works correct. and you can restore the same harmonic beat if you set the rotary to -50 cent. greetings wolke |