Page 1 of 1

Pitch shift crashes audacity

Posted: Fri Apr 22, 2011 4:07 pm
by Hoss
All the other effects seem to work but when using the pitch shift it crashes audacity on linux opensuse 11.4. Any ideas how to fix this? Maybe I can somehow install the stable release of audacity instead of the beta.

Also, when I import a song into audacity when I select the file and then pitch shift the hz reading is way off. It says like 319 instead of 440hz.

Re: Pitch shift crashes audacity

Posted: Fri Apr 22, 2011 4:44 pm
by steve
Linux generally packages a recent 1.3.x version, mostly because it is considerably more stable on Linux than the old 1.2.6 version.

What's the exact version of Audacity that you have (look in "Help menu > About Audacity")
Which exact "pitch shift" effect are you using (there is no effect in Audacity called "pitch shift", but there are a couple of effects with similar names).

Re: Pitch shift crashes audacity

Posted: Fri Apr 22, 2011 7:22 pm
by Hoss
My version of audacity is 1.3.13 beta

I can import the mp3, select>all, then go to effects>change pitch, enter the amount of change in hz, and when I hit ok the program just closes.

Re: Pitch shift crashes audacity

Posted: Fri Apr 22, 2011 8:39 pm
by steve
I'm not seeing a crash here.
Did you build Audacity from the source code?
Which exact version of Audacity are you using? (For example, "Audacity ® 1.3.14-alpha-Apr 21 2011 (Unicode), Release Build" - You may need to look at the bottom of the "Build Information" tab for the build date)
If you launch Audacity from a terminal window, do you see an error message in the terminal window after the crash?

How do I repeat exactly what you are doing? How long does the track need to be? Mono or stereo? Sample rate? What settings do I enter in the Change speed effect?

Re: Pitch shift crashes audacity

Posted: Sat Apr 23, 2011 1:40 am
by bgravato
Have you tried this with other mp3 files? Does it happen with all files or just that one?

How much ram and free disk space do you have?

Re: Pitch shift crashes audacity

Posted: Sun Apr 24, 2011 1:02 pm
by Hoss
Using Audacity 1.3.13 beta (unicode) running on opensuse 11.4. Bottom of build tab just says release build no date or anything.

To duplicate, import an mp3, edit>select>all, effect>change pitch, -8hz change, ok. Program just closes. Happens with any mp3 I try.

I have plenty of storage but only 512mb ram

Opened from terminal after crash I get:

ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib setup.c:344:(snd_config_get_ctl_elem_value) bad value type
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Expression 'stream->capture.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3857
Expression 'ret' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1035
Expression 'AlsaOpen( &alsaApi->baseHostApiRep, params, streamDir, &self->pcm )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1192
Expression 'PaAlsaStreamComponent_Initialize( &self->capture, alsaApi, inParams, StreamDirection_In, NULL != callback )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1433
Expression 'PaAlsaStream_Initialize( stream, alsaHostApi, inputParameters, outputParameters, sampleRate, framesPerBuffer, callback, streamFlags, userData )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2105
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 3875
Expression '*idev = open( idevName, flags )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 811
Expression 'OpenDevices( idevName, odevName, &idev, &odev )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 857
Expression 'PaOssStream_Initialize( stream, inputParameters, outputParameters, streamCallback, userData, streamFlags, ossHostApi )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 1234

Re: Pitch shift crashes audacity

Posted: Sun Apr 24, 2011 3:52 pm
by steve
Hoss wrote:effect>change pitch, -8hz change,
I don't see where you're putting in "-8hz"
Change Pitch.png
Change Pitch.png (29.78 KiB) Viewed 2712 times